Witam,
Mam problem z kompilacją demona LMS w dystrybucji Centos 6.5. x64. Miał ktoś może analogiczny problem aby podpowiedzieć ?
./configure .. ... checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no ....
make
make[4]: Entering directory `/home/roli/test/lms/daemon/modules/parser' /bin/sh ../../libtool --tag=CC --mode=link gcc -Ilib -g -O2 -fPIC -DGNU -no-undefined -module -avoid-version -flm -lfl -lm -o parser.la -rpath /usr/local/lmsd/lib/lmsd parser_la-parser.lo lib/libtscript.a extensions/libparser_extensions.a -ldl
*** Warning: Linking the shared library parser.la against the *** static library lib/libtscript.a is not portable!
*** Warning: Linking the shared library parser.la against the *** static library extensions/libparser_extensions.a is not portable! libtool: link: gcc -shared -fPIC -DPIC .libs/parser_la-parser.o -lfl -lm lib/libtscript.a extensions/libparser_extensions.a -ldl -O2 -Wl,-soname -Wl,parser.so -o .libs/parser.so /usr/bin/ld: cannot find -lfl collect2: ld returned 1 exit status make[4]: *** [parser.la] Error 1 make[4]: Leaving directory `/home/roli/test/lms/daemon/modules/parser' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/roli/test/lms/daemon/modules/parser' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/roli/test/lms/daemon/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/roli/test/lms/daemon' make: *** [all] Error 2
configure.log
configure:3879: checking for flex configure:3895: found /usr/bin/flex configure:3906: result: flex configure:3944: flex conftest.l configure:3948: $? = 0 configure:3950: checking lex output file root configure:3964: result: lex.yy configure:3969: checking lex library configure:3983: gcc -o conftest -g -O2 conftest.c >&5 /tmp/cciJQy2p.o: In function `input': /home/roli/test/lms/daemon/lex.yy.c:1169: undefined reference to `yywrap' /tmp/cciJQy2p.o: In function `yylex': /home/roli/test/lms/daemon/lex.yy.c:868: undefined reference to `yywrap' /tmp/cciJQy2p.o: In function `main': /home/roli/test/lms/daemon/conftest.l:18: undefined reference to `yywrap' collect2: ld returned 1 exit status configure:3983: $? = 1 configure: failed program was:
----
uczestnicy (1)
-
Lukasz Rolbiecki