Re: relocation error

2004-01-15 Thread Chris Masters
Thanks for your help Nick - much appreciated. Have you put libMyStaticClib.a in /usr/lib ? Do you need a -L to say where it is. All libs are in /usr/lib and headers /usr/include What does nm -C libMyStaticClib.a | grep FunctionName say? 8a0c T FunctionName(char*, int) So, I

Re: inline vs xs

2004-01-15 Thread Tassilo von Parseval
On Thu, Jan 15, 2004 at 06:10:06AM -0800 Chris Masters wrote: I've got a few linux C libraries that I need to wrap (function wrapping and some simplification) so that I get call from some Perl code. Is it best to use XS or Inline? I've used XS and am happy (apart from getting Makemaker

Re: [SOLVED] relocation error

2004-01-15 Thread Chris Masters
It was the header file format. I had used dos2unix to convert the format of the header into something readable in vi, but this must have changed the format of the header file somehow. I placed the original dos formatted header file into /usr/include and it worked. Thanks for you help Nick.

Help define XS functionality for Module::Build

2004-01-15 Thread Randy W. Sims
I'm helping Ken on the Module::Build project on aspects related to compiling XS/C code. We've taken most of the compiling code out of M::B and put it into another module, ExtUtils::CBuilder, so that it will be easier to manage and extend. It handles linking of dynamic libs from XS pretty well