in reply to Re^4: Unable to use created PerlXS Modul ( using c++ )
in thread Unable to use created PerlXS Modul ( using c++ )
hmm, cheap/dirty version, edit Makefile add myclass.o somewhere here
or run that command manually so myclass.o gets linked into MyTest.sog++ -shared -O2 -g -L/usr/local/lib -fstack-protector Mytest.o -o b +l +ib/arch/auto/Mytest/Mytest.so myclass/libmyclass.a \
if the tests pass after that then study ar manual (or xspp or Inline::CPP examples-generated-example-Makefile ) to figure out if you can fixup that portion of your Makefile so ar to generate the right type of file (like static version, or one with the right symbols being exported ...)
Try removing unitTest.o from the list
Also it would be helpful if you could provide a patch file like SOso-0.01.patch.txt , easier than copy/pasting multiple files from here on perlmonks ..
Thats all I have time for now :) See you next day
|
|---|