I../include -D_REENTRANT -D_GNU_SOURCE -O2 -march=pentium2 -pipe -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -Imisdn -Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -DCHAN_MISDN_VERSION=\"0.3.0\" -c misdn_config.c -o misdn_config.o make -C misdn make[2]: Entering directory `/var/tmp/portage/asterisk-1.2.13/work/asterisk-1.2.13/channels/misdn' gcc -pipe -c -Wall -ggdb -o isdn_lib.o isdn_lib.c gcc -pipe -c -Wall -ggdb -o isdn_msg_parser.o isdn_msg_parser.c gcc -pipe -c -Wall -ggdb -o fac.o fac.c ar crv chan_misdn_lib.a isdn_lib.o isdn_msg_parser.o fac.o a - isdn_lib.o a - isdn_msg_parser.o a - fac.o make[2]: Leaving directory `/var/tmp/portage/asterisk-1.2.13/work/asterisk-1.2.13/channels/misdn' gcc -shared -Xlinker -x -L/usr/lib -o chan_misdn.so chan_misdn.o misdn_config.o misdn/chan_misdn_lib.a -lisdnnet -lmISDN /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object. gcc -c -O2 -march=pentium2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -march=pentium2 -pipe -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -Imisdn -Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -o chan_zap.o chan_zap.c chan_zap.c: In function `zt_call': chan_zap.c:2086: error: too few arguments to function `pri_sr_set_bearer' chan_zap.c: In function `zt_hangup': chan_zap.c:2484: error: too few arguments to function `pri_hangup' chan_zap.c:2504: error: too few arguments to function `pri_hangup' chan_zap.c: In function `zt_handle_event': chan_zap.c:3640: error: too few arguments to function `pri_hangup' chan_zap.c: In function `pri_dchannel': chan_zap.c:8255: error: too few arguments to function `pri_hangup' chan_zap.c:8413: error: too few arguments to function `pri_hangup' chan_zap.c:8545: error: too few arguments to function `pri_hangup' chan_zap.c:8580: error: too few arguments to function `pri_hangup' chan_zap.c:8589: error: too few arguments to function `pri_hangup' chan_zap.c:8597: error: too few arguments to function `pri_hangup' chan_zap.c:8843: error: too few arguments to function `pri_hangup' chan_zap.c:8911: error: too few arguments to function `pri_hangup' chan_zap.c: In function `start_pri': chan_zap.c:9123: error: too few arguments to function `pri_new' chan_zap.c: In function `load_module': chan_zap.c:10928: warning: passing arg 1 of `pri_set_error' from incompatible pointer type chan_zap.c:10929: warning: passing arg 1 of `pri_set_message' from incompatible pointer type make[1]: *** [chan_zap.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/asterisk-1.2.13/work/asterisk-1.2.13/channels' make: *** [subdirs] Error 1 !!! ERROR: net-misc/asterisk-1.2.13 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile asterisk-1.2.13.ebuild, line 287: Called die !!! Make failed !!! If you need support, post the topmost build error, and the call stack if relevant.