From owner-freebsd-questions Sat Dec 12 18:08:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA27273 for freebsd-questions-outgoing; Sat, 12 Dec 1998 18:08:31 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.kar.net (n177.cdialup.kar.net [195.178.130.177]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA27268 for ; Sat, 12 Dec 1998 18:08:23 -0800 (PST) (envelope-from kushn@mail.kar.net) Received: from localhost (volodya@localhost) by mail.kar.net (8.9.1/8.8.8) with ESMTP id EAA44276; Sun, 13 Dec 1998 04:08:04 +0200 (EET) (envelope-from kushn@mail.kar.net) Date: Sun, 13 Dec 1998 04:08:03 +0200 (EET) From: Vladimir Kushnir X-Sender: volodya@kushnir.kiev.ua To: Chris Martino cc: freebsd-questions@FreeBSD.ORG Subject: Re: crt0.o? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 12 Dec 1998, Chris Martino wrote: > Hi folks, > Yesterday I was mucking around and I just happened to remove ~/bin (doh!), > which contained serveral usefull applications. > Happens sometimes (I once removed /usr/local/lib :-(). > In an effort to get them back I've untarred the sources and compiled most > of them back. I seem to be having the same problem re-compiling wmppp and > wmmon, allthough they both compiled fine the first time around. > > They are both failing w/ the same error listed below: > [chrismar@crazy ~/packages/wmmon.app/wmmon ] % make > cc -o wmmon -L/usr/X11R6/lib -lXpm -lXext -lX11 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ There's no object files for wmmon nor libkvm here (is this original linux wmmon?); this line should read cc -o wmmon wmmon.o ../wmgeneral/wmgeneral.o ../wmgeneral/misc.o \ ../wmgeneral/list.o -lXext -L/usr/X11R6/lib -lXpm -lXext -lX11 -lkvm Besides, wmmon mow in ports collection, so why not use port? > /usr/lib/crt0.o: Undefined symbol `_main' referenced from text segment > *** Error code 1 > > Stop. > > Any help is greatly appreciated. Or, if you by chance happen to have > these built already and wouldn't mind sending me the binaries, I would > appreciate that as well.. :-) > > TIA, > Chris > Regards, Vladimir ===========================|======================= Vladimir Kushnir | kushn@mail.kar.net, | Powered by FreeBSD kushnir@ap3.bitp.kiev.ua | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message