Article View: news.software.nntp
Article #25709Re: c-nocem
From: Michael Hall
Date: Thu, 29 Jan 1998 00:00
Date: Thu, 29 Jan 1998 00:00
27 lines
1882 bytes
1882 bytes
On 29 Jan 1998, Paul Martin wrote: > > % make inn > > gcc -pipe -Wall -pedantic -O3 -I/usr/local/src/inn-1.7.2.insync-1.1d/include -DHISTFILE=\"/var/news/etc/history\" -DNEWSARTS=\"/var/news/spool/articles\" -c -o fastcancel.o fastcancel.c > [snip] > > gcc -pipe -s -o fastcancel -L/usr/local/src/inn-1.7.2.insync-1.1d -linn > > /usr/lib/crt0.o: Undefined symbol _main referenced from text segment > > *** Error code 1 > > Shouldn't that last gcc command have some .o files somewhere on it? I don't know :) (I'm definitely not a C pro). Anyway, I did manage to get it by re-doing the Makefile a bit, instead of compiling and linking in two steps I just put everything on one line and let it compile and link together. I don't know the how or whys but it worked that way and compiled and is currently running. -- Mike Hall <mhall@rockisland.com> *nix, Perl, CGI hacker... P.O. Box 1065 Certified OS/2 Specialist Friday Harbor, WA 98250 Sorry, no Win* :-) ***---***---***---***---***---***---***---***---***---*** To get my PGP key send email with Subject: Request PGP key
Technical Details
Message-ID:
<Pine.LNX.3.96.980129212344.14154A-100000@ukiah.riverside.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<Pine.LNX.3.96.980128173614.666A-100000@ukiah.riverside.org> <6ap7jr$k36$2@roch.zetnet.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <Pine.LNX.3.96.980129212344.14154A-100000@ukiah.riverside.org> Subject: Re: c-nocem Date: Thu, 29 Jan 1998 00:00:00 +0000 From: Michael Hall <mike@ukiah.riverside.org> References: <Pine.LNX.3.96.980128173614.666A-100000@ukiah.riverside.org> <6ap7jr$k36$2@roch.zetnet.co.uk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 320487712 Mime-Version: 1.0 Reply-To: mhall@rockisland.com To: Paul Martin <pm@zetnet.net> Content-Type: TEXT/PLAIN; charset=US-ASCII Organization: Riverside BBS Newsgroups: news.software.nntp