[Clp] Link error
Stefan Vigerske
stefan at math.hu-berlin.de
Thu Nov 13 11:39:33 EST 2008
Hi,
> I am trying to build a program using Clp and CoinUtils static libraries
> (Clp-1.8.2 tarball) and g++ version 3.4.6 on x64_86 Linux. It is a -VPATH
> configuration using '/home/nediakm/Clp-1.8.2/configure -C --enable-static
> --disable-shared' (see attached config.log). When I issue 'make', 'make install'
> and 'make test' commands, they all go through without a problem. When I compile
> my program, the compilation also goes through. However the link step
>
> g++ -o cargo-lp cargo-lp.o qalp.o pclass.o network.o -L/home/nediakm/Clp-opt/lib
> -lClp -lCoinUtils -lm
>
> fails with a bunch of these:
>
> /usr/bin/ld: `.gnu.linkonce.t._Z9CoinZeroNIiEvPT_i' referenced in section
> `.rodata' of /home/nediakm/Clp-opt/lib/libClp.a(ClpPackedMatrix.o): defined in
> discarded section `
> .gnu.linkonce.t._Z9CoinZeroNIiEvPT_i' of
> /home/nediakm/Clp-opt/lib/libClp.a(ClpPackedMatrix.o)
This are just some kind of false warning that can happen with some
versions of gcc.
Are you sure that no executable is build? Are there other errors than these?
Stefan
--
Stefan Vigerske
Humboldt University Berlin, Numerical Mathematics
http://www.math.hu-berlin.de/~stefan
More information about the Clp
mailing list