← Back to team overview

yade-dev team mailing list archive

Re: General assistance

 

> Hmm. I reinstalled the external plugin, by changing its ./configure script.  Added -fPIC to its CFLAGS, CXXFLAGS and FFFLAGS.  It looks something like that:
> CFLAGS = -g -O2 -fPIC
> 
> Then it appears in the makefile.  I deleted the old libopt.a, and ran 'make install' to create it again.  But YADE still gives me the same error.  Do you know what I should do?  I am really lost.
Have a look if there is no way to create shared library (.so) from that
program. If it is just a few files, you can do it by hand, too -- using
scons separately or just by writing the compilation by hand, something
like (not tested):

  gcc -shared -fPIC -o libopt.so *.c

v.





Follow ups

References