upgrade to ubuntu 12.04 breaks compiling

A. Grigoryants ar.grig7 at gmail.com
Mon Sep 10 20:13:21 CEST 2012


On 09/10/2012 10:08 PM, Marc Glisse wrote:
> On Mon, 10 Sep 2012, A. Grigoryants wrote:
>
>> Well, your Crystal ball is wrong this time :-)  I saw the case when 
>> it was true :-) ... And you are true about "shouldn't have worked 
>> before" :-)
>>
>> this is compilation string and compiler reply:
>> g++ -w -I.. -I. -o prog/fund_sys_chk.run  prog/fund_sys_chk.cpp -L. 
>> -L.. -lgmp -lgmpxx -lmy
>
> Wrong order. If libA depends on libB, you want -lB _after_ -lA.
>
THANK YOU VERY VERY MUCH !!!
It works !!!

but why the order was not affected in previous versions ?...........


More information about the gmp-discuss mailing list