<FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2><div>Hi Stefan,<br>
<br>
I do not think this is a false warning. I have tried to rebuild
everything and noticed that I actually missed similar messages after
running 'make'. An interesting thing is that these are not treated as
errors by 'make' when I build Clp but prevent executable from being
generated for my own code. Should I add some flags for ignoring
warnings?<br>
<br>
Thanks much.<br>
<br>
Best,<br>
Mikhail</div><div><br><font color="#990099">-----clp-bounces@list.coin-or.org wrote: -----<br><br></font><blockquote style="border-left: 2px solid #000000; padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">To: Mikhail Nediak <MNediak@business.queensu.ca><br>From: Stefan Vigerske <stefan@math.hu-berlin.de><br>Sent by: clp-bounces@list.coin-or.org<br>Date: 11/13/2008 11:39AM<br>cc: clp@list.coin-or.org<br>Subject: Re: [Clp] Link error<br><br><font face="Courier New,Courier,monospace" size="3">Hi,<br><br>> I am trying to build a program using Clp and CoinUtils static libraries <br>> (Clp-1.8.2 tarball) and g++ version 3.4.6 on x64_86 Linux. It is a -VPATH<br>> configuration using '/home/nediakm/Clp-1.8.2/configure -C --enable-static <br>> --disable-shared' (see attached config.log). When I issue 'make', 'make install' <br>> and 'make test' commands, they all go through without a problem. When I compile <br>> my program, the compilation also goes through. However the link step<br>> <br>> g++ -o cargo-lp cargo-lp.o qalp.o pclass.o network.o -L/home/nediakm/Clp-opt/lib <br>> -lClp -lCoinUtils -lm<br>> <br>> fails with a bunch of these:<br>> <br>> /usr/bin/ld: `.gnu.linkonce.t._Z9CoinZeroNIiEvPT_i' referenced in section <br>> `.rodata' of /home/nediakm/Clp-opt/lib/libClp.a(ClpPackedMatrix.o): defined in <br>> discarded section `<br>> .gnu.linkonce.t._Z9CoinZeroNIiEvPT_i' of <br>> /home/nediakm/Clp-opt/lib/libClp.a(ClpPackedMatrix.o)<br><br>This are just some kind of false warning that can happen with some<br>versions of gcc.<br>Are you sure that no executable is build? Are there other errors than these?<br><br>Stefan<br><br>-- <br>Stefan Vigerske<br>Humboldt University Berlin, Numerical Mathematics<br><a href="http://www.math.hu-berlin.de/%7Estefan">http://www.math.hu-berlin.de/~stefan</a><br>_______________________________________________<br>Clp mailing list<br>Clp@list.coin-or.org<br><a href="http://list.coin-or.org/mailman/listinfo/clp">http://list.coin-or.org/mailman/listinfo/clp</a><br></font>
</blockquote><br></div></FONT>