serge@ubuntu:~/test$ cat fail.c
#include <stdio.h>

#include <linux/fcntl.h>  /* for AT_EMPTY_PATH */
#include <fcntl.h>

int main()
{
        printf("hello, world\n");
}
serge@ubuntu:~/test$ make fail
cc     fail.c   -o fail
In file included from /usr/include/fcntl.h:34:0,
                 from fail.c:4:
/usr/include/x86_64-linux-gnu/bits/fcntl.h:168:8: error: redefinition of 
‘struct flock’
/usr/include/asm-generic/fcntl.h:167:8: note: originally defined here
make: *** [fail] Error 1


** Changed in: eglibc (Ubuntu)
       Status: Incomplete => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/933045

Title:
  headers incompatible with eglibc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/933045/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to