[Quickfix-developers] 1.11.1 build errors on gcc 3.4.6 system
Brought to you by:
orenmnero
|
From: Shawn Y. <sya...@ge...> - 2006-06-14 18:11:43
|
Hi, I'm having some problems building on Ubuntu 6.06 with g++ 3.4.6.
The make fails with a couple pages of these link errors:
make[3]: Leaving directory =
`/home/syarbrough/src/gvelocity/trunk/downloaded/quickfix-1.11.1/src/C++'=
make[3]: Entering directory =
`/home/syarbrough/src/gvelocity/trunk/downloaded/quickfix-1.11.1/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -IC++ -g -O2 =
-I/usr/include/libxml2 -MT at.o -MD -MP -MF ".deps/at.Tpo" -c -o at.o =
at.cpp; \
then mv -f ".deps/at.Tpo" ".deps/at.Po"; else rm -f =
".deps/at.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=3DCXX --mode=3Dlink g++ -g -O2 =
-I/usr/include/libxml2 -o at at.o C++/libquickfix.la -lpthread =
-L/usr/lib -lxml2 -lz -lm -liberty
mkdir .libs
g++ -g -O2 -I/usr/include/libxml2 -o .libs/at at.o =
C++/.libs/libquickfix.so -lpthread -L/usr/lib /usr/lib/libxml2.so -lz =
-lm -liberty -Wl,--rpath =
-Wl,/home/syarbrough/src/gvelocity/trunk/downloaded//lib
creating at
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -IC++ -g -O2 =
-I/usr/include/libxml2 -MT ut.o -MD -MP -MF ".deps/ut.Tpo" -c -o ut.o =
ut.cpp; \
then mv -f ".deps/ut.Tpo" ".deps/ut.Po"; else rm -f =
".deps/ut.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=3DCXX --mode=3Dlink g++ -g -O2 =
-I/usr/include/libxml2 -o ut ut.o C++/test/libquickfixcpptest.la =
C++/libquickfix.la -lpthread -L/usr/lib -lxml2 -lz -lm -liberty
g++ -g -O2 -I/usr/include/libxml2 -o .libs/ut ut.o =
C++/test/.libs/libquickfixcpptest.a -L/usr/lib -ldl =
C++/.libs/libquickfix.so -lpthread /usr/lib/libxml2.so -lz -lm -liberty =
-Wl,--rpath -Wl,/home/syarbrough/src/gvelocity/trunk/downloaded//lib
`.L18638' referenced in section `.rodata' of =
C++/test/.libs/libquickfixcpptest.a(SessionTestCase.o): defined in =
discarded section =
`.gnu.linkonce.t._ZN3FIX15SessionTestCase4Test9fromAdminERKNS_7MessageERK=
NS_9SessionIDE' of =
C++/test/.libs/libquickfixcpptest.a(SessionTestCase.o)
`.L18639' referenced in section `.rodata' of =
C++/test/.libs/libquickfixcpptest.a(SessionTestCase.o): defined in =
discarded section =
`.gnu.linkonce.t._ZN3FIX15SessionTestCase4Test9fromAdminERKNS_7MessageERK=
NS_9SessionIDE' of =
C++/test/.libs/libquickfixcpptest.a(SessionTestCase.o)
`.L18649' referenced in section `.rodata' of =
C++/test/.libs/libquickfixcpptest.a(SessionTestCase.o): defined in =
discarded section =
`.gnu.linkonce.t._ZN3FIX15SessionTestCase4Test9fromAdminERKNS_7MessageERK=
NS_9SessionIDE' of =
C++/test/.libs/libquickfixcpptest.a(SessionTestCase.o)
`.L18641' referenced in section `.rodata' of =
C++/test/.libs/libquickfixcpptest.a(SessionTestCase.o): defined in =
discarded section =
`.gnu.linkonce.t._ZN3FIX15SessionTestCase4Test9fromAdminERKNS_7MessageERK=
NS_9SessionIDE' of =
C++/test/.libs/libquickfixcpptest.a(SessionTestCase.o)
...
`.L18660' referenced in section `.rodata' of =
C++/test/.libs/libquickfixcpptest.a(SessionTestCase.o): defined in =
discarded section =
`.gnu.linkonce.t._ZN3FIX15SessionTestCase4Test7toAdminERNS_7MessageERKNS_=
9SessionIDE' of C++/test/.libs/libquickfixcpptest.a(SessionTestCase.o)
collect2: ld returned 1 exit status
make[3]: *** [ut] Error 1
make[3]: Leaving directory =
`/home/syarbrough/src/gvelocity/trunk/downloaded/quickfix-1.11.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory =
`/home/syarbrough/src/gvelocity/trunk/downloaded/quickfix-1.11.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory =
`/home/syarbrough/src/gvelocity/trunk/downloaded/quickfix-1.11.1'
make: *** [all] Error 2
If I try to run bootstrap it doesn't fix the above problem and it gives =
me these warnings:
$ ./bootstrap
aclocal...
/usr/share/aclocal/tcl.m4:20: warning: underquoted definition of =
SC_PATH_TCLCONFIG
run info '(automake)Extending aclocal'
or see =
http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/tcl.m4:124: warning: underquoted definition of =
SC_PATH_TKCONFIG
/usr/share/aclocal/tcl.m4:228: warning: underquoted definition of =
SC_LOAD_TCLCONFIG
/usr/share/aclocal/tcl.m4:295: warning: underquoted definition of =
SC_LOAD_TKCONFIG
/usr/share/aclocal/tcl.m4:332: warning: underquoted definition of =
SC_PROG_TCLSH
/usr/share/aclocal/tcl.m4:378: warning: underquoted definition of =
SC_BUILD_TCLSH
/usr/share/aclocal/tcl.m4:406: warning: underquoted definition of =
SC_ENABLE_SHARED
/usr/share/aclocal/tcl.m4:446: warning: underquoted definition of =
SC_ENABLE_FRAMEWORK
/usr/share/aclocal/tcl.m4:501: warning: underquoted definition of =
SC_ENABLE_THREADS
/usr/share/aclocal/tcl.m4:600: warning: underquoted definition of =
SC_ENABLE_SYMBOLS
/usr/share/aclocal/tcl.m4:657: warning: underquoted definition of =
SC_ENABLE_LANGINFO
/usr/share/aclocal/tcl.m4:708: warning: underquoted definition of =
SC_CONFIG_MANPAGES
/usr/share/aclocal/tcl.m4:840: warning: underquoted definition of =
SC_CONFIG_CFLAGS
/usr/share/aclocal/tcl.m4:2035: warning: underquoted definition of =
SC_SERIAL_PORT
/usr/share/aclocal/tcl.m4:2164: warning: underquoted definition of =
SC_MISSING_POSIX_HEADERS
/usr/share/aclocal/tcl.m4:2244: warning: underquoted definition of =
SC_PATH_X
/usr/share/aclocal/tcl.m4:2330: warning: underquoted definition of =
SC_BLOCKING_STYLE
/usr/share/aclocal/tcl.m4:2395: warning: underquoted definition of =
SC_TIME_HANDLER
/usr/share/aclocal/tcl.m4:2472: warning: underquoted definition of =
SC_BUGGY_STRTOD
/usr/share/aclocal/tcl.m4:2534: warning: underquoted definition of =
SC_TCL_LINK_LIBS
/usr/share/aclocal/tcl.m4:2611: warning: underquoted definition of =
SC_TCL_EARLY_FLAG
/usr/share/aclocal/tcl.m4:2623: warning: underquoted definition of =
SC_TCL_EARLY_FLAGS
/usr/share/aclocal/tcl.m4:2657: warning: underquoted definition of =
SC_TCL_64BIT_FLAGS
autoheader...
libtoolize...
automake...
autoconf...
Now run configure with any arguments necessary
I'm also attaching my configure output below. I see a scary warning =
about the missing script being too old. Anyone have ideas?
Shawn Yarbrough
Senior E-Trading Developer
Gelber Group, LLC
sya...@ge...
$ g++ --version
g++ (GCC) 3.4.6 (Ubuntu 3.4.6-1ubuntu2)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is =
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR =
PURPOSE.
$ ./configure =
--prefix=3D/home/syarbrough/src/gvelocity/trunk/downloaded/
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/syarbrough/src/gvelocity/trunk/downloaded/quickfix-1.11.1/missing: =
Unknown `--run' option
Try =
`/home/syarbrough/src/gvelocity/trunk/downloaded/quickfix-1.11.1/missing =
--help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared =
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared =
libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared =
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for xml2-config... /usr/bin/xml2-config
checking for libxml - version >=3D 2.0.0... yes (version 2.6.24)
checking for shutdown in -lc... yes
checking for inet_addr in -lc... yes
checking for nanosleep in -lc... yes
checking for ftime in -lcompat... no
checking which threading environment to use... -lpthread
checking for pthread_create in -lpthread... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for STREAMS ioctl... no
checking for socklen_t... yes
checking for ftime... yes
checking for set_terminate in the global namespace... no
checking for set_terminate in the std namespace... yes
checking for typeinfo in the global namespace... no
checking for typeinfo in the std namespace... yes
checking for gethostbyname_r with input result... yes
checking for gethostbyname_r with return result... no
checking for cplus_demangle in -liberty... yes
checking if select modifies timeval parameter... yes
configure: creating ./config.status
config.status: creating quickfix.pc
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/C++/Makefile
config.status: creating src/C++/test/Makefile
config.status: creating src/java/Makefile
config.status: creating src/java/cfg/Makefile
config.status: creating src/java/src/Makefile
config.status: creating src/java/src/quickfix/Makefile
config.status: creating src/java/src/quickfix/field/Makefile
config.status: creating src/java/src/quickfix/fix40/Makefile
config.status: creating src/java/src/quickfix/fix41/Makefile
config.status: creating src/java/src/quickfix/fix42/Makefile
config.status: creating src/java/src/quickfix/fix43/Makefile
config.status: creating src/java/src/quickfix/fix44/Makefile
config.status: creating src/python/Makefile
config.status: creating bin/Makefile
config.status: creating bin/cfg/Makefile
config.status: creating spec/Makefile
config.status: creating test/Makefile
config.status: creating test/atrun/Makefile
config.status: creating test/cfg/Makefile
config.status: creating test/definitions/Makefile
config.status: creating test/definitions/server/Makefile
config.status: creating test/definitions/server/future/Makefile
config.status: creating examples/Makefile
config.status: creating examples/executor/Makefile
config.status: creating examples/executor/C++/Makefile
config.status: creating examples/executor/java/Makefile
config.status: creating examples/executor/java/src/Makefile
config.status: creating examples/ordermatch/Makefile
config.status: creating examples/ordermatch/test/Makefile
config.status: creating examples/tradeclient/Makefile
config.status: creating examples/tradeclientgui/Makefile
config.status: creating examples/tradeclientgui/banzai/Makefile
config.status: creating examples/tradeclientgui/banzai/test/Makefile
config.status: creating examples/tradeclientgui/banzai/src/Makefile
config.status: creating =
examples/tradeclientgui/banzai/src/quickfix/Makefile
config.status: creating =
examples/tradeclientgui/banzai/src/quickfix/banzai/Makefile
config.status: creating =
examples/tradeclientgui/banzai/src/quickfix/banzai/ui/Makefile
config.status: creating doc/Makefile
config.status: creating doc/html/Makefile
config.status: creating CPPTest/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
|