Doesn't compile - Suse 9.1

Comment on Asterisk addon asterisk-addons
Joined: Mon 24 of Jan, 2005

Re: Doesn't compile - Suse 9.1

Posted:Wed 09 of Feb, 2005 (00:22 UTC)
I needed zlib-devel .
No way to retract this post tho.
Joined: Mon 24 of Jan, 2005

Doesn't compile - Suse 9.1

Posted:Mon 07 of Feb, 2005 (21:44 UTC)
DIFL1PC8643:/home/bill/asterisk-addons-1.0.4 # make install
./mkdep -fPIC -I../asterisk -D_GNU_SOURCE  -I/usr/include/mysql   `ls *.c`
make -C format_mp3 all
make[1]: Entering directory `/home/bill/asterisk-addons-1.0.4/format_mp3'
gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations   -D_REENTRANT -D_GNU_SOURCE  -O6    -c -o common.o common.c
gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations   -D_REENTRANT -D_GNU_SOURCE  -O6    -c -o dct64_i386.o dct64_i386.c
gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations   -D_REENTRANT -D_GNU_SOURCE  -O6    -c -o decode_ntom.o decode_ntom.c
gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations   -D_REENTRANT -D_GNU_SOURCE  -O6    -c -o layer3.o layer3.c
gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations   -D_REENTRANT -D_GNU_SOURCE  -O6    -c -o tabinit.o tabinit.c
gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations   -D_REENTRANT -D_GNU_SOURCE  -O6    -c -o interface.o interface.c
gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations   -D_REENTRANT -D_GNU_SOURCE  -O6    -c -o format_mp3.o format_mp3.c
gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations   -D_REENTRANT -D_GNU_SOURCE  -O6  -shared -Xlinker -x -o format_mp3.so common.o dct64_i386.o decode_ntom.o layer3.o tabinit.o interface.o format_mp3.o
make[1]: Leaving directory `/home/bill/asterisk-addons-1.0.4/format_mp3'
cc -fPIC -I../asterisk -D_GNU_SOURCE  -I/usr/include/mysql     -c -o cdr_addon_mysql.o cdr_addon_mysql.c
cc -shared -Xlinker -x -o cdr_addon_mysql.so cdr_addon_mysql.o -lmysqlclient -lz  -L/usr/lib/mysql
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make: *** [cdr_addon_mysql.so] Error 1