OpenWrt Forum Archive

Topic: Why no asterisk package under kamikaze 7.09?

The content of this topic has been archived on 19 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I just downloaded and successfully compiled a copy of kamikaze_7.09.tar.bz2 on my AMD64 OpenSuSE v10.3 Linux computer. I noticed there isn't any support for asterisk and/or asterisk14 packages. Can anyone please tell me how do I add asterisk/asterisk14 package to build on this kamikaze_7.09.tar.bz2? Thanks.

What had you figured out?

Well, looks like no one can give me a good answer in this matter. So, I went ahead to download kamikazi-7.09.tar.bz2 package. I went to OpenWRT SVN repositories to grab some Makefile and patches files for the proper packages and compiled from scratch. The compilation seemed to OK until it tried to configure openh323 package and produce the following error messages:

configure: loading site script /opt/tmp/kamikaze_7.09/include/site/mips-linux-uclibc
checking for mips-linux-g++... mips-linux-uclibc-g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether mips-linux-uclibc-g++ accepts -g... yes
checking for mips-linux-gcc... mips-linux-uclibc-gcc
checking whether we are using the GNU C compiler... yes
checking whether mips-linux-uclibc-gcc accepts -g... yes
checking for mips-linux-uclibc-gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... mips-linux-uclibc-gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
OpenH323 version is 1.17.3
checking for /opt/tmp/kamikaze_7.09/build_mips/openh323-cvs-20051230/../pwlib/version.h... configure: error: cannot check for file existence when cross compiling
make[3]: *** [/opt/tmp/kamikaze_7.09/build_mips/openh323-cvs-20051230/.configured] Error 1
make[3]: Leaving directory `/opt/tmp/kamikaze_7.09/package/openh323'
make[2]: *** [openh323-compile] Error 2
make[2]: Leaving directory `/opt/tmp/kamikaze_7.09/package'
make[1]: *** [package/compile] Error 2
make[1]: Leaving directory `/opt/tmp/kamikaze_7.09'
make: *** [world] Error 2

Does anyone here have any suggestion to fix this problem? Is this why asterisk packages are not distributed on kamikaze-7.09 release? OTOH, the kamikaze-7.09 released by X-wrt seems to include asterisk as shown here. I sure can download this asterisk package and use it; however, I prefer to be able to compile openwrt-7.09 with asterisk package on my own.

(Last edited by mazilo on 27 Dec 2007, 16:44)

Just go to the snapshots and the packages there. You can download the .ipk files there and install them on Kamikaze 7.09
using the ipkg command and in my experience they work just fine. So you don't have to compile anything if your architecture is already present there.

Honestly, that was what I intended to do at first; however, since I didn't find asterisk packages for v7.09, I started to the compilation and openh323 just won't compile. Now,  I became very curious and would like to get this compilation working. smile I am hoping readers/experts here will be able to help to get this compilation problem resolved.

(Last edited by mazilo on 29 Dec 2007, 18:23)

mazilo wrote:

Honestly, that was what I intended to do at first; however, since I didn't find asterisk packages for v7.09, I started to the compilation and openh323 just won't compile. Now,  I became very curious and would like to get this compilation working. smile I am hoping readers/experts here will be able to help to get this compilation problem resolved.

Maybe you can go to edit the package/asterisk/asterisk.mk and remove the dependency on openh323.

Regards.

The discussion might have continued from here.