RE: Undefined reference to perl_construct when compiling netsnmp

"Anusuja Gagganapally" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <L7E20F5CB34DF4cbbA7A6DE6110F174E4.1173278533.postal.aylus.com@MHS>
Thanks Dave , that error got solved , but a new one is showing up.Please 
let me know what should be done to correct this?

Thanks,
Anu.

/home/agagganapally/2.3/2.3/products/asn/platform/snmp/src/common/.atca/
obj/snmpd.o: In function `main':
/home/agagganapally/2.3/2.3/products/third_party/net-snmp/agent/mibgroup
/mib_module_shutdown.h:3: undefined reference to 
`shutdown_snmpNotifyFilterTable'
/home/agagganapally/2.3/2.3/products/third_party/net-snmp/agent/mibgroup
/mib_module_shutdown.h:4: undefined reference to `shutdown_ifTable'
/home/agagganapally/2.3/2.3/products/third_party/net-snmp/agent/mibgroup
/mib_module_shutdown.h:5: undefined reference to 
`shutdown_ipAddressTable'
/home/agagganapally/2.3/2.3/products/third_party/net-snmp/agent/mibgroup
/mib_module_shutdown.h:6: undefined reference to 
`shutdown_inetNetToMediaTable'
/home/agagganapally/2.3/2.3/products/third_party/net-snmp/agent/mibgroup
/mib_module_shutdown.h:7: undefined reference to 
`shutdown_ipSystemStatsTable'
/home/agagganapally/2.3/2.3/products/third_party/net-snmp/agent/mibgroup
/mib_module_shutdown.h:8: undefined reference to 
`shutdown_ipCidrRouteTable'
/home/agagganapally/2.3/2.3/products/third_party/net-snmp/agent/mibgroup
/mib_module_shutdown.h:9: undefined reference to 
`shutdown_inetCidrRouteTable'
/home/agagganapally/2.3/2.3/products/third_party/net-snmp/agent/mibgroup
/mib_module_shutdown.h:10: undefined reference to 
`shutdown_tcpConnectionTable'
/home/agagganapally/2.3/2.3/products/third_party/net-snmp/agent/mibgroup
/mib_module_shutdown.h:11: undefined reference to 
`shutdown_tcpListenerTable'
/home/agagganapally/2.3/2.3/products/third_party/net-snmp/agent/mibgroup
/mib_module_shutdown.h:12: undefined reference to 
`shutdown_udpEndpointTable'
collect2: ld returned 1 exit status
make[5]: *** [../../../../atca_stage/opt/aylus/bin/snmpd] Error 1

-----Original Message-----
From: Dave Shield [mailto:[email protected]] 
Sent: Wednesday, March 07, 2007 9:33 AM
To: Anusuja Gagganapally
Cc: [email protected]
Subject: Re: Undefined reference to perl_construct when compiling 
netsnmp

On 07/03/07, Anusuja Gagganapally <[email protected]> wrote:
>      Thanks for the response. Below is the output for the command
>
> $ net-snmp-config --agent-libs
> -L/usr/local/lib -lnetsnmpagent -lnetsnmpmibs -lnetsnmphelpers 
-lnetsnmp
> -ldl -lcrypto -lm

OK - so why don't you try linking with these libraries,
rather than the ones under /opt/aylus/lib/  ?

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
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.