[Kamailio-Users] compile problem on debian lenny

Andreas Heise aheise at gmx.de
Thu Mar 5 20:12:17 CET 2009


Dear all,

I tried to compile trunk version on debian lenny, but it failed.

flex, bison and so on are installed. During make the file lex.yy.c
is created by flex cfg.lex, but it seems to be that lex.yy.c is 
compiled twice in the second try lex.yy.c is missing?!

Any hint would be great ;-)

thx,
Andreas

kamailio:~/kamailio# make deb prefix=/usr all|more
bison -d -b cfg cfg.y
cfg.y: conflicts: 1 shift/reduce
flex cfg.lex
rm -f debian
ln -sf packaging/debian
dpkg-buildpackage -rfakeroot -tc
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: use CFLAGS from environment: -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -falign-loops -ftree-vectorize -mtune=prescott -Wold-style-definition -Wmissing-field-initializers -Wredundant-decls
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: use LDFLAGS from environment:  -Wl,-O2 -Wl,-E
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package kamailio
dpkg-buildpackage: source version 1.5.0-svn1
dpkg-buildpackage: source changed by Henning Westerholt <henning.westerholt at 1und1.de>
dpkg-buildpackage: host architecture i386  

...

Compiling lex.yy.c
gcc -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -falign-loops -ftree-vectorize -mtune=prescott -Wold-style-definition -Wmissing-field-initializers -Wredundant-decls    -DNAME='"kamailio"' -DVERSION='"1.6.0-dev0-notls"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 4.3.2"' -D__CPU_i386 -D__OS_linux
 -D__SMP_yes -DCFG_DIR='"/usr/etc/kamailio/"' -DPKG_MALLOC -DSHM_MMAP -DUSE_IPV6
 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DUSE_LOCAL_ROUTE -DF_MALLOC -DSVNREVISION='"2:5668"'  -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024  -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT -c lex.yy.c -o
lex.yy.o
gcc: lex.yy.c: No such file or directory
gcc: no input files
make: *** [lex.yy.o] Error 1
kamailio:~/kamailio#  


-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01



More information about the Users mailing list