From owner-freebsd-questions@FreeBSD.ORG Mon Feb 4 21:01:15 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 A37B116A419 for ; Mon, 4 Feb 2008 21:01:15 +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 7132013C45B for ; Mon, 4 Feb 2008 21:01:15 +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 634B21CC8B; Mon, 4 Feb 2008 12:01:14 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Mon, 4 Feb 2008 22:01:12 +0100 User-Agent: KMail/1.9.7 References: <7c7927920802040954u948a5ebga929f11a2fa76a45@mail.gmail.com> <200802042041.57804.fbsd.questions@rachie.is-a-geek.net> <7c7927920802041153o65f6d0a9ofd376f5ed48ba900@mail.gmail.com> In-Reply-To: <7c7927920802041153o65f6d0a9ofd376f5ed48ba900@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802042201.13223.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 21:01:15 -0000 On Monday 04 February 2008 20:53:22 Bhuvaneswari Ramkumar wrote: > Question: > > Do I need to do this for every libnet app I compile, like modify the PROG > variable in the app's folder .... even for the sample aplications already > compiled & set ? Hmm, that goes into BSD's make system, so read up on it: less /usr/share/mk/bsd.README also: gzcat /usr/share/doc/psd/12.pmake/paper.ascii.gz|less These are more general C-programming topics though, not specific for FreeBSD. I just gave you a BSD make example, cause I knew that'll work out of the box, but you can use other systems, like the GNU autotools + gmake or jam. I'd also look into the following: man ports man pkg_add > Aside this, if someone could tell me the exact compilation steps for > Libnet, it would be really helpful. libnet11-config --help -- Mel