Hi,
I have copied the example "match.c" from "man perlembed" to my
system and
made a minor adjustment to the source to test the match code. I have
attempted
to build this code and the build is failing due to "undefined
reference's". Could
anyone let me know what the problem is please?
The build line I used is:
cc -o match match.c `perl -MExtUtils::Embed -e ccopts -e ldopts`
The results of the `perl....` is:
$ perl -MExtUtils::Embed -e ccopts -e ldopts
-rdynamic -L/usr/local/lib
/usr/local/bin/perl_5.6.1/lib/5.6.1/i686-linux/auto/DynaLoader/DynaLoader.a
-L/usr/local/bin/perl_5.6.1/lib/5.6.1/i686-linux/CORE -lperl -lnsl -ldl
-lm -lc -lcrypt -lutil
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64
-I/usr/local/bin/perl_5.6.1/lib/5.6.1/i686-linux/CORE
Thanks,
-Keith
--
Keith Griffin
603-899-6903
/
/
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/