From owner-freebsd-questions Mon Sep 24 6:52:59 2001 Delivered-To: freebsd-questions@freebsd.org Received: from sv07e.atm-tzs.kmjeuro.com (sv07e.atm-tzs.kmjeuro.com [193.81.94.207]) by hub.freebsd.org (Postfix) with ESMTP id B25DD37B412 for ; Mon, 24 Sep 2001 06:52:51 -0700 (PDT) Received: (from root@localhost) by sv07e.atm-tzs.kmjeuro.com (8.11.5/8.11.4) id f8ODqoM19461 for freebsd-questions@freebsd.org; Mon, 24 Sep 2001 15:52:50 +0200 (CEST) (envelope-from k.joch@kmjeuro.com) Received: from kmjeuro.com (adsl.sbg.kmjeuro.com [193.154.189.16]) (authenticated) by sv07e.atm-tzs.kmjeuro.com (8.11.5/8.11.4) with ESMTP id f8ODqcv19193; Mon, 24 Sep 2001 15:52:39 +0200 (CEST) (envelope-from k.joch@kmjeuro.com) Message-ID: <3BAF3AA5.5040704@kmjeuro.com> Date: Mon, 24 Sep 2001 15:52:37 +0200 From: "Karl M. Joch" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.3) Gecko/20010812 X-Accept-Language: en-us MIME-Version: 1.0 To: Paul Chvostek Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD & LaBrea (works now) References: <014301c1434a$313851e0$0a05a8c0@ooe.kmjeuro.com> <3BADD8B5.889BEAF3@iowna.com> <3BAF2D7B.3020506@kmjeuro.com> <20010924092316.B10056@gahch.it.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X--virus-scanner: scanned for Virus and dangerous attachments on sv07e.atm-tzs.kmjeuro.com (System Setup/Maintainance: http://www.ctseuro.com/) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG A patxh from the mentioned port. the labrea makefile doesnt link under freebsd. *** Makefile Thu Sep 13 12:00:00 2001 --- Makefile.bsd Fri Sep 21 00:02:03 2001 *************** *** 6,16 **** CC = gcc CFLAGS = -Wall `libnet-config --defines` $(OPTFLAGS) $(INCLUDES) LDLIBS = `libnet-config --libs` -lpcap ! INCLUDES = -I/usr/include/pcap ! LaBrea: LaBrea.o ! LaBrea.o: LaBrea.c clean: rm -f *.o core LaBrea --- 6,19 ---- CC = gcc CFLAGS = -Wall `libnet-config --defines` $(OPTFLAGS) $(INCLUDES) LDLIBS = `libnet-config --libs` -lpcap ! INCLUDES = -I/usr/local/include -L/usr/local/lib ! LaBrea: LaBrea.c ! #LaBrea.o: LaBrea.c clean: rm -f *.o core LaBrea + + install: + @install -c -g wheel -o root -m 755 LaBrea /usr/local/bin cya karl Paul Chvostek wrote: > Um... What am I missing here? > > I grabbed LaBrea.tgz with LaBrea.c version 2.0 dated 2001/09/13 15:10:03 > and added "-I/usr/local/include" to INCLUDES in the Makefile to let make > find libnet, but that's all I've changed. > > I get a LaBrea.o file, but no executable binary. > > Granted, this isn't rocket science, but I'm a shell script weenie at > heart. What do I do with the .o file to make this run? I mean, aside > from waiting for someone to turn it into an actual port so that I > won't actually have to *know* anything to install it? > > Thanks. ;) > > > On Mon, Sep 24, 2001 at 02:56:27PM +0200, Karl M. Joch wrote: > >>Finally I have done another CVSup, rebuild the world/kernel and now it >>works :-) >> >>kern.ostype: FreeBSD >>kern.osrelease: 4.4-STABLE >>kern.osrevision: 199506 >>kern.version: FreeBSD 4.4-STABLE #1: Sun Sep 23 10:54:20 CEST 2001 >> >> >> >>Sep 24 07:03:24 sv10e /usr/local/bin/LaBrea: Activity: 193.206.43.150 >>2839 -> MYNET 80 >>Sep 24 07:03:24 sv10e /usr/local/bin/LaBrea: Teergrubing: >>193.131.120.196 3700 -> MYNET 80 >> >> >>Karl >> >> >>To Unsubscribe: send mail to majordomo@FreeBSD.org >>with "unsubscribe freebsd-questions" in the body of the message >> > -- -- Best regards / Mit freundlichen Gruessen, Karl M. Joch KMJ Consulting - CTS Consulting & Trade Service http://www.kmjeuro.com - http://www.ctseuro.com k.joch@kmjeuro.com - k.joch@ctseuro.com GSM : +43-664-3407888 Unsere Services: http://www.proline.at - Netzwerk und Sicherheitstechnik http://www.eushop.net - Onlineshop und Applikationen einfach mieten http://www.freebsd.at - Das Power Betriebssystem To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message