Menu

#21 shared library fails to compile (solved)

closed
JNI (5)
0.9.6
5
2012-04-09
2006-04-29
No

Maybe I'm doing something the wrong way, but I cannot
recompile the shared native library without passing
-fPIC to gcc (3.4.5). It seems pretty obvious to me,
that a shared library needs position independent code
so I can live with it.
(The annoying bit of this was, that using JCurses
failed with complaining about the non-existence of the
library file when using the precompiled library from
the jcurses-linux archive...)

Discussion


Log in to post a comment.