Ticket #358 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

asterisk-12 build broken

Reported by: austriancoder Assigned to: wbx
Priority: minor Milestone: 1.x (low prio)
Component: general Version: trunk
Keywords: Cc:

Description

: "package/zaptel-12-compile: " /home/austriancoder/freewrt/trunk/freewrt/lbin/gmake -C zaptel-12 build-all-ipkgs gmake[4]: Entering directory `/home/austriancoder/freewrt/trunk/freewrt/package/zaptel-12' gmake[4]: Nothing to be done for `build-all-ipkgs'. gmake[4]: Leaving directory `/home/austriancoder/freewrt/trunk/freewrt/package/zaptel-12' : " done" : : "package/asterisk-12-compile: " /home/austriancoder/freewrt/trunk/freewrt/lbin/gmake -C asterisk-12 build-all-ipkgs gmake[4]: Entering directory `/home/austriancoder/freewrt/trunk/freewrt/package/asterisk-12' clean=0; \

for f in /home/austriancoder/freewrt/trunk/freewrt/bin_mipsel/packages/asterisk-12_1.2.19-1_mipsel.ipk /home/austriancoder/freewrt/trunk/freewrt/bin_mipsel/packages/asterisk-12-sqlite_1.2.19-1_mipsel.ipk /home/austriancoder/freewrt/trunk/freewrt/bin_mipsel/packages/asterisk-12-voicemail_1.2.19-1_mipsel.ipk /home/austriancoder/freewrt/trunk/freewrt/bin_mipsel/packages/asterisk-12-sounds_1.2.19-1_mipsel.ipk /home/austriancoder/freewrt/trunk/freewrt/bin_mipsel/packages/asterisk-12-meetme_1.2.19-1_mipsel.ipk /home/austriancoder/freewrt/trunk/freewrt/bin_mipsel/packages/asterisk-12-chan-mgcp_1.2.19-1_mipsel.ipk /home/austriancoder/freewrt/trunk/freewrt/bin_mipsel/packages/asterisk-12-chan-skinny_1.2.19-1_mipsel.ipk /home/austriancoder/freewrt/trunk/freewrt/bin_mipsel/packages/asterisk-12-chan-iax2_1.2.19-1_mipsel.ipk /home/austriancoder/freewrt/trunk/freewrt/bin_mipsel/packages/asterisk-12-codec-speex_1.2.19-1_mipsel.ipk /home/austriancoder/freewrt/trunk/freewrt/bin_mipsel/packages/asterisk-12-pbx-dundi_1.2.19-1_mipsel.ipk /home/austriancoder/freewrt/trunk/freewrt/bin_mipsel/packages/asterisk-12-res-agi_1.2.19-1_mipsel.ipk /home/austriancoder/freewrt/trunk/freewrt/bin_mipsel/packages/asterisk-12-zaptel_1.2.19-1_mipsel.ipk; do \

[[ -e $f ]] && clean=1; \

done; \

[[ $clean = 0 ]] /home/austriancoder/freewrt/trunk/freewrt/lbin/gmake clean

exec /home/austriancoder/freewrt/trunk/freewrt/lbin/gmake package gmake[5]: Entering directory `/home/austriancoder/freewrt/trunk/freewrt/package/asterisk-12' rm -rf /home/austriancoder/freewrt/trunk/freewrt/build_mipsel/w-asterisk-1.2.19-1 ==> Checksum ok for asterisk-1.2.19.tar.gz (MD5) mkdir -p /home/austriancoder/freewrt/trunk/freewrt/build_mipsel/w-asterisk-1.2.19-1 touch /home/austriancoder/freewrt/trunk/freewrt/build_mipsel/w-asterisk-1.2.19-1/.checksum_done mkdir -p /home/austriancoder/freewrt/trunk/freewrt/build_mipsel/w-asterisk-1.2.19-1; cd /home/austriancoder/freewrt/trunk/freewrt/build_mipsel/w-asterisk-1.2.19-1 && for file in /home/austriancoder/freewrt/trunk/freewrt/dl/asterisk-1.2.19.tar.gz; do case $file in *.cpio | *.tar) pax -r -s '!/\.$!!' <$file ;; *.cpio.Z | *.cpio.gz | *.cgz | *.mcz | *.tar.Z | *.tar.gz | *.taz | *.tgz) gzip -dc $file | pax -r -s '!/\.$!!' ;; *.cpio.bz2 | *.cbz | *.tar.bz2 | *.tbz | *.tbz2) bzip2 -dc $file | pax -r -s '!/\.$!!' ;; *.zip) unzip -d /home/austriancoder/freewrt/trunk/freewrt/build_mipsel/w-asterisk-1.2.19-1 $file ;; *) echo "Cannot extract '$file'" >&2; false ;; esac; done gmake[6]: Entering directory `/home/austriancoder/freewrt/trunk/freewrt/package/asterisk-12' gmake[6]: Nothing to be done for `post-extract'. gmake[6]: Leaving directory `/home/austriancoder/freewrt/trunk/freewrt/package/asterisk-12' touch /home/austriancoder/freewrt/trunk/freewrt/build_mipsel/w-asterisk-1.2.19-1/asterisk-1.2.19/.extract_done

[ ! -d ./patches ] /bin/bash /home/austriancoder/freewrt/trunk/freewrt/scripts/patch-kernel.sh /home/austriancoder/freewrt/trunk/freewrt/build_mipsel/w-asterisk-1.2.19-1/asterisk-1.2.19 ./patches \

'{patch-!(*.orig),*.patch}'

Applying ./patches/patch-Makefile using plaintext: patching file Makefile

Applying ./patches/patch-channels_Makefile using plaintext: patching file channels/Makefile Hunk #1 succeeded at 245 with fuzz 1 (offset 7 lines).

Applying ./patches/patch-channels_misdn_Makefile using plaintext: patching file channels/misdn/Makefile Hunk #1 succeeded at 21 (offset 3 lines).

Applying ./patches/patch-codecs_gsm_Makefile using plaintext: patching file codecs/gsm/Makefile

Applying ./patches/patch-db1-ast_Makefile using plaintext: patching file db1-ast/Makefile

Applying ./patches/patch-dns_c using plaintext: patching file dns.c

Applying ./patches/patch-utils_Makefile using plaintext: patching file utils/Makefile

Applying ./patches/patch-utils_c using plaintext: patching file utils.c Hunk #1 succeeded at 837 (offset 2 lines). Hunk #2 succeeded at 870 (offset 2 lines).

[ ! -d ./extra ] (cd extra; pax -rw . /home/austriancoder/freewrt/trunk/freewrt/build_mipsel/w-asterisk-1.2.19-1/asterisk-1.2.19/) gmake[6]: Entering directory `/home/austriancoder/freewrt/trunk/freewrt/package/asterisk-12' gmake[6]: Nothing to be done for `post-patch'. gmake[6]: Leaving directory `/home/austriancoder/freewrt/trunk/freewrt/package/asterisk-12' touch /home/austriancoder/freewrt/trunk/freewrt/build_mipsel/w-asterisk-1.2.19-1/asterisk-1.2.19/.prepared /bin/bash /home/austriancoder/freewrt/trunk/freewrt/scripts/make-ipkg-dir.sh /home/austriancoder/freewrt/trunk/freewrt/build_mipsel/w-asterisk-1.2.19-1/fake-mipsel/ipkg-asterisk-12 ipkg/asterisk-12.control 1.2.19-1 mipsel

[ -z "" ] echo "Depends: " >>/home/austriancoder/freewrt/trunk/freewrt/build_mipsel/w-asterisk-1.2.19-1/fake-mipsel/ipkg-asterisk-12/CONTROL/control

for file in conffiles preinst postinst prerm postrm; do [ ! -f ./ipkg/asterisk-12.$file ] cp ./ipkg/asterisk-12.$file /home/austriancoder/freewrt/trunk/freewrt/build_mipsel/w-asterisk-1.2.19-1/fake-mipsel/ipkg-asterisk-12/CONTROL/$file; done mkdir -p /home/austriancoder/freewrt/trunk/freewrt/build_mipsel/w-asterisk-1.2.19-1/asterisk-1.2.19 gmake[6]: Entering directory `/home/austriancoder/freewrt/trunk/freewrt/package/asterisk-12' gmake[6]: Nothing to be done for `pre-configure'. gmake[6]: Leaving directory `/home/austriancoder/freewrt/trunk/freewrt/package/asterisk-12' env PATH='/home/austriancoder/freewrt/trunk/freewrt/lbin:/home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/host/bin:/home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/target/scripts:/usr/kde/3.5/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.2.0:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/opt/sun-jdk-1.4.2.14/bin:/opt/sun-jdk-1.4.2.14/jre/bin:/opt/sun-jdk-1.4.2.14/jre/javaws:/usr/kde/3.5/bin:/usr/qt/3/bin:/opt/vmware/server/bin:/opt/vmware/server/console/bin:/opt/limewire' AR=/home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/host/bin/mipsel-linux-uclibc-ar AS=/home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/host/bin/mipsel-linux-uclibc-as LD=/home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/host/bin/mipsel-linux-uclibc-ld NM=/home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/host/bin/mipsel-linux-uclibc-nm CC="ccache-gcc" GCC="ccache-gcc" CXX="ccache-g++" RANLIB=/home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/host/bin/mipsel-linux-uclibc-ranlib CC_FOR_BUILD='cc' CFLAGS_FOR_BUILD='-O2 -fwrapv -fno-tree-vrp' CPPFLAGS_FOR_BUILD= LDFLAGS_FOR_BUILD= CC='ccache-gcc' CXX='ccache-g++' CFLAGS='-Os -fno-ident -fwrapv -fhonour-copts -isystem /home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/target/include -isystem /home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/target/usr/include -DNDEBUG -I/home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/target/usr/include/speex' CXXFLAGS='-Os -fno-ident -fwrapv -fhonour-copts' CPPFLAGS='-isystem /home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/target/include -isystem /home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/target/usr/include -DNDEBUG -I/home/austriancoder/freewrt/trunk/freewrt/build_mipsel/linux/include' LDFLAGS='-Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/target/usr/lib -L/home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/target/lib -L/home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/target/usr/lib' PKG_CONFIG_PATH='/home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/target/usr/lib/pkgconfig' ac_cv_func_malloc_0_nonnull=yes /home/austriancoder/freewrt/trunk/freewrt/lbin/gmake do-configure gmake[6]: Entering directory `/home/austriancoder/freewrt/trunk/freewrt/package/asterisk-12' gmake[6]: Nothing to be done for `do-configure'. gmake[6]: Leaving directory `/home/austriancoder/freewrt/trunk/freewrt/package/asterisk-12' gmake[6]: Entering directory `/home/austriancoder/freewrt/trunk/freewrt/package/asterisk-12' gmake[6]: Nothing to be done for `post-configure'. gmake[6]: Leaving directory `/home/austriancoder/freewrt/trunk/freewrt/package/asterisk-12' touch /home/austriancoder/freewrt/trunk/freewrt/build_mipsel/w-asterisk-1.2.19-1/asterisk-1.2.19/.configure_done gmake[6]: Entering directory `/home/austriancoder/freewrt/trunk/freewrt/package/asterisk-12' gmake[6]: Nothing to be done for `pre-build'. ... ... ... -Wl,/home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/target/usr/lib -L/home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/target/lib -L/home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/target/usr/lib -o chan_oss.so chan_oss.o -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/target/usr/lib -L/home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/target/lib -L/home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/target/usr/lib -ldl -lpthread -lresolv -lncurses -lm /home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/host/bin/mipsel-linux-uclibc-gcc -Os -fno-ident -fwrapv -fhonour-copts -isystem /home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/target/include -isystem /home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/target/usr/include -DNDEBUG -I/home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/target/usr/include/speex -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -Os -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -isystem /home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/target/include -isystem /home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/target/usr/include -DNDEBUG -I/home/austriancoder/freewrt/trunk/freewrt/build_mipsel/linux/include -c -o chan_phone.o chan_phone.c /home/austriancoder/freewrt/trunk/freewrt/build_mipsel/linux/include/linux/ixjuser.h:45: warning: 'ixjuser_h_rcsid' defined but not used /home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/host/bin/mipsel-linux-uclibc-gcc -shared -Xlinker -x -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/target/usr/lib -L/home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/target/lib -L/home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/target/usr/lib -o chan_phone.so chan_phone.o -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/target/usr/lib -L/home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/target/lib -L/home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/target/usr/lib -ldl -lpthread -lresolv -lncurses -lm /home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/host/bin/mipsel-linux-uclibc-gcc -c -Os -fno-ident -fwrapv -fhonour-copts -isystem /home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/target/include -isystem /home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/target/usr/include -DNDEBUG -I/home/austriancoder/freewrt/trunk/freewrt/cross_mipsel/target/usr/include/speex -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -Os -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -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:2237: error: too few arguments to function `pri_sr_set_bearer' chan_zap.c: In function `zt_hangup': chan_zap.c:2635: error: too few arguments to function `pri_hangup' chan_zap.c:2655: error: too few arguments to function `pri_hangup' chan_zap.c: In function `zt_handle_event': chan_zap.c:3858: error: too few arguments to function `pri_hangup' chan_zap.c: In function `pri_dchannel': chan_zap.c:8428: error: too few arguments to function `pri_hangup' chan_zap.c:8583: error: too few arguments to function `pri_hangup' chan_zap.c:8717: error: too few arguments to function `pri_hangup' chan_zap.c:8753: error: too few arguments to function `pri_hangup' chan_zap.c:8762: error: too few arguments to function `pri_hangup' chan_zap.c:8771: error: too few arguments to function `pri_hangup' chan_zap.c:8773: error: too few arguments to function `pri_hangup' chan_zap.c:9020: error: too few arguments to function `pri_hangup' chan_zap.c:9088: error: too few arguments to function `pri_hangup' chan_zap.c: In function `start_pri': chan_zap.c:9300: error: too few arguments to function `pri_new' chan_zap.c: In function `load_module': chan_zap.c:11105: warning: passing arg 1 of `pri_set_error' from incompatible pointer type chan_zap.c:11106: warning: passing arg 1 of `pri_set_message' from incompatible pointer type gmake[7]: *** [chan_zap.o] Error 1 gmake[7]: Leaving directory `/home/austriancoder/freewrt/trunk/freewrt/build_mipsel/w-asterisk-1.2.19-1/asterisk-1.2.19/channels' gmake[6]: *** [subdirs] Error 1 gmake[6]: Leaving directory `/home/austriancoder/freewrt/trunk/freewrt/build_mipsel/w-asterisk-1.2.19-1/asterisk-1.2.19' gmake[5]: *** /home/austriancoder/freewrt/trunk/freewrt/build_mipsel/w-asterisk-1.2.19-1/asterisk-1.2.19/.build_done Error 2 gmake[5]: Leaving directory `/home/austriancoder/freewrt/trunk/freewrt/package/asterisk-12' gmake[4]: *** /home/austriancoder/freewrt/trunk/freewrt/bin_mipsel/packages/.stamps/asterisk1.2.19-1 Error 2 gmake[4]: Leaving directory `/home/austriancoder/freewrt/trunk/freewrt/package/asterisk-12' gmake[3]: *** [asterisk-12-compile] Error 2 gmake[3]: Leaving directory `/home/austriancoder/freewrt/trunk/freewrt/package' gmake[2]: *** [package/compile] Error 2 gmake[2]: Leaving directory `/home/austriancoder/freewrt/trunk/freewrt' gmake[1]: *** [world] Error 2 gmake[1]: Leaving directory `/home/austriancoder/freewrt/trunk/freewrt'

Attachments

.config (48.5 kB) - added by austriancoder on 06/29/07 09:07:19.

Change History

06/29/07 09:07:19 changed by austriancoder

  • attachment .config added.

06/29/07 12:54:59 changed by wbx

  • status changed from new to closed.
  • resolution set to fixed.

Hi,

fixed in svn. You need to rebuild libpri and zaptel after next make of asterisk.

bye

wbx


Add/Change #358 (asterisk-12 build broken)




Action