<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 &lt;MNediak@business.queensu.ca&gt;<br>From: Stefan Vigerske &lt;stefan@math.hu-berlin.de&gt;<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>&gt; I am trying to build a program using Clp and &nbsp;CoinUtils static libraries <br>&gt; (Clp-1.8.2 tarball) and g++ version 3.4.6 on x64_86 Linux. It is a -VPATH<br>&gt; configuration using '/home/nediakm/Clp-1.8.2/configure -C --enable-static <br>&gt; --disable-shared' (see attached config.log). When I issue 'make', 'make install' <br>&gt; and 'make test' commands, they all go through without a problem. When I compile <br>&gt; my program, the compilation also goes through. However the link step<br>&gt; <br>&gt; g++ -o cargo-lp cargo-lp.o qalp.o pclass.o network.o -L/home/nediakm/Clp-opt/lib <br>&gt; -lClp -lCoinUtils &nbsp;-lm<br>&gt; <br>&gt; fails with a bunch of these:<br>&gt; <br>&gt; /usr/bin/ld: `.gnu.linkonce.t._Z9CoinZeroNIiEvPT_i' referenced in section <br>&gt; `.rodata' of /home/nediakm/Clp-opt/lib/libClp.a(ClpPackedMatrix.o): defined in <br>&gt; discarded section `<br>&gt; .gnu.linkonce.t._Z9CoinZeroNIiEvPT_i' of <br>&gt; /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>