[Asterisk-Dev] CVS HEAD not compiling:

Linus Surguy linus at magrathea-telecom.co.uk
Tue Nov 30 00:45:08 MST 2004


It appears that CVS HEAD is not currently compiling! I don't think I'm doing 
anything stupid:

libpri:

iax1:/usr/src/libpri # make install
Makefile:92: .depend: No such file or directory
./mkdep -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g   `ls *.c`
cc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g     -c -o pri.o 
pri.c
cc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g     -c -o 
q921.o q921.c
cc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g     -c -o 
prisched.o prisched.c
cc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g     -c -o 
q931.o q931.c
q931.c: In function `receive_generic_digits':
q931.c:1567: warning: comparison between signed and unsigned
make: *** [q931.o] Error 1

asterisk:

gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
 -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -march=i686   -DZAPTEL_OPTIMIZATIONS 
  -DASTERISK_VERSION=\"CVS-HEAD-11/30/04-07:33:25\" -DASTERISK_VERSION_NUM=999999 
 -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" 
 -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" 
 -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" 
 -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" 
     -DBUSYDETECT_MARTIN      -fPIC   -c -o pbx_dundi.o pbx_dundi.c
pbx_dundi.c:54:18: zlib.h: No such file or directory
pbx_dundi.c: In function `update_key':
pbx_dundi.c:1315: warning: implicit declaration of function `crc32'
pbx_dundi.c: In function `dundi_decrypt':
pbx_dundi.c:1371: warning: implicit declaration of function `uncompress'
pbx_dundi.c:1371: error: `Z_OK' undeclared (first use in this function)
pbx_dundi.c:1371: error: (Each undeclared identifier is reported only once
pbx_dundi.c:1371: error: for each function it appears in.)
pbx_dundi.c: In function `dundi_encrypt':
pbx_dundi.c:1396: warning: implicit declaration of function `compress'
pbx_dundi.c:1397: error: `Z_OK' undeclared (first use in this function)
pbx_dundi.c: In function `socket_read':
pbx_dundi.c:1985: warning: comparison between signed and unsigned
make[1]: *** [pbx_dundi.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk/pbx'
make: *** [subdirs] Error 1




More information about the asterisk-dev mailing list