Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38188 - sys-apps/fxload-20020411 failed. ERROR: Function src_compile, Line 21, Exitcode 2
Summary: sys-apps/fxload-20020411 failed. ERROR: Function src_compile, Line 21, Exitco...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-14 09:57 UTC by Roberto Griso
Modified: 2004-10-03 01:04 UTC (History)
1 user (show)

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


Attachments
fxload-2.6-headers.patch (fxload-2.6-headers.patch,374 bytes, patch)
2004-01-25 17:15 UTC, ferret
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Roberto Griso 2004-01-14 09:57:57 UTC
emerge -v fxload
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/fxload-20020411 to /
>>> md5 src_uri ;-) fxload-2002_04_11.tar.gz
>>> Unpacking source...
>>> Unpacking fxload-2002_04_11.tar.gz to /var/tmp/portage/fxload-20020411/work
>>> Source unpacked.
gcc -c -O -Wall   ezusb.c -o ezusb.o
In file included from ezusb.c:33:
/usr/include/linux/usbdevice_fs.h:49: error: variable or field `__user' declared void
/usr/include/linux/usbdevice_fs.h:49: error: syntax error before '*' token
/usr/include/linux/usbdevice_fs.h:56: error: variable or field `__user' declared void
/usr/include/linux/usbdevice_fs.h:56: error: syntax error before '*' token
/usr/include/linux/usbdevice_fs.h:100: error: variable or field `__user' declared void
/usr/include/linux/usbdevice_fs.h:100: error: syntax error before '*' token
/usr/include/linux/usbdevice_fs.h:109: error: syntax error before '}' token
/usr/include/linux/usbdevice_fs.h:116: error: variable or field `__user' declared void
/usr/include/linux/usbdevice_fs.h:116: error: syntax error before '*' token
ezusb.c: In function `ctrl_msg':
ezusb.c:123: error: storage size of `ctrl' isn't known
ezusb.c:142: error: invalid application of `sizeof' to an incomplete type
ezusb.c:142: error: invalid application of `sizeof' to an incomplete type
ezusb.c:142: error: invalid application of `sizeof' to an incomplete type
ezusb.c:142: error: invalid application of `sizeof' to an incomplete type
ezusb.c:123: warning: unused variable `ctrl'
make: *** [ezusb.o] Error 1

!!! ERROR: sys-apps/fxload-20020411 failed.
!!! Function src_compile, Line 21, Exitcode 2
!!! (no error message)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 ferret 2004-01-25 16:34:34 UTC
I'm guessing that you're using linux-headers-2.6.0 like me...

Not sure what to do about this error, since usbdevice-fs.h appears to be an old
and unmaintained header.
Comment 2 ferret 2004-01-25 17:15:29 UTC
Created attachment 24422 [details, diff]
fxload-2.6-headers.patch

This trivial patch allows fxload to compile and run cleanly. I doubt it will
work on a system with 2.4 headers and I don't know the best way of doing that
kind of check in an ebuild, so I'll leave that up to someone else.
Comment 3 SpanKY gentoo-dev 2004-10-03 01:04:02 UTC
last linux26-headers should have this fixed