[Coin-discuss] Compilation error

Cezik, Tolga mehmetc at amazon.com
Thu Mar 30 15:18:41 EST 2006


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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/coin-discuss/attachments/20060330/961c46cf/attachment.html>


More information about the Coin-discuss mailing list