[Bug 933045] Re: headers incompatible with eglibc
Serge Hallyn
933045 at bugs.launchpad.net
Wed Feb 22 00:15:54 UTC 2012
serge at 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 at 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
Foundations Bugs, which is subscribed to eglibc in Ubuntu.
https://bugs.launchpad.net/bugs/933045
Title:
headers incompatible with eglibc
Status in “eglibc” package in Ubuntu:
New
Status in “linux” package in Ubuntu:
Triaged
Bug description:
/usr/include/asm-generic/fcntl.h:127:8: error: redefinition of 'struct f_owner_ex'
/usr/include/x86_64-linux-gnu/bits/fcntl.h:204:8: note: originally defined here
/usr/include/asm-generic/fcntl.h:167:8: error: redefinition of 'struct flock'
/usr/include/x86_64-linux-gnu/bits/fcntl.h:168:8: note: originally defined here
/usr/include/asm-generic/fcntl.h:184:8: error: redefinition of 'struct flock64'
/usr/include/x86_64-linux-gnu/bits/fcntl.h:183:8: note: originally defined here
$dpkg -S /usr/include/asm-generic/fcntl.h
linux-libc-dev: /usr/include/asm-generic/fcntl.h
$ dpkg -S /usr/include/x86_64-linux-gnu/bits/fcntl.h
libc6-dev: /usr/include/x86_64-linux-gnu/bits/fcntl.h
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/933045/+subscriptions
More information about the foundations-bugs
mailing list