well actually, even the sample applications seem to have the same problem, So I'm guessing its some installation issue:
# cc dns.c /var/tmp//ccImyVt1.o(.text+0x88) : In function 'main' : : undefined reference to 'libnet_init' This is how my compilation result reads for the dns.c sample application. Says the same for all libnet calls. On Feb 4, 2008 1:29 PM, Mel <[EMAIL PROTECTED]> wrote: > On Monday 04 February 2008 18:54:49 Bhuvaneswari Ramkumar wrote: > > > I'm trying to work with Libnet in BSD, I ftped the package, did a > > ./configure and a make install and things seemed to be fine. > > But when I try to compile a simple application, I get a msg : " > undefined > > reference :libnet_init" , actually it looks like it doesnt recognize any > of > > the libnet functions calls. Am I missing something here ? or is there > > something else to be done about getting libnet to run here ? > > Could you show the entire compile line, you're likely to miss > -L/usr/local, > but there may be other things. > > Also helps to know what you use for you simple application: bsd's make > with a > Makefile, gmake with a Makefile or just type commands by hand. > > -- > Mel > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > [EMAIL PROTECTED]" > _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"