[Coin-discuss] Making Bcp - Solaris
Tommy Thomadsen
tt at imm.dtu.dk
Fri Mar 14 08:25:47 EST 2003
Hi,
I am trying to make the MaxCut example but can't seem to make it work
using Solaris 8 and gcc 2.95.2. (I did suceed using Linux.)
First lines of error message included below (in total it is ~500 lines).
I am not sure this is (only) a COIN problem so I looked for a solution in
c++ newsgroup. When the same error shows up it is suggested that the
compiler "thinks" it is compiling c code due to gcc being used instead of
g++. So I found the command issued by make (using make -n) and g++ _is_
used. The command is:
g++ -I- -fPIC -Wall -Wpointer-arith -Wbad-function-cast -Wcast-qual
-Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes
-Wnested-externs -pipe -O6 -Iinclude -c CoinFactorization1.cpp -o
SunOS-O/CoinFactorization1.o
Issuing the command manually gives the same error.
Any suggestions?
Thank you!
Tommy
gmake -f /home3/tt/COIN/Makefiles/Makefile.lib install
gmake[1]: Entering directory `/home3/tt/COIN/Coin'
Compiling CoinFactorization1.cpp
In file included from /usr/unic/share/gcc/2.95.2/include/g++-3/alloc.h:21,
from
/usr/unic/share/gcc/2.95.2/include/g++-3/std/bastring.h:39,
from /usr/unic/share/gcc/2.95.2/include/g++-3/string:6,
from include/CoinFactorization.hpp:14,
from CoinFactorization1.cpp:10:
/usr/unic/share/gcc/2.95.2/include/g++-3/stl_alloc.h:142: template with C
linkage
/usr/unic/share/gcc/2.95.2/include/g++-3/stl_alloc.h:224: template with C
linkage
/usr/unic/share/gcc/2.95.2/include/g++-3/stl_alloc.h:243: template with C
linkage
/usr/unic/share/gcc/2.95.2/include/g++-3/stl_alloc.h:320: template with C
linkage
....
More information about the Coin-discuss
mailing list