Article View: news.software.readers
Article #31137Re: knews binary wanted
From: P. Gaulin
Date: Tue, 11 Feb 1997 00:00
Date: Tue, 11 Feb 1997 00:00
56 lines
3012 bytes
3012 bytes
In article <5dn43k$fqo@nx2.hrz.uni-dortmund.de>, Thomas Adams; 9112325; Fh-Do/fb 4 <finc27@dx1.hrz.uni-dortmund.de> writes: > Conrad Sabatier <conrads@neosoft.com> wrote: > >> Huh? Have you looked at knews.tmpl? You can very easily set the names of >> various system-specific things there. >> You *did* read the INSTALL file, didn't you? :-) > > I did but couldn't figure out what was meant with '#if 0' etc. Some kind > soul told me that but now the make process displays the following error > message after a while: > >: making all in ./util/tcp_relay... >: gcc -O2 -ansi -pedantic -Wall -I/usr/openwin/include -DSVR4 -DSYSV >: -c tcp_relay.c >: tcp_relay.c: In function `install_sig_handlers': >: tcp_relay.c:282: storage size of `sig_act' isn't known >: tcp_relay.c:286: warning: implicit declaration of function `sigfillset' >: tcp_relay.c:287: warning: implicit declaration of function `sigaction' >: tcp_relay.c:292: warning: implicit declaration of function `sigemptyset' >: tcp_relay.c:282: warning: unused variable `sig_act' >: *** Error code 1 >: make: Fatal error: Command failed for target `tcp_relay.o' > > gcc --version is 2.7.2.1, system is SunOS 5.5.1 sun4u according to uname > > If my C was better I probably could fix it myself but so... > > Please, help me :-) I also did have all these errors while compiling with the GNU C Compiler. That never prevented me to use the generated knews executable. 'tcp_relay' is just a piece of test software I believe. I never used it. By the way, I think I also had this problem with one of the signal.h includes. That is, somehow a compilation switch was uncorrectly configured leading to a compilation error on a sig_something structure declaration (sig_act ?) The hack was to modify one of knews source files. I sent a mail to Karl about it but I don't quiete remember which file I had to modify. Anyway, now I use the SUN C-Compiler (/tools/lang/bin/cc). All error messages have vanished :-) Cheers, Pascal. -- Pascal Gaulin, Software Designer | Fran�ais / English Engineering - Digital PMR | Simoco Telecommunications Ltd | Tel: +44 (0)1223 586335 PO Box 24, St Andrews Road | Fax: +44 (0)1223 586420 Cambridge CB4 1DP, England. | Pascal.Gaulin@cambridge.simoco.com
Technical Details
Message-ID:
<5dpm19$plh@ns1.nl.cis.philips.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<5div95$kqe@nx2.HRZ.Uni-Dortmund.DE>Show Full Headers
Complete Article Headers
Message-ID: <5dpm19$plh@ns1.nl.cis.philips.com> Subject: Re: knews binary wanted Date: Tue, 11 Feb 1997 00:00:00 +0000 From: Pascal.Gaulin@cambridge.simoco.com (P. Gaulin) References: <5div95$kqe@nx2.HRZ.Uni-Dortmund.DE> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 218028983 Sender: ukcgaul@cambridge.simoco.com Content-type: text/plain; charset=iso-8859-1 Organization: ?!? \:-D Mime-version: 1.0 Newsgroups: news.software.readers