Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42535 - eject-2.0.12-r1 won't compile against kernel-headers 2.6.3 on PPC
Summary: eject-2.0.12-r1 won't compile against kernel-headers 2.6.3 on PPC
Status: RESOLVED DUPLICATE of bug 41856
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-22 18:39 UTC by Marc Doughty
Modified: 2005-07-17 13:06 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 Marc Doughty 2004-02-22 18:39:35 UTC
Once again, just noting which packages won't compile against the latest headers on PPC. I know the headers are masked, but working this stuff out will get them into the mainstream sooner.

compiled on PPC against NPTL-enabled glibc and 2.6.3 headers with gcc-3.3.3


###

gcc -DPACKAGE=\"eject\" -DVERSION=\"2.0.12\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_REGCOMP=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1  -I. -I.   -I/usr/src/linux -I/usr/src/linux/include -DDEFAULTDEVICE=\"cdrom\" -DGETOPTLONG  -Wall -O3  -O2 -pipe -fomit-frame-pointer -mcpu=750 -c volname.c
volname.c: In function `main':
volname.c:58: warning: implicit declaration of function `exit'
gcc -Wall -O3  -O2 -pipe -fomit-frame-pointer -mcpu=750  -o volname  volname.o  
In file included from /usr/include/linux/byteorder/big_endian.h:11,
                 from /usr/include/asm/byteorder.h:74,
                 from /usr/include/linux/cdrom.h:14,
                 from eject.c:66:
/usr/include/linux/byteorder/swab.h:133: error: syntax error before "__u16"
/usr/include/linux/byteorder/swab.h:146: error: syntax error before "__u32"
/usr/include/linux/byteorder/swab.h:160: error: syntax error before "__u64"
make[1]: *** [eject.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/eject-2.0.12-r1/work/eject-2.0.12'
make: *** [all-recursive] Error 1

!!! ERROR: sys-apps/eject-2.0.12-r1 failed.
!!! Function src_compile, Line 418, Exitcode 2
!!! emake failed

./mpd-stager: error: Stage 3 build failure
Comment 1 SpanKY gentoo-dev 2004-02-22 18:50:19 UTC
if you're going to do this you need to be sure to use the latest version

this is fixed in 2.0.13

*** This bug has been marked as a duplicate of 41856 ***