[Quickfix-developers] building quickfix-1.12.4 with Sun compilers on Solaris 10
Brought to you by:
orenmnero
From: Maxim Y. <max...@gm...> - 2009-04-20 11:20:26
|
Hi there, I am trying to compile quickfix-1.12.4 on Solaris 10 using Sun compilers and am having difficulty. Here follows what I do: $ tar xvzf ~/Download/quickfix-1.12.4.tar.gz $ cd quickfix $ uname -a SunOS thsunx04 5.10 Generic_137138-09 i86pc i386 i86pc $ CC -V CC: Sun C++ 5.9 SunOS_i386 Patch 124864-09 2008/12/16 $ cc -V cc: Sun C 5.9 SunOS_i386 Patch 124868-08 2008/11/25 usage: cc [ options] files. Use 'cc -flags' for details $ ./configure CC=cc CXX=CC checking for a BSD-compatible install... /opt/sfw/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for C++ compiler default output... 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... no checking whether CC accepts -g... yes checking for style of include used by make... GNU checking dependency style of CC... none checking for gcc... cc checking whether we are using the GNU C compiler... no checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking dependency style of cc... none checking build system type... i386-pc-solaris2.10 checking host system type... i386-pc-solaris2.10 checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... egrep checking for non-GNU ld... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking for /usr/ccs/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/ccs/bin/nm -p checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... cc -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... CC -E checking for g77... no checking for f77... f77 checking whether we are using the GNU Fortran 77 compiler... no checking whether f77 accepts -g... yes checking the maximum length of command line arguments... 262144 checking command to parse /usr/ccs/bin/nm -p output from cc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if cc static flag works... yes checking for cc option to produce PIC... -KPIC checking if cc PIC flag -KPIC works... yes checking if cc supports -c -o file.o... yes checking whether the cc linker (/usr/ccs/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... solaris2.10 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no 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 whether the CC linker (/usr/ccs/bin/ld) supports shared libraries... yes checking for CC option to produce PIC... -KPIC checking if CC PIC flag -KPIC works... yes checking if CC supports -c -o file.o... yes checking whether the CC linker (/usr/ccs/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... solaris2.10 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for f77 option to produce PIC... -KPIC checking if f77 PIC flag -KPIC works... no checking if f77 supports -c -o file.o... no checking whether the f77 linker (/usr/ccs/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... solaris2.10 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking for flex... flex checking for yywrap in -lfl... no checking for yywrap in -ll... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes ./configure: line 19211: ruby: command not found checking for xml2-config... /opt/atm/bin/xml2-config checking for libxml - version >= 2.0.0... yes (version 2.7.3) checking for shutdown in -lc... no checking for shutdown in -lsocket... no checking for inet_addr in -lc... no checking for inet_addr in -lnsl... no checking for nanosleep in -lc... no checking for nanosleep in -lrt... no checking for ftime in -lcompat... no checking which threading environment to use... -lpthread checking for pthread_create in -lpthread... no checking stdio.h usability... no checking stdio.h presence... yes configure: WARNING: stdio.h: present but cannot be compiled configure: WARNING: stdio.h: check for missing prerequisite headers? configure: WARNING: stdio.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to bug...@gn.... ## configure: WARNING: ## ------------------------------------ ## checking for stdio.h... yes checking for STREAMS ioctl... yes 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... no checking for boost::pool_allocator... no checking for boost::fast_pool_allocator... no checking __gnu_cxx::__pool_alloc... no checking __gnu_cxx::__mt_alloc... no checking __gnu_cxx::bitmap_allocator... no checking for cplus_demangle in -liberty... no checking if select modifies timeval parameter... no 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 src/ruby/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: executing depfiles commands $ gmake ... gmake[4]: Entering directory `/home/yegorm/src/quickfix/src/C++/test' source='FieldBaseTestCase.cpp' object='FieldBaseTestCase.lo' libtool=yes \ depfile='.deps/FieldBaseTestCase.Plo' tmpdepfile='.deps/FieldBaseTestCase.TPlo' \ depmode=none /bin/bash ../../../config/depcomp \ /bin/bash ../../../libtool --mode=compile CC -DHAVE_CONFIG_H -I. -I. -I../../.. -I.. -g -Wall -ansi -Wpointer-arith -Wwrite-strings -I/opt/atm/include/libxml2 -O0 -g -c -o FieldBaseTestCase.lo `test -f 'FieldBaseTestCase.cpp' || echo './'`FieldBaseTestCase.cpp mkdir .libs CC -DHAVE_CONFIG_H -I. -I. -I../../.. -I.. -g -Wall -ansi -Wpointer-arith -Wwrite-strings -I/opt/atm/include/libxml2 -O0 -g -c FieldBaseTestCase.cpp -KPIC -DPIC -o .libs/FieldBaseTestCase.o CC: Warning: Option -Wall passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -ansi passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -Wpointer-arith passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -Wwrite-strings passed to ld, if ld is invoked, ignored otherwise ... CC -g -Wall -ansi -Wpointer-arith -Wwrite-strings -I/opt/atm/include/libxml2 -o .libs/at at.o C++/.libs/libquickfix.so -L/opt/atm/lib/32 /opt/atm/lib/32/libxml2.so -lz -lpthread -lm -lsocket -lnsl -R/usr/local/lib -R/opt/atm/lib/32 CC: Warning: Option -Wall passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -ansi passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -Wpointer-arith passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -Wwrite-strings passed to ld, if ld is invoked, ignored otherwise /usr/ccs/bin/ld: illegal option -- W /usr/ccs/bin/ld: illegal option -- n /usr/ccs/bin/ld: illegal option -- W /usr/ccs/bin/ld: illegal option -- W /usr/ccs/bin/ld: illegal option -- w usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?] file(s) ... gmake[3]: *** [at] Error 1 ... I seems that configure.in always assumes gcc. Are Sun compilers supported? My ultimate goal is to build quickfix using Sun CC in 64-bit (-m64) mode using stlport (-library=stlport4). -- Max |