lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] Upgrading to gcc-4.9.2


From: Greg Chicares
Subject: Re: [lmi] Upgrading to gcc-4.9.2
Date: Thu, 17 Dec 2015 23:41:52 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0

On 2015-12-17 20:53, Greg Chicares wrote:
> On 2015-12-17 15:51, Greg Chicares wrote:
>> On 2015-12-17 15:42, Greg Chicares wrote:
>> [...]
>>> Now it seems that it would link except for this:
>>> 
>>> /opt/lmi/local/include/wx-3.1/wx/wxcrtbase.h:696: undefined reference to 
>>> `wxCRT_StrdupA(char const*)'
>>> collect2: error: ld returned 1 exit status
>>> /lmi/src/lmi/workhorse.make:799: recipe for target 'skeleton.dll' failed
>>> GNUmakefile:168: recipe for target 
>>> '/lmi/src/lmi/../build/lmi/CYGWIN_NT-5.1/gcc/ship' failed
>> 
>> Oh...I need to recompile wx with the new compiler and '-std=c++11'.
> 
> Done; but I still get:
> 
> skeleton.o: In function `wxStrdup':
> /opt/lmi/local/include/wx-3.1/wx/wxcrtbase.h:696: undefined reference to 
> `wxCRT_StrdupA(char const*)'
> collect2: error: ld returned 1 exit status
> /lmi/src/lmi/workhorse.make:799: recipe for target 'skeleton.dll' failed

Actually, above I rebuilt wx, but without '-std=c++11'.

Then I rebuilt wx again, this time with '-std=c++11', and now lmi links.

It's still not usable because, e.g.:

Error
Assertion 'infinity<double>() == limits_.back()' failed.
[file /lmi/src/lmi/stratified_charges.cpp, line 137]

which was foretold by unit tests.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]