Hi all,

I need to embed perl into C but I have compile error. From the C code I call a perl 
function which uses 3 external modules Data, Spreadsheet and Getopt. I have installed 
those modules before.

cc -o interp interp.o xsinit.o `perl -MExtUtils::Embed -e ldopts`
xsinit.o: In function `xs_init':
xsinit.o(.text+0x14): undefined reference to `boot_Data'
xsinit.o(.text+0x2c): undefined reference to `boot_Spreadsheet'
xsinit.o(.text+0x44): undefined reference to `boot_Getopt'
collect2: ld returned 1 exit status

It seems to me that I would need to link with archive Data.a Spreadsheet.a and 
Getopt.a but I don't have such files anywhere !!!! Instead for example I have Socket.a 
!!!!!

What can I do ? Is there a way to generate .a files from those modules ?

Many thanks,

Luke


Find the best deals on the web at AltaVista Shopping!
http://www.shopping.altavista.com

Reply via email to