[Coin-discuss] Compilation error

Matthew Saltzman mjs at ces.clemson.edu
Thu Mar 30 18:08:39 EST 2006


On Thu, 30 Mar 2006, Ted Ralphs wrote:

> For a while, I was making sure COIN continued to compile with gcc 2.95,
> but I finally gave up on it. The last time I tried to build COIN with
> gcc 2.95 (a few weeks ago), it failed for me also (though with a
> different error). Sorry for the bad news...I think it should be possible
> to use a more recent version of gcc under Redhat 7.2, though. If you get
> the source, compile it, and install it in /usr/local, it should work fine.

You probably also need to build current C and C++ libs and link 
statically.  I think ABIs have changed significantly for recent versions 
of the compiler.


>
> Cheers,
>
> Ted
>
> Cezik, Tolga wrote:
>>
>> Hello there,
>>
>> I'm trying to build the Coin utilities in ${CoinDir}/Coin/   on RedHat
>> 7.2 using gcc 2.95.3.   I have done this on Darwin before and had no
>> problems. But in this case I am getting the error below (after creating
>> the dependencies):
>>
>> .
>> .
>> .
>> .
>> Creating dependency CoinFactorization1.d
>>
>> make_real[1]: Leaving directory `/home/mehmetc/COIN/Coin'
>> make_real[1]: Entering directory `/home/mehmetc/COIN/Coin'
>>
>> Compiling CoinFactorization1.cpp
>> In file included from CoinFactorization1.cpp:11:
>> include/CoinHelperFunctions.hpp: In function `void
>> CoinCheckDoubleZero(double *, int)':
>> include/CoinHelperFunctions.hpp:416: implicit declaration of function
>> `int printf(...)'
>> include/CoinHelperFunctions.hpp: At top level:
>> include/CoinHelperFunctions.hpp:713: type specifier omitted for parameter
>> include/CoinHelperFunctions.hpp:713: parse error before `*'
>> include/CoinHelperFunctions.hpp:741: type specifier omitted for parameter
>> include/CoinHelperFunctions.hpp:741: parse error before `*'
>> make_real[1]: *** [Linux-O2/CoinFactorization1.o] Error 1
>> make_real[1]: Leaving directory `/home/mehmetc/COIN/Coin'
>> make_real: *** [install] Error 2
>>
>>
>> I'm really baffled by this. Any ideas? It doesn’t look like a gcc
>> version problem to me but not sure (I saw people in the list who have
>> done it using gcc 2.95.3)
>>
>> Please help!
>> Thnx,
>> --tolga
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Coin-discuss mailing list
>> Coin-discuss at list.coin-or.org
>> http://list.coin-or.org/mailman/listinfo/coin-discuss
>
>
>

-- 
 		Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs


More information about the Coin-discuss mailing list