[Asterisk-Dev] compile error - cdr_mysql.so
Tomaz Izanc
izol at itt.nu
Tue May 13 13:59:35 MST 2003
hi!
if i compile complete asterisk tree "make install" give no cdr_mysql.so ,
so I go to cdr\ and manualy compile cdr_mysql.so and get this error .
what can be wrong ?
thomas
iudex:/usr/src/asterisk/asterisk/cdr# make
Makefile:43: .depend: No such file or directory
../mkdep -fPIC -I/usr/include/mysql `ls *.c`
cc -fPIC -I/usr/include/mysql -c -o cdr_csv.o cdr_csv.c
cc -shared -Xlinker -x -o cdr_csv.so cdr_csv.o
cc -fPIC -I/usr/include/mysql -c -o cdr_mysql.o cdr_mysql.c
cc -shared -Xlinker -x -o cdr_mysql.so cdr_mysql.o -lmysqlclient -lz
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make: *** [cdr_mysql.so] Error 1
More information about the asterisk-dev
mailing list