Hi Ivan

Ivan Pulido wrote:
> Well, when I try to build ascend from svn using the command "scons
> prefix=/usr" I get the following error, please can you tell me what am
> I doing wrong?
>
> /usr/bin/ld: solvers/lsode/lsode.os: relocation R_X86_64_32S against
> `a local symbol' can not be used when making a shared object;
> recompile with -fPIC
> solvers/lsode/lsode.os: could not read symbols: Bad value
>
> scons: *** [solvers/lsode/liblsode_ascend.so] Error 1
> scons: building terminated because of errors.

What was the command that SCons was using to build lsode.f into lsode.os?

I do vaguely recall some kind of linking problem occurring in 64-bit
systems, but I thought it had already been resolved.

As the error message suggests, you need to build .os files using the
-fPIC compiler option (for g77 or gfortran, whichever). As I recall.

Cheers
JP


------------------------------------------------------------------------------
_______________________________________________
Ascend-sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ascend-sim-users

Reply via email to