Hi, I have a problem compiling zaptel with the "bri" use-flag. When I do "emerge zaptel", the following error occurs: CC /var/tmp/portage/zaptel-1.0.10-r1/work/zaptel-1.0.10/ztdynamic.mod.o LD [M] /var/tmp/portage/zaptel-1.0.10-r1/work/zaptel-1.0.10/ztdynamic.ko make[1]: Leaving directory `/usr/src/linux-2.6.17.6' cc -shared -Wl,-soname,libtonezone.so.1 -lm -o libtonezone.so.1.0 zonedata.lo tonezone.lo /sbin/ldconfig -n . ln -sf libtonezone.so.1 libtonezone.so make: Entering directory `/var/tmp/portage/zaptel-1.0.10-r1/work/bristuff-0.2.0-RC8q/cwain' make -C /usr/src/linux SUBDIRS=/var/tmp/portage/zaptel-1.0.10-r1/work/bristuff-0.2.0-RC8q/cwain ZAP=-I/var/tmp/portage/zaptel-1.0.10-r1/work/zaptel-1.0.10 modules make[1]: Entering directory `/usr/src/linux-2.6.17.6' CC [M] /var/tmp/portage/zaptel-1.0.10-r1/work/bristuff-0.2.0-RC8q/cwain/cwain.o /var/tmp/portage/zaptel-1.0.10-r1/work/bristuff-0.2.0-RC8q/cwain/cwain.c: In function `cwain_interrupt': /var/tmp/portage/zaptel-1.0.10-r1/work/bristuff-0.2.0-RC8q/cwain/cwain.c:796: warning: 'irq_misc2' might be used uninitialized in this function /var/tmp/portage/zaptel-1.0.10-r1/work/bristuff-0.2.0-RC8q/cwain/cwain.c: At top level: /var/tmp/portage/zaptel-1.0.10-r1/work/bristuff-0.2.0-RC8q/cwain/cwain.c:1483: error: syntax error before string constant /var/tmp/portage/zaptel-1.0.10-r1/work/bristuff-0.2.0-RC8q/cwain/cwain.c:1483: warning: type defaults to `int' in declaration of `MODULE_PARM' /var/tmp/portage/zaptel-1.0.10-r1/work/bristuff-0.2.0-RC8q/cwain/cwain.c:1483: warning: function declaration isn't a prototype /var/tmp/portage/zaptel-1.0.10-r1/work/bristuff-0.2.0-RC8q/cwain/cwain.c:1483: warning: data definition has no type or storage class /var/tmp/portage/zaptel-1.0.10-r1/work/bristuff-0.2.0-RC8q/cwain/cwain.c:1484: error: syntax error before string constant /var/tmp/portage/zaptel-1.0.10-r1/work/bristuff-0.2.0-RC8q/cwain/cwain.c:1484: warning: type defaults to `int' in declaration of `MODULE_PARM' /var/tmp/portage/zaptel-1.0.10-r1/work/bristuff-0.2.0-RC8q/cwain/cwain.c:1484: warning: function declaration isn't a prototype /var/tmp/portage/zaptel-1.0.10-r1/work/bristuff-0.2.0-RC8q/cwain/cwain.c:1484: warning: data definition has no type or storage class make[2]: *** [/var/tmp/portage/zaptel-1.0.10-r1/work/bristuff-0.2.0-RC8q/cwain/cwain.o] Error 1 make[1]: *** [_module_/var/tmp/portage/zaptel-1.0.10-r1/work/bristuff-0.2.0-RC8q/cwain] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.17.6' make: *** [linux26] Error 2 make: Leaving directory `/var/tmp/portage/zaptel-1.0.10-r1/work/bristuff-0.2.0-RC8q/cwain' !!! ERROR: net-misc/zaptel-1.0.10-r1 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile zaptel-1.0.10-r1.ebuild, line 157: Called die Here's emerge --info: PBX ~ # emerge --info Portage 2.1-r1 (default-linux/x86/no-nptl, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17.6-pbx i686) ================================================================= System uname: 2.6.17.6-pbx i686 AMD Athlon(tm) Processor Gentoo Base System version 1.6.15 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i386-pc-linux-gnu" CFLAGS="-march=athlon -O2 -mtune=i686 -pipe" CHOST="i386-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-O2 -mtune=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ " MAKEOPTS="-j2" 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.europe.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi berkdb bitmap-fonts bri cdr cli crypt cups dlloader dri eds emboss encode foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg opengl oss pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts vorbis xml xmms xorg xv zaptel zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
*** This bug has been marked as a duplicate of 158196 ***