[Asterisk-Dev] CVS HEAD not compiling: (zlib-devel / kernel)

Jonathan Towne jtowne at slic.com
Sun Dec 5 08:14:25 MST 2004


Alternately, I have seen this if you have compiled a custom kernel
and forgotten to enable the zlib options there.. I had zlib-devel
installed and it still failed like this.

Keep it in mind; I used 2.4.28 .. Make sure you have all of these:

CONFIG_CRC32=y
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y

Hope that helps, if nothing more.. to get it into the archives.

-- Jonathan Towne

On Tue, Nov 30, 2004 at 07:45:08AM -0000, Linus Surguy scribbled:
# 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
# 
# _______________________________________________
# Asterisk-Dev mailing list
# Asterisk-Dev at lists.digium.com
# http://lists.digium.com/mailman/listinfo/asterisk-dev
# To UNSUBSCRIBE or update options visit:
#   http://lists.digium.com/mailman/listinfo/asterisk-dev

-- 

/~\  The ASCII Ribbon Campaign
\ /    No HTML/RTF in email
 X     No Word docs in email
/ \  Respect for open standards




More information about the asterisk-dev mailing list