Re: make is failing

"mn kh" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
10x u Thomas for your quick reply, i only have now the following

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'
collect2: ld returned 1 exit status
make: *** [jagentx_subagent] Error 1

thanks,
regards

On Mon, Jul 28, 2008 at 5:40 PM, Thomas Anders
<[email protected]>wrote:

> mn kh wrote:
> > /usr/local/lib/libnetsnmpagent.so: undefined reference to `hosts_ctl'
> > collect2: ld returned 1 exit status
>
> Add "-lwrap".
>
>
> +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
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.