Errors while compiling SWIG wrappers on Solaris
Michael Schmitt
nomail at nomail.com
Tue Sep 9 13:14:29 EDT 2003
Hello.
I am trying to compile SWIG wrappers for the Python interface of libsvm on
SunOS 5.9, using g++ 3.2.1. I constantly get "relocations remain" error
from the linker.
I tried some hints I found on the web:
"-shared" for compiling and linking.
"-fPIC".
"-Wl,-G".
But none of these (also in combinations) worked. Any ideas?
Thanks for any help.
Michael
--------------------
Text relocation remains referenced
against symbol offset in file
<unknown> 0x2610 ../svm.o
<unknown> 0x2614 ../svm.o
.
.
.
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `svmc.so'
More information about the Python-list
mailing list