i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -march=pentium3 - mcpu=pentium3 -O2 -pipe -c `test -f 'ext2_unix_io.c' || echo './'`ext2_unix_io.c In file included from /usr/include/linux/fs.h:26, from ext2_unix_io.c:38: /usr/include/asm/bitops.h:36: error: syntax error before "addr" /usr/include/asm/bitops.h:36: error: syntax error before '|=' token /usr/include/asm/bitops.h:71: error: syntax error before "addr" /usr/include/asm/bitops.h:71: error: syntax error before '&=' token ext2_unix_io.c: In function `do_get_size': ext2_unix_io.c:107: error: `u64' undeclared (first use in this function) ext2_unix_io.c:107: error: (Each undeclared identifier is reported only once ext2_unix_io.c:107: error: for each function it appears in.) make[2]: *** [ext2_unix_io.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/ext2resize-1.1.19/work/ext2resize- 1.1.19/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/ext2resize-1.1.19/work/ext2resize- 1.1.19/src' make: *** [all-recursive] Error 1 Reproducible: Always Steps to Reproduce: Portage 2.0.51.22-r3 (default-linux/x86/no-nptl/2.4, gcc-3.3.6, glibc-2.3.5-r2, 2.4.27 i686) ================================================================= System uname: 2.4.27 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.4.19-r1, 2.4.22-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -mcpu=pentium3 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/ config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -mcpu=pentium3 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http:// gentoo.blueyonder.co.uk http://mirror.datapipe.net/gentoo http://mirror.uni-c. dk/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 acl acpi acpi4linux apache2 berkdb bzip2 chroot crypt curl eds evms2 expat fam freetype gd gdbm geoip gif gmp gstreamer hardenedphp idn imagemagick imap ipv6 jbig jpeg libg++ libwww maildir memlimit mhash mmx mng mp3 mysql ncurses nls no-htdocs ogg pam pcre pdflib perl php pic png postgres python readline rpc sasl sensord sftplogging spell spf sse ssl tcpd tiff truetype vhosts virtual-users virus-scan vorbis xml xml2 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
(In reply to comment #0) > virtual/os-headers: 2.4.19-r1, 2.4.22-r1 Fix your linux-headers so that you don't have multiple versions installed at the same time and try again.
No, exact same error. Portage 2.0.51.22-r3 (default-linux/x86/no-nptl/2.4, gcc-3.3.6, glibc-2.3.5-r2, 2.4.27 i686) ================================================================= System uname: 2.4.27 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.4.22-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -mcpu=pentium3 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/ config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -mcpu=pentium3 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http:// gentoo.blueyonder.co.uk http://mirror.datapipe.net/gentoo http://mirror.uni-c. dk/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 acl acpi acpi4linux apache2 berkdb bzip2 chroot crypt curl eds evms2 expat fam freetype gd gdbm geoip gif gmp gstreamer hardenedphp idn imagemagick imap ipv6 jbig jpeg libg++ libwww maildir memlimit mhash mmx mng mp3 mysql ncurses nls no-htdocs ogg pam pcre pdflib perl php pic png postgres python readline rpc sasl sensord sftplogging spell spf sse ssl tcpd tiff truetype vhosts virtual-users virus-scan vorbis xml xml2 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
try upgrading your linux-headers to 2.4.26+ and then clean out the old ones
I can't do that as it's a production system, but I shouldn't have to. If I need those kernel headers, then ext2resize should depend on them and seeing as they are ~x86, ext2resize 1.1.19 should also be ~x86 No?
you missed the point fixed in cvs at any rate
I don't think you made a point to miss. If you did, what was it? Thanks for fixing.
*** Bug 122503 has been marked as a duplicate of this bug. ***