[Coin-discuss] Compilation error

Ted Ralphs tkralphs at lehigh.edu
Thu Mar 30 19:02:26 EST 2006


Matthew Saltzman wrote:
> On Thu, 30 Mar 2006, Ted Ralphs wrote:
> 
>> For a while, I was making sure COIN continued to compile with gcc 2.95,
>> but I finally gave up on it. The last time I tried to build COIN with
>> gcc 2.95 (a few weeks ago), it failed for me also (though with a
>> different error). Sorry for the bad news...I think it should be possible
>> to use a more recent version of gcc under Redhat 7.2, though. If you get
>> the source, compile it, and install it in /usr/local, it should work 
>> fine.
> 
> 
> You probably also need to build current C and C++ libs and link 
> statically.  I think ABIs have changed significantly for recent versions 
> of the compiler.

I believe that if you build and install from source, the appropriate C 
libs are also built and installed automatically. Thus, you can easily 
have multiple major versions working side by side. To be honest, I don't 
know the details of what the installer does to make this work, but it 
doesn't seem to work to install multiple version from RPMs or Debian 
packages.

Cheers,

Ted
-- 
Dr. Ted Ralphs
Assistant Professor
Industrial and Systems Engineering
Lehigh University
(610)758-4784
tkralphs at lehigh.edu
www.lehigh.edu/~tkr2



More information about the Coin-discuss mailing list