Re: make is failing
"mn kh" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
[root@florida net-snmp-5.4.1.2]# net-snmp-config --agent-libs -L/usr/local/lib -lnetsnmpmibs -lnetsnmpagent -lnetsnmphelpers -lnetsnmp -lz -rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE -L/usr/local/lib /usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE -lperl -lnsl -ldl -lm -lpthread -lc -lcrypt -lutil [root@florida net-snmp-5.4.1.2]# ls -l /usr/local/lib/libnetsnmp.a -rw-r--r-- 1 root root 676332 Jul 28 15:58 /usr/local/lib/libnetsnmp.a [root@florida net-snmp-5.4.1.2]# ls -l /usr/lib/libnetsnmp.a -rw-r--r-- 1 root root 676332 Jan 27 2005 /usr/lib/libnetsnmp.a i copied libnetsnmp to /usr/local/lib On Mon, Jul 28, 2008 at 6:14 PM, Thomas Anders <[email protected]>wrote: > mn kh wrote: > > gcc -o jagentx_subagent jagentx_subagent.o jagentx.o jagentx_util.o > > ../obj/jcounters.o ../obj/error.o ../obj/util.o ../obj/search.o > > ../obj/semutil.o `net-snmp-config --agent-libs` -lssl -lrpm -lwrap > > -lutil -lcrypt > > jagentx_subagent.o(.text+0xaf): In function `main': > > /home/jinny/jconsole2.0/jagentx_subagent.c:37: undefined reference to > > `netsnmp_daemonize' > > "netsnmp_daemonize" should be covered by libnetsnmp. > > What's the output of "net-snmp-config --agent-libs"? Where is libnetsnmp on > your system? > > > +Thomas > > -- > Thomas Anders (thomas.anders at blue-cable.de) > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ 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