Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Feb 2008 19:29:32 +0100
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Cc:        Bhuvaneswari Ramkumar <ramkumar@iastate.edu>
Subject:   Re: Libnet in FreeBSD
Message-ID:  <200802041929.32973.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <7c7927920802040954u948a5ebga929f11a2fa76a45@mail.gmail.com>
References:  <7c7927920802040954u948a5ebga929f11a2fa76a45@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802041929.32973.fbsd.questions>