From owner-freebsd-questions@FreeBSD.ORG Mon Feb 4 18:29:35 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4FD7B16A419 for ; Mon, 4 Feb 2008 18:29:35 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 1BB4413C442 for ; Mon, 4 Feb 2008 18:29:35 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id 3EF5D1CC8B; Mon, 4 Feb 2008 09:29:34 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Mon, 4 Feb 2008 19:29:32 +0100 User-Agent: KMail/1.9.7 References: <7c7927920802040954u948a5ebga929f11a2fa76a45@mail.gmail.com> In-Reply-To: <7c7927920802040954u948a5ebga929f11a2fa76a45@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802041929.32973.fbsd.questions@rachie.is-a-geek.net> Cc: Bhuvaneswari Ramkumar Subject: Re: Libnet in FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2008 18:29:35 -0000 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