[Coin-discuss]Configuring Osi on Maverick (TACC)

Andreas Waechter andreasw at watson.ibm.com
Wed Nov 29 11:54:40 EST 2006


Hi Yang,

Did you do the entire compilation process from the scratch?  I.e., did you 
either delete everything or do a 'make distclean' before rerunning the 
configuration and make again?

If you did everything from scratch and it didn't work, it is difficult to 
say what is going on without more information.

I suggest you open a ticket at https://projects.coin-or.org/BuildTools and 
attach the entire output of your configuration and your make.

Regards,

Andreas

> Hi Andreas,
>
> Thanks for the reply. I just tried your suggestion to set the CXXFLAGS and
> CFLAGS while configuring, still doesn't work. Is there any other way that i 
> can
> try to fix it?
>
> Thanks -- yang
>
> Quoting Andreas Waechter <andreasw at watson.ibm.com>:
>
>> Hi Yang,
>> 
>> The error message seems to indicate that the -xarch=v8plus is used
>> inconsistently...
>> 
>> Are you specifying CXXFLAGS and CFLAGS for configure, either in the
>> command line or as environment variables?  If not, this might be a problem
>> with the libtool GNU package (which has some bugs).
>> 
>> If you are setting CXXFLAGS and/or CFLAGS yourself, make sure that you are
>> setting -xarch=v8plus for both.
>> 
>> If you are not setting CXXFLAGS and CFLAGS, please try the following
>> 
>> ./configure CXX=CC CC=cc CXXFLAGS='-O4  -DNDEBUG  -xarch=v8plus' \
>>    CFLAGS='-O4  -DNDEBUG  -xarch=v8plus'
>> 
>> Please let us know if that helps (and what made the difference), so that
>> we can maybe fix the problem on the long run.
>> 
>> Cheers
>> 
>> Andreas
>> 
>> On Wed, 29 Nov 2006, Yang Yuan wrote:
>> 
>>> 
>>> Hi Laci,
>>> 
>>> I figured out the prior problem, now it can configure successfully. 
>>> however, I
>>> can't get rid of the following error during the compilation process.
>>> 
>>> /bin/bash ../libtool --tag=CXX --mode=link CC  -O4  -DNDEBUG 
>>> -xarch=v8plus
>>> -o clp -rpath /home/teragrid/tg457654/Coin-Osi/lib ClpMain.o 
>>> CbcOrClpParam.o
>>> MyEventHandler.o MyMessageHandler.o unitTest.o libClp.la
>>> /home/teragrid/tg457654/Coin-Osi/Clp/../CoinUtils/src/libCoinUtils.la -lm 
>>> `cat
>>> /home/teragrid/tg457654/Coin-Osi/Clp/../CoinUtils/coinutils_addlibs.txt`
>>> CC -O4 -DNDEBUG -xarch=v8plus -o .libs/clp ClpMain.o CbcOrClpParam.o
>>> MyEventHandler.o MyMessageHandler.o unitTest.o  ./.libs/libClp.so
>>> /home/teragrid/tg457654/Coin-Osi/Clp/../CoinUtils/src/.libs/libCoinUtils.so 
>>> -lm
>>> -R/home/teragrid/tg457654/Coin-Osi/lib
>>> Undefined                       first referenced
>>> symbol                             in file
>>> long __rwstd::InterlockedIncrement(long*) ClpMain.o
>>> [Hint: An object compiled with -xarch=v8plus must be linked with 
>>> -xarch=v8plus]
>>> 
>>> long __rwstd::InterlockedExchange(long*,long) ClpMain.o
>>> [Hint: An object compiled with -xarch=v8plus must be linked with 
>>> -xarch=v8plus]
>>> 
>>> ld: fatal: Symbol referencing errors. No output written to .libs/clp
>>> make[2]: *** [clp] Error 1
>>> make[2]: Leaving directory `/home/teragrid/tg457654/Coin-Osi/Clp/src'
>>> make[1]: *** [all-recursive] Error 1
>>> make[1]: Leaving directory `/home/teragrid/tg457654/Coin-Osi/Clp'
>>> make: *** [all-recursive] Error 1
>>> 
>>> 
>>> Any suggestions will be really appreciated!
>>> 
>>> Thanks -- yang
>>> 
>>> 
>>> 
>>> Quoting Laszlo Ladanyi <ladanyi at us.ibm.com>:
>>> 
>>>>> See `config.log' for more details.
>>>> 
>>>> Well, could you post the content of the file?
>>>> 
>>>> Thanks,
>>>> --Laci
>>>> 
>>>> On Tue, 28 Nov 2006, Yang Yuan wrote:
>>>> 
>>>>> 
>>>>> Hi,
>>>>> 
>>>>> I am trying to compile OSI on the Maverick in TACC, which i believe is a 
>>>>> Sun
>>>>> V890 with 32 GB memory and 8 dual core 1.2 GHz UltraSparc IV processors.
>>>>> 
>>>>> Every time i do the configuration, it always comes up with the following 
>>>>> errors:
>>>>> 
>>>>> ./configure CXX=CC CC=cc
>>>>> 
>>>>> checking for egrep... grep -E
>>>>> checking for a BSD-compatible install... /usr/local/bin/install -c
>>>>> checking whether build environment is sane... yes
>>>>> checking for gawk... gawk
>>>>> checking whether make sets $(MAKE)... yes
>>>>> checking whether to enable maintainer-specific portions of Makefiles... 
>>>>> no
>>>>> checking whether directory CoinUtils is available... yes
>>>>> checking whether directory Data/Netlib is available... yes
>>>>> checking whether directory Data/Sample is available... yes
>>>>> checking whether directory Clp is available... yes
>>>>> checking whether directory DyLP is available... yes
>>>>> checking whether directory Vol is available... yes
>>>>> checking whether directory Osi is available... yes
>>>>> configure: creating ./config.status
>>>>> config.status: creating Makefile
>>>>> configure: configuring in CoinUtils
>>>>> configure: running /bin/bash './configure'
>>>>> --prefix=/home/teragrid/tg457654/Coin-Osi  'CXX=CC' 'CC=cc'
>>>>> --cache-file=/dev/null --srcdir=.
>>>>> checking build system type... sparc-sun-solaris2.9
>>>>> checking whether we want to compile in debug mode... no
>>>>> checking for C compiler default output file name... configure: error: C 
>>>>> compiler
>>>>> cannot create executables
>>>>> See `config.log' for more details.
>>>>> configure: error: /bin/bash './configure' failed for CoinUtils
>>>>> ********************************************************************
>>>>> 
>>>>> Can anybody tell me what's wrong? really appreciated!!
>>>>> 
>>>>> Thanks -- yang
>>>>> 
>>>>> _______________________________________________
>>>>> Coin-discuss mailing list
>>>>> Coin-discuss at list.coin-or.org
>>>>> http://list.coin-or.org/mailman/listinfo/coin-discuss
>>>>> 
>>>> 
>>>> _______________________________________________
>>>> Coin-discuss mailing list
>>>> Coin-discuss at list.coin-or.org
>>>> http://list.coin-or.org/mailman/listinfo/coin-discuss
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Coin-discuss mailing list
>>> Coin-discuss at list.coin-or.org
>>> http://list.coin-or.org/mailman/listinfo/coin-discuss
>>> 
>> _______________________________________________
>> Coin-discuss mailing list
>> Coin-discuss at list.coin-or.org
>> http://list.coin-or.org/mailman/listinfo/coin-discuss
>
>
>
> _______________________________________________
> Coin-discuss mailing list
> Coin-discuss at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-discuss
>



More information about the Coin-discuss mailing list