Date: Mon, 24 Sep 2001 15:52:37 +0200 From: "Karl M. Joch" <k.joch@kmjeuro.com> To: Paul Chvostek <paul@it.ca> Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD & LaBrea (works now) Message-ID: <3BAF3AA5.5040704@kmjeuro.com> References: <014301c1434a$313851e0$0a05a8c0@ooe.kmjeuro.com> <3BADD8B5.889BEAF3@iowna.com> <3BAF2D7B.3020506@kmjeuro.com> <20010924092316.B10056@gahch.it.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BAF3AA5.5040704>