[Home]

Summary:ASTERISK-02628: CVS HEAD fails compile. Dundi problem?
Reporter:brc007 (brc007)Labels:
Date Opened:2004-10-19 03:11:17Date Closed:2004-10-20 16:59:04
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Asterisk fails to compile. Using a clean checkout of CVS HEAD as of (Oct 19'th) 0800 GMT.
I've verified this on two seperate servers.

****** ADDITIONAL INFORMATION ******

pbx_dundi.c:46:18: zlib.h: No such file or directory
pbx_dundi.c: In function `update_key':
pbx_dundi.c:1043: warning: implicit declaration of function `crc32'
pbx_dundi.c: In function `dundi_decrypt':
pbx_dundi.c:1099: warning: implicit declaration of function `uncompress'
pbx_dundi.c:1099: error: `Z_OK' undeclared (first use in this function)
pbx_dundi.c:1099: error: (Each undeclared identifier is reported only once
pbx_dundi.c:1099: error: for each function it appears in.)
pbx_dundi.c: In function `dundi_encrypt':
pbx_dundi.c:1124: warning: implicit declaration of function `compress'
pbx_dundi.c:1125: error: `Z_OK' undeclared (first use in this function)
make[1]: *** [pbx_dundi.o] Error 1
make[1]: Leaving directory `/tmp/asterisk/pbx'
make: *** [subdirs] Error 1
Comments:By: brc007 (brc007) 2004-10-19 03:35:04

Status: RESOLVED

It seems that 'zlib1g-dev' is now required to compile Asterisk (more specifically, pbx_dundi.c).

Perhaps this could be added to the "Things you will want to install Asterisk" list on http://asterisk.org/index.php?menu=download .

By: Brian West (bkw918) 2004-10-19 10:25:01

Who in their right mind doesn't have zlib/zlib-dev installed :P

By: Matthew Fredrickson (mattf) 2004-10-19 12:56:09

Missing library dev headers