Thread View: news.software.nntp
3 messages
3 total messages
Started by Michael Hall
Wed, 28 Jan 1998 00:00
c-nocem
Author: Michael Hall
Date: Wed, 28 Jan 1998 00:00
Date: Wed, 28 Jan 1998 00:00
41 lines
2523 bytes
2523 bytes
Having some problems here compiling 'c-nocem'. I've tried on 2
different BSDI boxes now (3.0, 3.1) and get the same errors on each.
I've tried using cc, gcc & shlicc2, with/without any cflags, etc.
same results no matter what. Heres the errors using gcc, its the
same for cc and shlicc2, except shlicc2 shows a different library
(shlibcrt0.o ?).
% 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
In file included from /usr/include/sys/types.h:48,
from /usr/include/stdio.h:47,
from fastcancel.c:33:
/usr/include/machine/types.h:56: warning: ANSI C does not support `long long'
/usr/include/machine/types.h:57: warning: ANSI C does not support `long long'
/usr/include/machine/types.h:71: warning: ANSI C does not support `long long'
/usr/include/machine/types.h:72: warning: ANSI C does not support `long long'
In file included from fastcancel.c:34:
/usr/include/stdlib.h:173: warning: ANSI C does not support `long long'
/usr/include/stdlib.h:174: warning: ANSI C does not support `long long'
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
Stop.
I know theres got to be someone else out there using c-nocem and
BSDI and its probably some stupid thing on my end but can somebody
help me out and get it to compile. I'd really like to set it up
in place of NoCeM and try it out. Thanks !!
--
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
Re: c-nocem
Author: 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
Re: c-nocem
Author: Paul Martin
Date: Thu, 29 Jan 1998 00:00
Date: Thu, 29 Jan 1998 00:00
17 lines
1184 bytes
1184 bytes
In article <Pine.LNX.3.96.980128173614.666A-100000@ukiah.riverside.org>, Michael Hall <mike@ukiah.riverside.org> writes: > % 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? -- Paul Martin <pm@zetnet.net>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads