Thread: [Quickfix-developers] Quickfix and SunPro Compiler
Brought to you by:
orenmnero
|
From: <Ste...@de...> - 2006-12-12 07:07:42
|
Hi all, I try to build Quickfix 1.12.4 with the SunPro compiler . . . ..................................................................................................................................................................... Envrionment: OS: SunOS 5.9 CC: SunC++ 5.8 ..................................................................................................................................................................... Doing: Setting the environment vars CC= .... CFLAGS= .... etc. (http://www.quickfixengine.org/quickfix/doc/html/install.html) calling ./configure calling make clean calling make ..................................................................................................................................................................... Error Message: 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) *** Error code 1 make: Fatal error: Command failed for target `at' Current working directory /export/home/hoelste/dev/quickfix/src *** Error code 1 make: Fatal error: Command failed for target `all-recursive' ..................................................................................................................................................................... Has anyone a description, whats going wrong? I think configure creates an incorrect Makefile. Has anyone a solution for this issue? If I use g++ 4.02 on the same maschine, all will be fine. However, I m u s t use the sun compiler. Many Thanks Stefan ----------------------------------------- Diese E-Mail enthaelt vertrauliche oder rechtlich geschuetzte Informationen. Wenn Sie nicht der beabsichtigte Empfaenger sind, informieren Sie bitte sofort den Absender und loeschen Sie diese E-Mail. Das unbefugte Kopieren dieser E-Mail oder die unbefugte Weitergabe der enthaltenen Informationen ist nicht gestattet. The information contained in this message is confidential or protected by law. If you are not the intended recipient, please contact the sender and delete this message. Any unauthorised copying of this message or unauthorised distribution of the information contained herein is prohibited. |
|
From: Sheetal C. <sch...@gm...> - 2006-12-12 18:32:26
|
I am getting the same error also. I also noticed these warning whens the various .cpp files were being compiled: ------------- 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 ----------- Stefan - can you please let me know if you are able to fix this? thanks QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html QuickFIX Support: http://www.quickfixengine.org/services.html Hi all, I try to build Quickfix 1.12.4 with the SunPro compiler . . . ..................................................................................................................................................................... Envrionment: OS: SunOS 5.9 CC: SunC++ 5.8 ..................................................................................................................................................................... Doing: Setting the environment vars CC= .... CFLAGS= .... etc. (http://www.quickfixengine.org/quickfix/doc/html/install.html) calling ./configure calling make clean calling make ..................................................................................................................................................................... Error Message: 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) *** Error code 1 make: Fatal error: Command failed for target `at' Current working directory /export/home/hoelste/dev/quickfix/src *** Error code 1 make: Fatal error: Command failed for target `all-recursive' ..................................................................................................................................................................... Has anyone a description, whats going wrong? I think configure creates an incorrect Makefile. Has anyone a solution for this issue? If I use g++ 4.02 on the same maschine, all will be fine. However, I m u s t use the sun compiler. Many Thanks Stefan -- View this message in context: http://www.nabble.com/Quickfix-and-SunPro-Compiler-tf2805901.html#a7838868 Sent from the QuickFIX - Dev mailing list archive at Nabble.com. |
|
From: <ale...@el...> - 2006-12-15 10:04:06
|
Hello together, We faced the same problem with the CC compiler under SunSolaris and we = have found a solution. In quickfix 1.12.2/1.12.4 there is a bug in the configure file.=20 The variable SHAREDFLAGS contains gcc specific compiler options that are = passed to the SunPro CC Compiler which does not understand it. This causes to the following compiler warnings: ------------- 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 ----------- The CC Compiler passes these unrecognized options to the linker ld which = also does not understand these options: ----------- 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 ----------- Solution: Modify the following line in the 'configure' file: original: SHAREDFLAGS=3D"-Wall -ansi -Wpointer-arith -Wwrite-strings $BOOST_CFLAGS = $STLPORT_CFLAGS $MYSQL_CFLAGS $POSTGRESQL_CFLAGS $XML_CPPFLAGS = $XML_CFLAGS $JAV A_CFLAGS $PYTHON_CFLAGS $RUBY_CFLAGS" modified: SHAREDFLAGS=3D"$BOOST_CFLAGS $STLPORT_CFLAGS $MYSQL_CFLAGS = $POSTGRESQL_CFLAGS $XML_CPPFLAGS $XML_CFLAGS $JAVA_CFLAGS $PYTHON_CFLAGS = $RUBY_CFLAGS" ----------- Off topic hint:=20 the original unpatched CC Sun Studio 11 contains fatal bugs, bad code is = generated ( in debug and release builds ) and this causes application = crashes. We currently use this patch level and the stability problems are fixed: = 'CC: Sun C++ 5.8 Patch 121017-03 2006/07/19' ----------- Bye Alex =20 -----Urspr=FCngliche Nachricht----- Von: qui...@li... = [mailto:qui...@li...] Im Auftrag = von Sheetal Chainraj Gesendet: Dienstag, 12. Dezember 2006 19:32 An: qui...@li... Betreff: Re: [Quickfix-developers] Quickfix and SunPro Compiler QuickFIX Documentation: = http://www.quickfixengine.org/quickfix/doc/html/index.html QuickFIX Support: http://www.quickfixengine.org/services.html I am getting the same error also. I also noticed these warning whens the = various .cpp files were being compiled: ------------- 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 ----------- Stefan - can you please let me know if you are able to fix this? thanks QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html QuickFIX Support: http://www.quickfixengine.org/services.html Hi all, I try to build Quickfix 1.12.4 with the SunPro compiler . . . .........................................................................= .........................................................................= ................... Envrionment: OS: SunOS 5.9 CC: SunC++ 5.8 .........................................................................= .........................................................................= ................... Doing: Setting the environment vars CC=3D .... CFLAGS=3D .... etc.=20 (http://www.quickfixengine.org/quickfix/doc/html/install.html) calling ./configure calling make clean calling make .........................................................................= .........................................................................= ................... Error Message: 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) *** Error code 1 make: Fatal error: Command failed for target `at' Current working directory /export/home/hoelste/dev/quickfix/src *** Error code 1 make: Fatal error: Command failed for target `all-recursive' .........................................................................= .........................................................................= ................... Has anyone a description, whats going wrong?=20 I think configure creates an incorrect Makefile.=20 Has anyone a solution for this issue? If I use g++ 4.02 on the same maschine, all will be fine. However, I m u s t use the sun compiler. Many Thanks Stefan=20 -- View this message in context: = http://www.nabble.com/Quickfix-and-SunPro-Compiler-tf2805901.html#a783886= 8 Sent from the QuickFIX - Dev mailing list archive at Nabble.com. -------------------------------------------------------------------------= Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share = your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers |