All,
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!
Following the
install script I had created I built an identical server to
the original one. I then tried to install asterisk from cvs head using
the following command 'cvs checkout zaptel libpri asterisk' when
downloaded, zaptel and libpri built fine however asterisk, returns
-
----------------------------------------------------------------------------------------------------------------------
make[1]: Entering directory
`/usr/src/asterisk/pbx'
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
gcc
-shared -Xlinker -x -o pbx_config.so pbx_config.o
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
gcc
-shared -Xlinker -x -o pbx_spool.so pbx_spool.o
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
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
pbx_dundi.c:31:18: zlib.h: No such file or
directory
pbx_dundi.c: In function `update_key':
pbx_dundi.c:1311: warning: implicit declaration of function
`crc32'
pbx_dundi.c: In function `dundi_decrypt':
pbx_dundi.c:1367: warning: implicit declaration of function
`uncompress'
pbx_dundi.c:1367: error: `Z_OK' undeclared (first use in this
function)
pbx_dundi.c:1367: error: (Each undeclared identifier is reported only
once
pbx_dundi.c:1367: error: for each function it appears
in.)
pbx_dundi.c: In function `dundi_encrypt':
pbx_dundi.c:1392: warning: implicit declaration of function
`compress'
pbx_dundi.c:1393: error: `Z_OK' undeclared (first use in this
function)
make[1]: *** [pbx_dundi.o] Error 1
make[1]: Leaving directory
`/usr/src/asterisk/pbx'
make: *** [subdirs] Error 1
----------------------------------------------------------------------------------------------------------------------
I decided that
maybe there was an issue with the latest CVS, so checked out with the command
'cvs checkout -D
"2005-07-22" zaptel libpri asterisk' again zaptel and libpri built fine, however
asterisk keeps looping through and returning -
----------------------------------------------------------------------------------------------------------------------
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
make[1]: Leaving directory
`/usr/src/asterisk'
sh: line 1: flex: command not found
Something is wrong with the version
string:
make[1]: Entering directory
`/usr/src/asterisk'
build_tools/make_version_h >
include/asterisk/version.h.tmp
sh: line 1: flex: command not found
Something is wrong with the version
string:
if cmp -s include/asterisk/version.h.tmp
include/asterisk/version.h ; then echo; else \
mv include/asterisk/version.h.tmp
include/asterisk/version.h ; \
fi
rm -f include/asterisk/version.h.tmp
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
sh: line 1: flex: command not found
Something is wrong with the version
string:
----------------------------------------------------------------------------------------------------------------------
Any help on either
would be much appreciated!
Regards,
Ray.
_______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
