trying to update to reiserfsprogs-3.6.12-r1 from reiserfsprogs-3.6.11. errors on syntax errors in includefiles. Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.3-rc1) ================================================================= System uname: 2.6.3-rc1 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -mmmx -msse -m3dnow -fomit-frame-pointer -ffast-math" CHOST="i386-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 /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -mmmx -msse -m3dnow -fomit-frame-pointer -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.linux.no/ ftp://gentoo.linux.no/pub/gentoo/ http://ds.thn.htu.se/linux/gentoo http://mirror.pudas.net/gentoo ftp://mirror.pudas.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X alsa apm artswrappersuid avi berkdb crypt cups encode esd faad flac foomaticdb gdbm gif gnome gpm gstreamer gtk2 gtkhtml imlib java jpeg libg++ libwww mad mikmod mmx mozilla mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sdl slang spell sse ssl svga tcpd threads truetype x86 xml xml2 xv zlib" Reproducible: Always Steps to Reproduce: 1. emerge reiserfsprogs 2. 3. Actual Results: config.status: creating include/config.h config.status: executing depfiles commands Type 'make' to compile reiserfsprogs Making all in include make[1]: Entering directory `/var/tmp/portage/reiserfsprogs-3.6.12-r1/work/reiserfsprogs-3.6.12/include' make all-am make[2]: Entering directory `/var/tmp/portage/reiserfsprogs-3.6.12-r1/work/reiserfsprogs-3.6.12/include' make[2]: Leaving directory `/var/tmp/portage/reiserfsprogs-3.6.12-r1/work/reiserfsprogs-3.6.12/include' make[1]: Leaving directory `/var/tmp/portage/reiserfsprogs-3.6.12-r1/work/reiserfsprogs-3.6.12/include' Making all in lib make[1]: Entering directory `/var/tmp/portage/reiserfsprogs-3.6.12-r1/work/reiserfsprogs-3.6.12/lib' if gcc -DHAVE_CONFIG_H -I. -I. -I../include -O2 -march=athlon-xp -mmmx -msse -m3dnow -fomit-frame-pointer -ffast-math -MT io.o -MD -MP -MF ".deps/io.Tpo" \ -c -o io.o `test -f 'io.c' || echo './'`io.c; \ then mv ".deps/io.Tpo" ".deps/io.Po"; \ else rm -f ".deps/io.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I../include -O2 -march=athlon-xp -mmmx -msse -m3dnow -fomit-frame-pointer -ffast-math -MT misc.o -MD -MP -MF ".deps/misc.Tpo" \ -c -o misc.o `test -f 'misc.c' || echo './'`misc.c; \ then mv ".deps/misc.Tpo" ".deps/misc.Po"; \ else rm -f ".deps/misc.Tpo"; exit 1; \ fi In file included from ../include/swab.h:20, from ../include/misc.h:12, from io.c:21: /usr/include/linux/byteorder/swab.h:133: error: syntax error before "__u16" /usr/include/linux/byteorder/swab.h:146: error: syntax error before "__u32" In file included from ../include/swab.h:20, from ../include/misc.h:12, from misc.c:26: /usr/include/linux/byteorder/swab.h:133: error: syntax error before "__u16" /usr/include/linux/byteorder/swab.h:146: error: syntax error before "__u32" make[1]: *** [io.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [misc.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/reiserfsprogs-3.6.12-r1/work/reiserfsprogs-3.6.12/lib' make: *** [all-recursive] Error 1 !!! ERROR: sys-fs/reiserfsprogs-3.6.12-r1 failed. !!! Function src_compile, Line 24, Exitcode 2 !!! Failed to compile
what version of linux-headers
I'm using linux-headers 2.6.3 and i get the same error.
Confirm with linux-headers 2.6.1 and 2.6.3
Bah strike that, confirm problem with linux-headers 2.6.3, retried compile after downgrading to 2.6.1 (sigh i'd originally upgraded to 2.6.3 to see if it fixed this) and this time it worked with 2.6.1.
retried compile with linux-headers 2.6.1 and it worked fine.
Dropping linux-headers from 2.6.3 to 2.6.1 also allowed me to carry out the emerge of reiserfsprogs.
Fixed in linux-headers-2.6.3-r1. Thanks!