On 06/03/07, Anusuja Gagganapally <[EMAIL PROTECTED]> wrote:
> 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.
> /opt/aylus/lib/libnetsnmpagent.so: undefined reference to
> `perl_construct'
> `perl_parse'
<etc>
It looks as if the agent was probably compiled with support for
embedded perl
> 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
What is the output of
net-snmp-config --agent-libs
?
How does this compare to the linking flags that you are
using? (See above)
Dave
-------------------------------------------------------------------------
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