Thread: [Quickfix-developers] Solaris compile problems
Brought to you by:
orenmnero
From: Tim F. <ti...@fi...> - 2004-08-17 19:16:07
|
I tried to send this question to the users list but it was bounced back. I have a Solaris 2.8 machine that I am trying to compile quickfix on. Here is the setup gcc - 3.4.1 automake - 1.8.4 libtool - 1.5 autoconf - 2.59 libxml2 - 2.6.9 m4 - 1.4.1 I have an older version from a Mac that is running quickfix that fails to compile giving me an error: configure.in:14: /usr/local/bin/m4: ERROR: Reading inserted file: No such file or directory If I run bootstrap first on this build it also gives the same error. I downloaded the latest version to see if that was the problem but this does not compile either. I get configure to run through with no problems but when I then run make I get: g++ -g -O2 -Wall -I/usr/local/include/libxml2 -I/include -I/include/solaris -o .libs/at at.o C++/.libs/libquickfix.so -L/usr/local/lib -L/usr/lib -L/usr/openwin/lib -L/usr/local/ssl/lib /usr/local/lib/libstdc++.so -L/usr2/SOURCES/S8/gcc-3.4.1/objdir/sparc-sun-solaris2.8/libstdc++-v3/ src -L/usr2/SOURCES/S8/gcc-3.4.1/objdir/sparc-sun-solaris2.8/libstdc++-v3/ src/.libs -L/usr2/SOURCES/S8/gcc-3.4.1/objdir/gcc -L/usr/local/sparc-sun-solaris2.8/bin -L/usr/local/sparc-sun-solaris2.8/lib -L/usr/local/lib/../sparc-sun-solaris2.8/lib /usr/local/lib/libxml2.so -lz -lpthread /usr/local/lib/libiconv.so -lm -lsocket -lnsl -liberty -Wl,-R -Wl,/usr/local/lib ld: warning: file /usr/local/lib/libstdc++.so: attempted multiple inclusion of file If I run bootstrap I get the same message with regards to configure.in. I don't see anything in the list archives, so any hints/help from people that have gotten this to work? Tim |
From: Oren M. <or...@qu...> - 2004-08-17 20:33:08
|
I'm seeing a lot of similar reports on various message boards for other projects. The common thread is people who are using a very current version of libtool on Solaris 2.8 (a pattern you seem to match). Apparently how dynamic linking is done was radically changed sometime after libtool 1.4d. What is being said is that it has to do with is the visibility of const variables outside their translation units. So I guess there are three things you can try: 1) remove the const declarations that are causing the problems 2) run configure with --disable-shared 3) roll back your libtool to 1.4d or earlier As for the bootstrap problem, that is a Solaris specific bug in m4. You can learn more about it and how to fix it here: http://lists.gnu.org/archive/html/bug-m4/2004-07/msg00029.html --oren On Aug 17, 2004, at 1:11 PM, Tim Feeney wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX FAQ: > http://www.quickfixengine.org/wikifix/index.php?QuickFixFAQ > QuickFIX Support: http://www.quickfixengine.org/services.html > > I tried to send this question to the users list but it was bounced > back. > > I have a Solaris 2.8 machine that I am trying to compile quickfix on. > Here is the setup > gcc - 3.4.1 > automake - 1.8.4 > libtool - 1.5 > autoconf - 2.59 > libxml2 - 2.6.9 > m4 - 1.4.1 > > I have an older version from a Mac that is running quickfix that fails > to compile giving me an error: > configure.in:14: /usr/local/bin/m4: ERROR: Reading inserted file: No > such file or directory > If I run bootstrap first on this build it also gives the same error. > > I downloaded the latest version to see if that was the problem but this > does not compile either. I get configure to run through with no > problems but when I then run make I get: > g++ -g -O2 -Wall -I/usr/local/include/libxml2 -I/include > -I/include/solaris -o .libs/at at.o C++/.libs/libquickfix.so > -L/usr/local/lib -L/usr/lib -L/usr/openwin/lib -L/usr/local/ssl/lib > /usr/local/lib/libstdc++.so > -L/usr2/SOURCES/S8/gcc-3.4.1/objdir/sparc-sun-solaris2.8/libstdc++-v3/ > src > -L/usr2/SOURCES/S8/gcc-3.4.1/objdir/sparc-sun-solaris2.8/libstdc++-v3/ > src/.libs > -L/usr2/SOURCES/S8/gcc-3.4.1/objdir/gcc > -L/usr/local/sparc-sun-solaris2.8/bin > -L/usr/local/sparc-sun-solaris2.8/lib > -L/usr/local/lib/../sparc-sun-solaris2.8/lib /usr/local/lib/libxml2.so > -lz -lpthread /usr/local/lib/libiconv.so -lm -lsocket -lnsl -liberty > -Wl,-R -Wl,/usr/local/lib > ld: warning: file /usr/local/lib/libstdc++.so: attempted multiple > inclusion of file > > If I run bootstrap I get the same message with regards to configure.in. > > I don't see anything in the list archives, so any hints/help from > people > that have gotten this to work? > > Tim > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |