$ echo "#include <linux/ext3_fs.h>" > test.c $ gcc -c test.c In file included from /usr/include/linux/ext3_fs.h:20, from test.c:1: /usr/include/linux/ext3_fs_i.h:90: error: field 'xattr_sem' has incomplete type /usr/include/linux/ext3_fs_i.h:97: error: field 'i_orphan' has incomplete type /usr/include/linux/ext3_fs_i.h:129: error: field 'truncate_sem' has incomplete type /usr/include/linux/ext3_fs_i.h:130: error: field 'vfs_inode' has incomplete type In file included from /usr/include/linux/ext3_fs.h:21, from test.c:1: /usr/include/linux/ext3_fs_sb.h:54: error: expected specifier-qualifier-list before 'u32' I think ext3_fs_i.h and ext3_fs_sb.h shouldn't be included in the userspace headers. (It works for me ;-))
emerge --info please...
Created attachment 93606 [details] emerge --info okay, sorry.. I'm using sys-kernel/linux-headers-2.6.11-r5
Fixed in linux-headers-2.6.17; thanks.