Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142994 - linux/ext3_fs.h (from linux-headers) broken
Summary: linux/ext3_fs.h (from linux-headers) broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-06 10:08 UTC by Dick Marinus
Modified: 2006-08-07 08:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,2.95 KB, text/plain)
2006-08-06 11:20 UTC, Dick Marinus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dick Marinus 2006-08-06 10:08:15 UTC
$ 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 ;-))
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2006-08-06 10:52:07 UTC
emerge --info please...
Comment 2 Dick Marinus 2006-08-06 11:20:49 UTC
Created attachment 93606 [details]
emerge --info

okay, sorry..

I'm using sys-kernel/linux-headers-2.6.11-r5
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2006-08-07 08:56:29 UTC
Fixed in linux-headers-2.6.17; thanks.