CPLEX 12.1 Callable Library compilation error

habby dhabbyc@gmail.com
Mon Feb 7 21:47:00 GMT 2011


Hello everybody,

I have a compilation problem using gcc. I'm using a 64 bit machine with
ubuntu. I use the callable library od cplex for a fortran code. At the end
of the compilation i'm getting the following output:

/usr/ilog/cplex121/lib/x86-64_debian4.0_4.1/static_pic/libcplex.a(env.o): In
function `CPXpsn':
../../../src/cplex/env.c:(.text+0x4f83): relocation truncated to fit:
R_X86_64_PC32 against `varserialnum.0'
 /usr/ilog/cplex121/lib/x86-64_debian4.0_4.1/static_pic/libcplex.a(env.o):
In function `_82e56fc0b749c69266ad587df4e89749':
../../../src/cplex/env.c:(.text+0x521f): relocation truncated to fit:
R_X86_64_PC32 against `utilstr.4564.0.101'
 ../../../src/cplex/env.c:(.text+0x5256): relocation truncated to fit:
R_X86_64_PC32 against `utilstr.4564.0.101'
/usr/ilog/cplex121/lib/x86-64_debian4.0_4.1/static_pic/libcplex.a(env.o): In
function `_0ebba97c596aff98c22f883faefbdfa2':
 ../../../src/cplex/env.c:(.text+0x8165): relocation truncated to fit:
R_X86_64_PC32 against `varserialnum.0'
 ../../../src/cplex/env.c:(.text+0x8172): relocation truncated to fit:
R_X86_64_PC32 against `varserialnum.0'
 ../../../src/cplex/env.c:(.text+0x818a): relocation truncated to fit:
R_X86_64_PC32 against `varserialnum.0'
 ../../../src/cplex/env.c:(.text+0x856e): relocation truncated to fit:
R_X86_64_PC32 against `varserialnum.0'
/usr/ilog/cplex121/lib/x86-64_debian4.0_4.1/static_pic/libcplex.a(env.o): In
function `_da91cff4c90de57833f92151b2b4242c':
 ../../../src/cplex/env.c:(.text+0x16572): relocation truncated to fit:
R_X86_64_PC32 against `lckserver.0'
 ../../../src/cplex/env.c:(.text+0x16592): relocation truncated to fit:
R_X86_64_PC32 against `mdserver.0'
 ../../../src/cplex/env.c:(.text+0x16614): relocation truncated to fit:
R_X86_64_PC32 against `mdserver.0'
 ../../../src/cplex/env.c:(.text+0x16674): additional relocation overflows
omitted from the output

I got the same type of errors at the compilation of some of the fortran and
c routines, but i manage to go around them through the mcmodel flag. The
interface for the cplex function are performed through an fcallsc.c routine
(for upper case and underscores). Any type of help is apreciated.

My machine is running on Ubuntu 10.04 x86-64, and the version of gcc is
4.4.3.

I apollogise for my english.

Thanks in advance.
-- 
View this message in context: http://old.nabble.com/CPLEX-12.1-Callable-Library-compilation-error-tp30868106p30868106.html
Sent from the gcc - fortran mailing list archive at Nabble.com.



More information about the Fortran mailing list