I'm trying to learn to use Inline::C and Inline::Pdlpp. I'm confused
by the following error. I made a small program to use data from a pdl
within a C routine. If I include the following line in the program:
         use Inline Pdlpp=>Config=>
             MYEXTLIB=>'/some/path/libsomelibrary.a';
the program runs as expected. But if I include instead the line
         use Inline Pdlpp=>Config=>
             LIBS=>'-L/some/path -lsomelibrary.a';
the program fails with a segmentation fault. I guess that the problem
is simply that I don't understand all the differences between MYEXTLIB and
LIBS. Can someone please explain?
Regards,
Luis



-- 

                                                                  o
W. Luis Mochán,                      | tel:(52)(777)329-1734     /<(*)
Instituto de Ciencias Físicas, UNAM  | fax:(52)(777)317-5388     `>/   /\
Apdo. Postal 48-3, 62251             |                           (*)/\/  \
Cuernavaca, Morelos, México          | [email protected]   /\_/\__/

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org                 



_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to