Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81882 - Usbutils fails with linux-headers-2.6.10
Summary: Usbutils fails with linux-headers-2.6.10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-13 10:36 UTC by Kaiting Chen
Modified: 2005-02-13 16:11 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kaiting Chen 2005-02-13 10:36:04 UTC
Here's the error:

gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=pentium3 -fomit-frame-pointer -fprefetch-loop-arrays -mfpmath=sse -pipe -c
-fPIC -DPIC descparse.c -o .libs/descparse.lo
In file included from /usr/include/linux/usb.h:5,
                 from descparse.c:34:
/usr/include/linux/usb_ch9.h:106: error: parse error before "__le16"
/usr/include/linux/usb_ch9.h:108: error: parse error before "wLength"
/usr/include/linux/usb_ch9.h:233: error: parse error before "__le16"
make[2]: *** [descparse.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
rm -f .libs/access.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=pentium3 -fomit-frame-pointer -fprefetch-loop-arrays -mfpmath=sse -pipe -c
-fPIC -DPIC access.c -o .libs/access.lo
In file included from /usr/include/linux/usb.h:5,
                 from access.c:34:
/usr/include/linux/usb_ch9.h:106: error: parse error before "__le16"
/usr/include/linux/usb_ch9.h:108: error: parse error before "wLength"
/usr/include/linux/usb_ch9.h:233: error: parse error before "__le16"
make[2]: *** [access.lo] Error 1
make[2]: Leaving directory `/system/temporary/portage/usbutils-0.11-r5/work/usbutils-0.11/libusb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/system/temporary/portage/usbutils-0.11-r5/work/usbutils-0.11'
make: *** [all-recursive-am] Error 2

!!! ERROR: sys-apps/usbutils-0.11-r5 failed.
!!! Function src_compile, Line 42, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2005-02-13 16:11:26 UTC
Fixed in CVS, emerge sync and remerge headers or just add '#include <linux/types.h>' below the '#include <asm/types.h>' line in /usr/include/linux/usb_ch9.h. Thanks for testing and the bug report!