[Clp] problem about clp when make using gcc4.3.4

Stefan Vigerske stefan at math.hu-berlin.de
Sun Sep 11 06:31:42 EDT 2011


Hi,

probably a clash of different compiler versions.
Make sure that when linking the right stdc++ library is used (the one 
that fits to your compiler). Maybe set some -L flag via the LDFLAGS 
variable for configure.

Stefan

> Hi,
>      now I have to use clp on a suse claster, whose gcc version is 4.3.4. But
> when trying to install Clp1.14.1  there is errors as bellow:
>
>      ClpMain.o: In function `main':
>     ClpMain.cpp:(.text+0x1d0c): undefined reference to
> `std::ctype<char>::_M_widen_init() const'
>     ClpMain.cpp:(.text+0x1e9c): undefined reference to
> `std::ctype<char>::_M_widen_init() const'
>     ClpMain.cpp:(.text+0x1ebc): undefined reference to
> `std::ctype<char>::_M_widen_init() const'
>     ClpMain.cpp:(.text+0x228f): undefined reference to
> `std::ctype<char>::_M_widen_init() const'
>     ClpMain.cpp:(.text+0x22ab): undefined reference to
> `std::ctype<char>::_M_widen_init() const'
>     ClpMain.o:ClpMain.cpp:(.text+0x2e24): more undefined references to
> `std::ctype<char>::_M_widen_init() const' follow
>     collect2: ld returned 1 exit status
>
>   I thought maybe the Clp version is too new, so I tried other versons
> clp1.10, 1.9, 1.8. The errors are the same. when trying more older versions,
> there is other errors.
>   I don`t know where is wrong.....
>
>
>
>
> _______________________________________________
> Clp mailing list
> Clp at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/clp




More information about the Clp mailing list