Tried it a few times, not sure if I am missing a use flag or not. I don't have any use flags set for the ebuild. Compilation is failing at LD [M] /usr/tmp/portage/net-misc/zaptel-1.2.11-r1/work/zaptel-1.2.11/wct4xxp/wct4xxp.o CC [M] /usr/tmp/portage/net-misc/zaptel-1.2.11-r1/work/zaptel-1.2.11/xpp/card_fxo.o In file included from /usr/tmp/portage/net-misc/zaptel-1.2.11-r1/work/zaptel-1.2.11/xpp/xpd.h:26, from /usr/tmp/portage/net-misc/zaptel-1.2.11-r1/work/zaptel-1.2.11/xpp/card_fxo.c:28: /usr/tmp/portage/net-misc/zaptel-1.2.11-r1/work/zaptel-1.2.11/xpp/xdefs.h:93: error: conflicting types for 'bool' include/linux/types.h:36: error: previous declaration of 'bool' was here make[3]: *** [/usr/tmp/portage/net-misc/zaptel-1.2.11-r1/work/zaptel-1.2.11/xpp/card_fxo.o] Error 1 make[2]: *** [/usr/tmp/portage/net-misc/zaptel-1.2.11-r1/work/zaptel-1.2.11/xpp] Error 2 make[1]: *** [_module_/usr/tmp/portage/net-misc/zaptel-1.2.11-r1/work/zaptel-1.2.11] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.19-gentoo-r1' make: *** [linux26] Error 2 !!! ERROR: net-misc/zaptel-1.2.11-r1 failed. Call stack: ebuild.sh, line 1568: Called dyn_compile ebuild.sh, line 937: Called src_compile zaptel-1.2.11-r1.ebuild, line 252: Called die Portage 2.1.2_rc2-r3 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.17-gentoo-r6 i686) ================================================================= System uname: 2.6.17-gentoo-r6 i686 Pentium III (Katmai) Gentoo Base System version 1.12.6 Last Sync: Sun, 03 Dec 2006 05:30:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium3 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib/fax /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O3 -march=pentium3 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.noved.org/ http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.ccccom.com http://mirrors.tds.net/gentoo http://gentoo.netnitco.net http://mirror.tucdemonic.org/gentoo/ http://mirror.clarkson.edu/pub/distributions/gentoo/ http://128.213.5.34/gentoo/ http://lug.mtu.edu/gentoo/" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/usr/tmp" PORTDIR="/usr/portage" SYNC="rsync://dev.obsidian-studios.com/portage" USE="x86 berkdb bzlib cracklib crypt dlloader elibc_glibc encode gdbm iconv input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 kernel_linux logrotate mad mmx mp3 ncurses nls nptl nptlonly pam pcre perl ppds python readline rrdtool session snmp spl sse ssl symlink tcpd udev unicode userland_GNU zaptel zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Same here but on 2.6.19-gentoo-r1 LD [M] /var/tmp/portage/net-misc/zaptel-1.2.11-r1/work/zaptel-1.2.11/wct4xxp/wct4xxp.o CC [M] /var/tmp/portage/net-misc/zaptel-1.2.11-r1/work/zaptel-1.2.11/xpp/card_fxo.o In file included from /var/tmp/portage/net-misc/zaptel-1.2.11-r1/work/zaptel-1.2.11/xpp/xpd.h:26, from /var/tmp/portage/net-misc/zaptel-1.2.11-r1/work/zaptel-1.2.11/xpp/card_fxo.c:28: /var/tmp/portage/net-misc/zaptel-1.2.11-r1/work/zaptel-1.2.11/xpp/xdefs.h:93: error: conflicting types for 'bool' include/linux/types.h:36: error: previous declaration of 'bool' was here make[3]: *** [/var/tmp/portage/net-misc/zaptel-1.2.11-r1/work/zaptel-1.2.11/xpp/card_fxo.o] Error 1 make[2]: *** [/var/tmp/portage/net-misc/zaptel-1.2.11-r1/work/zaptel-1.2.11/xpp] Error 2 make[1]: *** [_module_/var/tmp/portage/net-misc/zaptel-1.2.11-r1/work/zaptel-1.2.11] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.19-gentoo-r1' make: *** [linux26] Error 2 !!! ERROR: net-misc/zaptel-1.2.11-r1 failed. Call stack: ebuild.sh, line 1569: Called dyn_compile ebuild.sh, line 938: Called src_compile zaptel-1.2.11-r1.ebuild, line 252: Called die Portage 2.1.2_rc2-r5 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r1 i686) ================================================================= System uname: 2.6.19-gentoo-r1 i686 Intel(R) Pentium(R) D CPU 2.80GHz Gentoo Base System version 1.12.6 Last Sync: Tue, 05 Dec 2006 07:30:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.3.6, 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=pentium4" DISTDIR="/usr/local/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="en" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 alsa apache2 berkdb bitmap-fonts bzip2 bzlib calendar cli cracklib crypt cups dba dlloader dri dts dvb ecaggressive elibc_glibc encode esd fortran freetds gd gdbm gif glib gmp gpm gtk gtk2 iconv imap inifile input_devices_keyboard input_devices_mouse input_devices_vmmouse ipv6 isdnlog jpeg kernel_linux ldap libg++ linguas_en logrotate mad maildir mhash mmx mmxext mp3 mpm-worker mysql ncurses nls nptl nptlonly ogg opengl oss pam pcntl pcre pdf pear perl png postfix ppds pppd pptp python readline reflection sdl seamonkey server session soap sockets speex spell spl sse sse2 ssl subversion tcpd threads tidy tiff truetype truetype-fonts ttf type1-fonts udev unicode usb userland_GNU video_cards_nvidia video_cards_vesa video_cards_vmware x264 x86 xml xml2 xmlrpc xorg xpdf xsl xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Can you please attach your /usr/include/linux/types.h? Seems bool is defined on whatever newer you've got on ~x86 (probably headers or glibc).
Created attachment 103391 [details] /usr/include/linux/types.h /usr/local/samba/types.h
Attachment was from: /usr/include/linux/types.h gentoo-sources 2.6.19.-r1 linux-headers 2.6.17-r2
I'm inclined to think it's glibc-2.5 related since i'm using the same headers version and don't have any issues with it. I'll test in a chroot and post results/patch later.
*** Bug 157874 has been marked as a duplicate of this bug. ***
I have exatly the same error. glibc 2.5 But I can't downgrade glibc =(
Try zaptel-1.2.12.
Fixed in 1.2.12, thanks
(In reply to comment #8) > Try zaptel-1.2.12. > Thank you!
I second that, thank you :)