Undefined reference to perl_construct when compiling netsnmp

"Anusuja Gagganapally" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <L60CDBFCD5AA14480B45228908382E4ED.1173212890.postal.aylus.com@MHS>
Hi,
   I have recently upgraded the net-snmp to 5.4 . I could compile
net-snmp without any problem , but when I try to compile my local code ,
which uses netsnmp library , the following happens. Could someone please
help me figure out what needs to be done. I downloaded everything I
could for perl. But still the error shows up.
 
Thanks in advance,
Anu.
 
L../../../../platform/ams/.atca/lib   -L../../../../common/.atca/lib
-L../../../../platform/log/logapi/.atca/lib   -lams   -lcommon
-llogapi   -L../../../../platform/pmutil/.atca/lib
-L../../../../platform/ahm/.atca/lib
-L../../../../platform/log/logapi/.atca/lib
-L../../../../platform/enm/.atca/lib   -lpmutil   -lahm   -llogapi
-lenm /opt/aylus/lib/libnetsnmp.so /opt/aylus/lib/libnetsnmpagent.so
/opt/aylus/lib/libnetsnmpmibs.so /opt/aylus/lib/libnetsnmphelpers.so
-lpmutil   -lahm   -llogapi   -lenm 
/opt/aylus/lib/libnetsnmpagent.so: undefined reference to
`perl_construct'
/opt/aylus/lib/libnetsnmpagent.so: undefined reference to `perl_parse'
/opt/aylus/lib/libnetsnmpagent.so: undefined reference to `Perl_newXS'
/opt/aylus/lib/libnetsnmpagent.so: undefined reference to `perl_run'
/opt/aylus/lib/libnetsnmpagent.so: undefined reference to
`boot_DynaLoader'
/opt/aylus/lib/libnetsnmpagent.so: undefined reference to `Perl_eval_pv'
/opt/aylus/lib/libnetsnmpagent.so: undefined reference to
`perl_destruct'
/opt/aylus/lib/libnetsnmpagent.so: undefined reference to `perl_alloc'
/opt/aylus/lib/libnetsnmpagent.so: undefined reference to `perl_free'
collect2: ld returned 1 exit status
make[5]: *** [../../../../atca_stage/opt/aylus/bin/snmpd] Error 1

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.