<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN
class=125294417-23082005>All,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=125294417-23082005>wondering if you can
help, I had a perfectly working Mandrake 9.2 box running on a via Mini ITX
5000/classic. Asterisk (zaptel and libpri) was built from CVS head around
22nd July 2005. I decided now was a good time to ghost it up....although
humorous for you all suffice to say, I ended up with a partitionless box!
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=125294417-23082005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=125294417-23082005>Following the
install script I had created I built an identical server to
the original one. </SPAN></FONT><FONT size=2><SPAN
class=125294417-23082005>I then tried to install asterisk from cvs head using
the following command '</SPAN></FONT><FONT size=2><SPAN
class=125294417-23082005>cvs checkout zaptel libpri asterisk' when
downloaded, zaptel and libpri built fine however asterisk, returns
-</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=125294417-23082005><SPAN
class=125294417-23082005>----------------------------------------------------------------------------------------------------------------------</SPAN></SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=125294417-23082005><SPAN
class=125294417-23082005></SPAN></SPAN></FONT><FONT size=2><SPAN
class=125294417-23082005><FONT face=Arial size=2>make[1]: Entering directory
`/usr/src/asterisk/pbx'</FONT></SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=125294417-23082005><FONT face=Arial size=2>gcc
-pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g
-Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i586
-DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -fPIC -c -o pbx_config.o
pbx_config.c</FONT></SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=125294417-23082005><FONT face=Arial size=2>gcc
-shared -Xlinker -x -o pbx_config.so pbx_config.o</FONT></SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=125294417-23082005><FONT face=Arial size=2>gcc
-pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g
-Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i586
-DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -fPIC -c -o pbx_spool.o
pbx_spool.c</FONT></SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=125294417-23082005><FONT face=Arial size=2>gcc
-shared -Xlinker -x -o pbx_spool.so pbx_spool.o</FONT></SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=125294417-23082005><FONT face=Arial size=2>gcc
-pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g
-Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i586
-DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -fPIC -c -o dundi-parser.o
dundi-parser.c</FONT></SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=125294417-23082005><FONT face=Arial size=2>gcc
-pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g
-Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i586
-DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -fPIC -c -o pbx_dundi.o
pbx_dundi.c</FONT></SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=125294417-23082005><FONT face=Arial
size=2>pbx_dundi.c:31:18: zlib.h: No such file or
directory</FONT></SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=125294417-23082005><FONT face=Arial
size=2>pbx_dundi.c: In function `update_key':</FONT></SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=125294417-23082005><FONT face=Arial
size=2>pbx_dundi.c:1311: warning: implicit declaration of function
`crc32'</FONT></SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=125294417-23082005><FONT face=Arial
size=2>pbx_dundi.c: In function `dundi_decrypt':</FONT></SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=125294417-23082005><FONT face=Arial
size=2>pbx_dundi.c:1367: warning: implicit declaration of function
`uncompress'</FONT></SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=125294417-23082005><FONT face=Arial
size=2>pbx_dundi.c:1367: error: `Z_OK' undeclared (first use in this
function)</FONT></SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=125294417-23082005><FONT face=Arial
size=2>pbx_dundi.c:1367: error: (Each undeclared identifier is reported only
once</FONT></SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=125294417-23082005><FONT face=Arial
size=2>pbx_dundi.c:1367: error: for each function it appears
in.)</FONT></SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=125294417-23082005><FONT face=Arial
size=2>pbx_dundi.c: In function `dundi_encrypt':</FONT></SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=125294417-23082005><FONT face=Arial
size=2>pbx_dundi.c:1392: warning: implicit declaration of function
`compress'</FONT></SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=125294417-23082005><FONT face=Arial
size=2>pbx_dundi.c:1393: error: `Z_OK' undeclared (first use in this
function)</FONT></SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=125294417-23082005><FONT face=Arial
size=2>make[1]: *** [pbx_dundi.o] Error 1</FONT></SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=125294417-23082005><FONT face=Arial
size=2>make[1]: Leaving directory
`/usr/src/asterisk/pbx'</FONT></SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=125294417-23082005><FONT size=2><FONT
face=Arial>make: *** [subdirs] Error 1</FONT></DIV></FONT></SPAN></FONT>
<DIV><FONT face=Arial size=2><SPAN class=125294417-23082005><SPAN
class=125294417-23082005>----------------------------------------------------------------------------------------------------------------------</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=125294417-23082005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=125294417-23082005>I decided that
maybe there was an issue with the latest CVS, so checked out with the command
'</SPAN></FONT><FONT size=2><SPAN class=125294417-23082005>cvs checkout -D
"2005-07-22" zaptel libpri asterisk' again zaptel and libpri built fine, however
asterisk keeps looping through and returning -</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=125294417-23082005>----------------------------------------------------------------------------------------------------------------------</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2>build_tools/mkdep -a -d -pipe -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude
-I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i586 -DZAPTEL_OPTIMIZATIONS
-DBUSYDETECT_MARTIN -fomit-frame-pointer -pipe -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include
-D_REENTRANT -D_GNU_SOURCE -O6 -O6 -march=i586 -DZAPTEL_OPTIMIZATIONS
-DBUSYDETECT_MARTIN -fomit-frame-pointer ast_expr.c</FONT></DIV>
<DIV><FONT face=Arial size=2>make[1]: Leaving directory
`/usr/src/asterisk'</FONT></DIV>
<DIV><FONT face=Arial size=2>sh: line 1: flex: command not found</FONT></DIV>
<DIV><FONT face=Arial size=2>Something is wrong with the version
string:</FONT></DIV>
<DIV><FONT face=Arial size=2>make[1]: Entering directory
`/usr/src/asterisk'</FONT></DIV>
<DIV><FONT face=Arial size=2>build_tools/make_version_h >
include/asterisk/version.h.tmp</FONT></DIV>
<DIV><FONT face=Arial size=2>sh: line 1: flex: command not found</FONT></DIV>
<DIV><FONT face=Arial size=2>Something is wrong with the version
string:</FONT></DIV>
<DIV><FONT face=Arial size=2>if cmp -s include/asterisk/version.h.tmp
include/asterisk/version.h ; then echo; else \</FONT></DIV>
<DIV><FONT face=Arial size=2>mv include/asterisk/version.h.tmp
include/asterisk/version.h ; \</FONT></DIV>
<DIV><FONT face=Arial size=2>fi</FONT></DIV>
<DIV><FONT face=Arial size=2>rm -f include/asterisk/version.h.tmp</FONT></DIV>
<DIV><FONT face=Arial size=2>build_tools/mkdep -pipe -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include
-D_REENTRANT -D_GNU_SOURCE -O6 -march=i586 -DZAPTEL_OPTIMIZATIONS
-DBUSYDETECT_MARTIN -fomit-frame-pointer -pipe -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include
-D_REENTRANT -D_GNU_SOURCE -O6 -O6 -march=i586 -DZAPTEL_OPTIMIZATIONS
-DBUSYDETECT_MARTIN -fomit-frame-pointer acl.c aescrypt.c aeskey.c aestab.c
alaw.c app.c asterisk.c astmm.c autoservice.c callerid.c cdr.c channel.c
chanvars.c cli.c config.c config_old.c db.c devicestate.c dlfcn.c dns.c dnsmgr.c
dsp.c enum.c file.c frame.c fskmodem.c image.c indications.c io.c jitterbuf.c
loader.c logger.c manager.c md5.c muted.c netsock.c pbx.c plc.c poll.c privacy.c
rtp.c say.c sched.c slinfactory.c srv.c strcompat.c tdd.c term.c translate.c
ulaw.c utils.c</FONT></DIV>
<DIV><FONT face=Arial size=2>sh: line 1: flex: command not found</FONT></DIV>
<DIV><FONT size=2><FONT face=Arial>Something is wrong with the version
string:</FONT></DIV></FONT>
<DIV><FONT face=Arial size=2><SPAN
class=125294417-23082005>----------------------------------------------------------------------------------------------------------------------</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=125294417-23082005>Any help on either
would be much appreciated!</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=125294417-23082005></SPAN></FONT> </DIV>
<DIV><SPAN class=125294417-23082005><FONT face=Arial
size=2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=125294417-23082005><FONT face=Arial
size=2>Ray.</FONT></SPAN></DIV></BODY></HTML>