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