Hi I get this error when trying to compile isapnptools with gcc-4.0.2 gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -O2 -march=pentium-m -fomit-frame-pointer -pipe -c isapnp_main.c isapnp_main.l:366: error: static declaration of 'serial_identifier' follows non-static declaration ../include/isapnp/res-access.h:66: error: previous declaration of 'serial_identifier' was here make[1]: *** [isapnp_main.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/isapnptools-1.26-r1/work/isapnptools-1.26/src' make: *** [all-recursive] Error 1 !!! ERROR: sys-apps/isapnptools-1.26-r1 failed. !!! Function src_compile, Line 566, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. It does work switching to gcc-3.4.4-r1. # emerge --info Portage 2.0.53 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r1, 2.6.15-rc7 i686) ================================================================= System uname: 2.6.15-rc7 i686 Intel(R) Pentium(R) M processor 2.00GHz Gentoo Base System version 1.12.0_pre12 dev-lang/python: 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.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" 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 X a52 aac acl acpi alsa apache2 arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl dbus dvdr dvdread emboss encode exif expat fam ffmpeg firefox foomaticdb gdbm gif glut gmp gpm gstreamer hal idn ieee1394 imlib java jpeg junit kde kerberos lcms ldap libg++ libwww logrotate mad mhash mikmod mmx mng motif mp3 mpeg mysql ncurses nls nptl nvidia odbc ogg oggvorbis openal opengl oracle pam pcmcia pcre pdflib perl png python qt quicktime readline samba sdl spell sse sse2 ssl tcltk tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis wifi xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
fixed, thanks for the report