Modify

Opened 9 years ago

Closed 9 years ago

#4081 closed defect (invalid)

build failure on asterisk-1.2.24 (r12829 for wgt634u)

Reported by: seniorr@… Owned by: developers
Priority: normal Milestone:
Component: packages Version:
Keywords: Cc:

Description

While doing a build-all packages on r12829 for wgt634u, got the following build failure while compiling asterisk-1.2.24:

make[5]: Leaving directory `/aux2/src/openwrt/build/r12829/build_dir/mipsel/asterisk-1.2.24/stdtime'
cd editline && unset CFLAGS LIBS && test -f config.h || CFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -I/aux2/src/openwrt/build/r12829/staging_dir/mipsel/usr/include -I/aux2/src/openwrt/build/r12829/staging_dir/mipsel/include -I/aux2/src/openwrt/build/r12829/staging_dir/mipsel/usr/include/speex -I/aux2/src/openwrt/build/r12829/staging_dir/mipsel/usr/include/mysql" LDFLAGS="-L/aux2/src/openwrt/build/r12829/staging_dir/toolchain-mipsel_gcc4.1.2/lib -L/aux2/src/openwrt/build/r12829/staging_dir/mipsel/usr/lib -L/aux2/src/openwrt/build/r12829/staging_dir/mipsel/lib -L/aux2/src/openwrt/build/r12829/staging_dir/mipsel/usr/lib/mysql" ./configure
make -C editline libedit.a
make[5]: Entering directory `/aux2/src/openwrt/build/r12829/build_dir/mipsel/asterisk-1.2.24/editline'
make[5]: `libedit.a' is up to date.
make[5]: Leaving directory `/aux2/src/openwrt/build/r12829/build_dir/mipsel/asterisk-1.2.24/editline'
make[5]: Entering directory `/aux2/src/openwrt/build/r12829/build_dir/mipsel/asterisk-1.2.24/db1-ast'
make[5]: `libdb1.a' is up to date.
make[5]: Leaving directory `/aux2/src/openwrt/build/r12829/build_dir/mipsel/asterisk-1.2.24/db1-ast'
make[5]: Entering directory `/aux2/src/openwrt/build/r12829/build_dir/mipsel/asterisk-1.2.24/stdtime'
make[5]: `libtime.a' is up to date.
make[5]: Leaving directory `/aux2/src/openwrt/build/r12829/build_dir/mipsel/asterisk-1.2.24/stdtime'
for x in res channels pbx apps codecs formats agi cdr funcs utils stdtime; do make -C $x || exit 1 ; done
make[5]: Entering directory `/aux2/src/openwrt/build/r12829/build_dir/mipsel/asterisk-1.2.24/res'
make[5]: *** No rule to make target `/aux2/src/openwrt/build/r12829/staging_dir/mipsel/usr/include/linux/zaptel.h', needed by `res_musiconhold.o'.  Stop.
make[5]: Leaving directory `/aux2/src/openwrt/build/r12829/build_dir/mipsel/asterisk-1.2.24/res'
make[4]: *** [subdirs] Error 1
make[4]: Leaving directory `/aux2/src/openwrt/build/r12829/build_dir/mipsel/asterisk-1.2.24'
make[3]: *** [/aux2/src/openwrt/build/r12829/build_dir/mipsel/asterisk-1.2.24/.built] Error 2
make[3]: Leaving directory `/aux2/src/openwrt/packages/net/asterisk'
make[2]: *** [package/asterisk/compile] Error 2
make[2]: Leaving directory `/aux2/src/openwrt/build/r12829'
make[1]: *** [/aux2/src/openwrt/build/r12829/staging_dir/mipsel/stamp/.package_compile] Error 2
make[1]: Leaving directory `/aux2/src/openwrt/build/r12829'
make: *** [world] Error 2

Attachments (0)

Change History (6)

comment:1 Changed 9 years ago by norbert

Is the zaptel-libtonezone package selected?

comment:2 follow-up: Changed 9 years ago by seniorr@…

norbert writes: "Is the zaptel-libtonezone package selected?"

Yes.

CONFIG_PACKAGE_zaptel-libtonezone=m
CONFIG_PACKAGE_zaptel14-libtonezone=m

Also, I see the same build failure on r12893 for atheros.

comment:3 in reply to: ↑ 2 Changed 9 years ago by norbert

Replying to seniorr@aracnet.com:

Also, I see the same build failure on r12893 for atheros.

Can you try it with zaptel 1.2.27 from /ticket/1109.html ?

Please download https://dev.openwrt.org/attachment/ticket/1109/zaptel-1.2.27.tar and replace the whole zaptel directory.

comment:4 Changed 9 years ago by seniorr@…

The download link in that package didn't work for me. Downloading from http://downloads.digium.com/pub/zaptel/zaptel-1.2.27.tar.gz worked for me.

comment:5 Changed 9 years ago by seniorr@…

... and it resulted in a built asterisk-1.2x, so yeah, that version of zaptel seems to fix the build failure. Please apply.

comment:6 Changed 9 years ago by zandbelt

  • Resolution set to invalid
  • Status changed from new to closed

asterisk 1.2.x was removed from the packages tree in favor of newer versions

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.