Hi,
I'm trying to build gob-2.0.18 from source tar ball on Ubuntu 10.04 LTS and it fails with the following messages:
dev02:~/src/gob2-2.0.18> ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for bison... bison -y
checking for flex... no
checking for lex... no
checking how to run the C preprocessor... gcc -E
checking for rm... /bin/rm
checking for mv... /bin/mv
checking for tar... /bin/tar
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
configure: creating ./config.status
config.status: creating gob2.spec
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating examples/Makefile
config.status: creating doc/gob2.1
config.status: creating config.h
config.status: executing depfiles commands
dev02:~/src/gob2-2.0.18> make
make all-recursive
make[1]: Entering directory `/home/dima/src/gob2-2.0.18'
Making all in src
make[2]: Entering directory `/home/dima/src/gob2-2.0.18/src'
make all-recursive
make[3]: Entering directory `/home/dima/src/gob2-2.0.18/src'
Making all in .
make[4]: Entering directory `/home/dima/src/gob2-2.0.18/src'
gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/local/share/gob2\" -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I.. -I../src -I.. -I../src -I/usr/local/include -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
mv -f .deps/main.Tpo .deps/main.Po
gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/local/share/gob2\" -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I.. -I../src -I.. -I../src -I/usr/local/include -g -O2 -MT treefuncs.o -MD -MP -MF .deps/treefuncs.Tpo -c -o treefuncs.o treefuncs.c
mv -f .deps/treefuncs.Tpo .deps/treefuncs.Po
gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/local/share/gob2\" -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I.. -I../src -I.. -I../src -I/usr/local/include -g -O2 -MT out.o -MD -MP -MF .deps/out.Tpo -c -o out.o out.c
mv -f .deps/out.Tpo .deps/out.Po
gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/local/share/gob2\" -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I.. -I../src -I.. -I../src -I/usr/local/include -g -O2 -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c
mv -f .deps/util.Tpo .deps/util.Po
gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/local/share/gob2\" -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I.. -I../src -I.. -I../src -I/usr/local/include -g -O2 -MT checks.o -MD -MP -MF .deps/checks.Tpo -c -o checks.o checks.c
mv -f .deps/checks.Tpo .deps/checks.Po
gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/local/share/gob2\" -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I.. -I../src -I.. -I../src -I/usr/local/include -g -O2 -MT parse.o -MD -MP -MF .deps/parse.Tpo -c -o parse.o parse.c
mv -f .deps/parse.Tpo .deps/parse.Po
gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/local/share/gob2\" -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I.. -I../src -I.. -I../src -I/usr/local/include -g -O2 -MT lexer.o -MD -MP -MF .deps/lexer.Tpo -c -o lexer.o lexer.c
mv -f .deps/lexer.Tpo .deps/lexer.Po
gcc -g -O2 -o gob2 main.o treefuncs.o out.o util.o checks.o parse.o lexer.o -lm -lglib-2.0
lexer.o: In function `yylex':
/home/dima/src/gob2-2.0.18/src/lexer.c:2568: undefined reference to `yywrap'
collect2: ld returned 1 exit status
make[4]: *** [gob2] Error 1
make[4]: Leaving directory `/home/dima/src/gob2-2.0.18/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/dima/src/gob2-2.0.18/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/dima/src/gob2-2.0.18/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dima/src/gob2-2.0.18'
make: *** [all] Error 2
dev02:~/src/gob2-2.0.18>
It looks like some dependency mismatch. Any ideas?
Regards,
Dmitri
Received on Sat Mar 05 2011 - 21:48:51 CST
This archive was generated by hypermail 2.2.0 : Sun Apr 17 2011 - 21:05:02 CDT