Bug 142994 - linux/ext3_fs.h (from linux-headers) broken
Bug#: 142994 Product:  Gentoo Linux Version: 2006.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: plasmaroo@gentoo.org Reported By: dick@mrns.nl
Component: Ebuilds
URL: 
Summary: linux/ext3_fs.h (from linux-headers) broken
Keywords:  
Status Whiteboard: 
Opened: 2006-08-06 10:08 0000
Description:   Opened: 2006-08-06 10:08 0000
$ 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 From Tim Yamin (RETIRED) 2006-08-06 10:52:07 0000 -------
emerge --info please...

------- Comment #2 From Dick Marinus 2006-08-06 11:20:49 0000 -------
Created an attachment (id=93606) [details]
emerge --info

okay, sorry..

I'm using sys-kernel/linux-headers-2.6.11-r5

------- Comment #3 From Tim Yamin (RETIRED) 2006-08-07 08:56:29 0000 -------
Fixed in linux-headers-2.6.17; thanks.