Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42451 - eject will not build due to syntax error in /usr/src/linux/include/asm/byteorder.h which then prevents Gnome from building
Summary: eject will not build due to syntax error in /usr/src/linux/include/asm/byteor...
Status: RESOLVED DUPLICATE of bug 41856
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-21 22:23 UTC by Collin Starkweather
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 Collin Starkweather 2004-02-21 22:23:45 UTC
I just tried to install Gentoo on my Dell Inspiron 4150 (a laptop).  Everything went well until I tried to emerge Gnome.  I received the following error:

In file included from /usr/src/linux/include/linux/cdrom.h:14,
                 from eject.c:66:
/usr/src/linux/include/asm/byteorder.h:14: error: syntax error before "__u32"
/usr/src/linux/include/asm/byteorder.h:28: error: syntax error before "__u64"
In file included from /usr/src/linux/include/linux/byteorder/little_endian.h:11,
                 from /usr/src/linux/include/asm/byteorder.h:57,
                 from /usr/src/linux/include/linux/cdrom.h:14,
                 from eject.c:66:
/usr/src/linux/include/linux/byteorder/swab.h:133: error: syntax error before "__u16"
/usr/src/linux/include/linux/byteorder/swab.h:146: error: syntax error before "__u32"
/usr/src/linux/include/linux/byteorder/swab.h:160: error: syntax error before "__u64"
volname.c: In function `main':
volname.c:58: warning: implicit declaration of function `exit'
gcc -Wall -O3  -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe  -o volname  volname.o  
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

I will provide emerge info below.

Reproducible: Always
Steps to Reproduce:
1.  Install Gentoo
2.  Emerge Gnome
3.  ?

Actual Results:  
I received the error message detailed in the Details section above.

Expected Results:  
eject should have built without error.

Gentoo Base System version 1.4.3.13
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1)
=================================================================
System uname: 2.6.3-gentoo-r1 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.tucdemonic.org/gentoo/ http://gentoo.ccccom.com
ftp://gentoo.agsn.ca/ ftp://gentoo.ccccom.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb cdr crypt cups doc dvd emacs encode esd ethereal
foomaticdb gd gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml imagemagick imlib jpeg
kde libg++ libwww lirc mad mikmod motif mozilla mpeg mysql ncurses nls odbc
oggvorbis opengl oss pam pcmcia pdflib perl plotutils png pnp python qt
quicktime readline samba sdl slang spell ssl svga tcpd tetex truetype unicode
usb x86 xml2 xmms xv zlib"
Comment 1 SpanKY gentoo-dev 2004-02-22 00:57:09 UTC

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