Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

embedding perl interpreter question

Status
Not open for further replies.

DoraC

Programmer
May 7, 2002
98
US
Hi,

I'm trying to embed the Perl interpreter into a c program on our HP9000 UNIX server. I'm following the examples in "Advanced Perl Programming". Anyway, my command-line is
Code:
cc codeGen.c -o codeGen -I "/usr/ccs/bin/ld" -I "/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/CORE" -L "/opt/perl/lib/5
.6.1/PA-RISC1.1-thread-multi/CORE" -lperl -lm -Dbool=char -DHAS_BOOL
and the output is
Code:
/usr/ccs/bin/ld: Unsatisfied symbols:
   getspnam (first referenced in /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/CORE/libperl.a(perl.o)) (code)

I am at a loss - what other libraries/directories should I be including?
Any help on this would be very much appreciated,
Thanks -
Dora C
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top