Bug 11214 - Не компилируется linux/futex.h
Summary: Не компилируется linux/futex.h
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: glibc-kernheaders (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Dmitry V. Levin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-26 15:52 MSD by Kirill A. Shutemov
Modified: 2007-04-15 20:17 MSD (History)
3 users (show)

See Also:


Attachments
log (47.45 KB, text/plain)
2007-03-26 15:52 MSD, Kirill A. Shutemov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kirill A. Shutemov 2007-03-26 15:52:24 MSD
> man 2 futex:
<skip/>
#include <linux/futex.h>

#include <sys/time.h>

int futex(int *uaddr, int op, int val, const struct
        timespec *timeout, int *uaddr2, int val3);
<skip/>
> cat test.c
#include <linux/futex.h>
#include <sys/time.h>
int main(void)
{
        return 0;
}
> gcc test.c 2>log
> echo $?
1

log приаттачен.
Comment 1 Kirill A. Shutemov 2007-03-26 15:52:46 MSD
Created attachment 1876 [details]
log
Comment 2 Dmitry V. Levin 2007-04-15 03:34:19 MSD
Спасибо, теперь компилируется.