Skip to Content.
Sympa Menu

sm-discuss - [SM-Discuss] swig

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: tomas.necas AT volny.cz
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: [SM-Discuss] swig
  • Date: Fri, 16 Sep 2005 12:16:09 +0200 (CEST)

Hi
please I have trouble with swig. I have done everything according
to Swig Tutorial http://www.swig.org/tutorial.html and the third
command
ld -G -shared example.o example_wrap.o -o _example.so
make me this trouble :
...
example_wrap.o(.text+0x1d24):example_wrap.c: undefined reference to
'Perl_sv_setpv' ...
I tried to something like that >
ld -G -shared example.o example_wrap.o -o _example.so -lc -lpthread
-L/lib/perl5/5.8/cygwin/CORE -lperl
but the same result or it doesnt can some of this commands (like a
-lc)

Please whats wrong?
win32, perl5.8, swig
thanks tom








Archive powered by MHonArc 2.6.24.

Top of Page