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@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#
On Thursday 05 March 2009, Andreas Heise wrote:
Hi Andreas,
this is indeed strange. I create debian packages for lenny of trunk every day, did not run into this problem so far. Probably you've did already, but have you tried a make distclean, and compile again? Do you've done any changes to the Makefile, perhaps enabled a certain #define or something like this?
Cheers,
Henning
Hello,
On 03/05/2009 09:12 PM, Andreas Heise wrote:
Is the normal compilation working ok? E.g.,: make all
Cheers, Daniel