Zaptel fails to compile only when using the BRI flag... ------ Emerge --info Portage 2.1.1-r2 (uclibc/x86, gcc-4.1.1, uclibc-0.9.28-r1, 2.6.18-gentoo-r3 i686) ================================================================= System uname: 2.6.18-gentoo-r3 i686 AMD Athlon(tm) XP 2200+ Gentoo Base System version 1.12.6 Last Sync: Fri, 15 Dec 2006 02:00:01 +0000 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: [Not Present] dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 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.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="" ARCH="x86" AUTOCLEAN="yes" CBUILD="i386-gentoo-linux-uclibc" CFLAGS="-O2 -pipe -fomit-frame-pointer" CHOST="i386-gentoo-linux-uclibc" CLASSPATH="." CLEAN_DELAY="2" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CVS_RSH="ssh" CXXFLAGS="-O2 -pipe -fomit-frame-pointer" DCCC_PATH="/usr/lib/distcc/bin" DISTCC_LOG="" DISTCC_VERBOSE="0" DISTDIR="/usr/portage/distfiles" EDITOR="/bin/nano" ELIBC="uclibc" EMERGE_WARNING_DELAY="10" FEATURES="autoconfig buildpkg ccache distlocks metadata-transfer nodoc noinfo noman parallel-fetch sandbox sfperms strict" FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -P ${DISTDIR} ${URI}" GCC_SPECS="" GDK_USE_XFT="1" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" GRP_STAGE23_USE="ncurses readline zlib uclibc" G_BROKEN_FILENAMES="1" G_FILENAME_ENCODING="UTF-8" HOME="/root" INFOPATH="/usr/share/info:/usr/share/gcc-data/i386-gentoo-linux-uclibc/4.1.1/info" INPUTRC="/etc/inputrc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LDFLAGS="-Wl,-z,relro" LESS="-R -M --shift 5" LESSOPEN="|lesspipe.sh %s" LOGNAME="root" MAIL="/var/mail/root" MAKE_OPTS="-j2" MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/gcc-data/i386-gentoo-linux-uclibc/4.1.1/man" OPENGL_PROFILE="nvidia" PAGER="/usr/bin/less" PATH="/bin:/sbin:/usr/bin:/usr/sbin:/opt/bin:/usr/i386-gentoo-linux-uclibc/gcc-bin/4.1.1" PKGDIR="/usr/portage/local/uclibc" PORTAGE_ARCHLIST="ppc s390 amd64 x86 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha ppc-macos hppa sparc-fbsd" PORTAGE_BINHOST_CHUNKSIZE="3000" PORTAGE_BIN_PATH="/usr/lib/portage/bin" PORTAGE_CALLER="emerge" PORTAGE_CONFIGROOT="/" PORTAGE_DEBUG="0" PORTAGE_PYM_PATH="/usr/lib/portage/pym" 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_RSYNC_RETRIES="3" PORTAGE_TMPDIR="/var/tmp" PORTAGE_WORKDIR_MODE="0700" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/voip" PRELINK_PATH="" PRELINK_PATH_MASK="/lib/modules:/usr/lib/locale:/usr/lib/wine:/usr/lib/valgrind:*.la:*.png:*.py:*.pl:*.pm:*.sh:*.xml:*.xslt:*.a:*.js:/usr/lib/klibc" PS1="\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]" PWD="/" PYTHONPATH="/usr/lib/portage/pym" QMAKESPEC="linux-g++" RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -P ${DISTDIR} ${URI}" ROOT="/" ROOTPATH="/opt/bin:/usr/i386-gentoo-linux-uclibc/gcc-bin/4.1.1" RPMDIR="/usr/portage/rpm" SHELL="/bin/bash" STAGE1_USE="uclibc" SYNC="rsync://rsync.gentoo.org/gentoo-portage" TERM="xterm" UCLIBC_CPU="NEHEMIAH" UCLIBC_CPU_DEFAULT="GENERIC_386" USE="x86 alsa big-tables bitmap-fonts bri cli cracklib dlloader dri elibc_uclibc embedded input_devices_evdev input_devices_keyboard input_devices_mouse kernel_linux minimal mmx mysql ncurses pcre pri readline reflection session spl sse ssl truetype-fonts type1-fonts uclibc userland_GNU video_cards_dummy video_cards_fbdev video_cards_v4l xorg zlib" USER="root" USERLAND="GNU" ------- Solution The solution is fairly simple actually. The BRIStuff package that's used in the ebuild is outdated (version 1v) while the most recent version is (1w). So I just changed the line: BRI_VERSION="0.3.-PRE-1w"
Created attachment 104080 [details, diff] Patched file that uses the newest BRIStuff file....version 0.3.0-PRE-1w this patch worked for me, hopefully it fixes any problems people are having while compiling asterisk and zaptel. I also had to recompile libpri with BRI to get asterisk to work once I had this patch...
Created attachment 104081 [details] my error's while compiling.
*** Bug 143214 has been marked as a duplicate of this bug. ***
It works for me, just need to have this tested thoroughly now.