[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Linking Problem
From: |
Paulo Matos |
Subject: |
Re: Linking Problem |
Date: |
9 Nov 2005 15:01:23 -0800 |
User-agent: |
G2/0.2 |
Paul Pluzhnikov escreveu:
> pocmatos@gmail.com writes:
>
> > I'm currently trying to link a program to a library which results in
> > error. The library is a cplex75 library which my group bought to ilog a
> > few years ago. I'm currently running g++ :
> > $ g++-3.3 -v
>
> The library was probably not built with that version of g++
> (gcc-3.3 was released on May 14, 2003, the library name implies
> that it was compiled with g++3.0).
>
> You can't link together code compiled with different versions of gcc:
> ABI changes cause such code to be link-incompatible.
>
> > This is kind of sad because I cannot create a new cplex library since I
> > do not have access to the code and I cannot downgrade g++ since I'm not
> > admin
>
> You don't need to have administrative privileges on a machine to
> install gcc-3.0 on it. Just grab the source distribution, and
> configure it with
>
> ./configure --prefix=$HOME/gcc-3.0 --enable-languages=c,c++
> make ; make install
>
That's a very nice idea, I'll try that first thing in the morning as
soon I get to work. :D
Thanks,
Paulo Matos
> Cheers,
> --
> In order to understand recursion you must first understand recursion.
> Remove /-nsp/ for email.
- Linking Problem, pocmatos, 2005/11/09
- Re: Linking Problem, Paul Pluzhnikov, 2005/11/09
- Re: Linking Problem,
Paulo Matos <=
- Re: Linking Problem, Paulo Matos, 2005/11/10
- Re: Linking Problem, Paul Pluzhnikov, 2005/11/10
- Re: Linking Problem, Paulo Matos, 2005/11/10
- Re: Linking Problem, Paulo Matos, 2005/11/10
- Re: Linking Problem, Paul Pluzhnikov, 2005/11/10
- Re: Linking Problem, Paulo Matos, 2005/11/11
- Re: Linking Problem, Paul Pluzhnikov, 2005/11/11