Thread View: news.software.readers
5 messages
5 total messages
Started by Thomas Adams 9112325 Fh-Dofb 4
Sat, 08 Feb 1997 00:00
knews binary wanted
Author: Thomas Adams 9112325 Fh-Dofb 4
Date: Sat, 08 Feb 1997 00:00
Date: Sat, 08 Feb 1997 00:00
10 lines
957 bytes
957 bytes
I need a knews binary for Solaris 2.5 or hints for compiling it on a
computer with only gcc installed. The make process expects a 'cc' no
matter what I try.
--
Thomas Adams <finc27@pop.uni-dortmund.de>
http://home.pages.de/~adams/ PGP ID: 0xB29E90BD
--- Die einen lesen BILD, die anderen denken selber. Gerecht? ---
Re: knews binary wanted
Author: Karl-Johan Johnsson
Date: Mon, 10 Feb 1997 00:00
Date: Mon, 10 Feb 1997 00:00
28 lines
1767 bytes
1767 bytes
Thomas Adams; 9112325; Fh-Do/fb 4 <finc27@dx1.hrz.uni-dortmund.de> writes: >: 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' Just ignore those errors. You probably don't want tcp_relay anyway, it's just a small hack/utility for forwarding connections. (And it won't build cleanly on Solaris.) You'll find the knews executable in ./src. -- Karl-Johan Johnsson, kalle@algorithmica.se http://www.nada.kth.se/~su95-kjo/knews.html ftp://ftp.nada.kth.se/home/su95-kjo/* file:/afs/nada.kth.se/home/su95/su95-kjo/knews/*
Re: knews binary wanted
Author: Conrad Sabatier
Date: Mon, 10 Feb 1997 00:00
Date: Mon, 10 Feb 1997 00:00
18 lines
1161 bytes
1161 bytes
In article <5div95$kqe@nx2.hrz.uni-dortmund.de>, Thomas Adams; 9112325; Fh-Do/fb 4 <finc27@dx1.hrz.uni-dortmund.de> writes: > I need a knews binary for Solaris 2.5 or hints for compiling it on a > computer with only gcc installed. The make process expects a 'cc' no > matter what I try. 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? :-) -- Conrad Sabatier http://www.neosoft.com/~conrads
Re: knews binary wanted
Author: Thomas Adams 9112325 Fh-Dofb 4
Date: Mon, 10 Feb 1997 00:00
Date: Mon, 10 Feb 1997 00:00
34 lines
2040 bytes
2040 bytes
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 :-)
--
Thomas Adams <finc27@pop.uni-dortmund.de>
http://home.pages.de/~adams/ PGP ID: 0xB29E90BD
--- Die einen lesen BILD, die anderen denken selber. Gerecht? ---
Re: knews binary wanted
Author: 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
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