Thread View: news.software.nntp
4 messages
4 total messages
Started by Isle-Net Telecommunications
Sat, 27 Jul 1996 00:00
Linux 2.0.8/inn1.4unoff4 bad nnrpd
Author: Isle-Net Telecommunications
Date: Sat, 27 Jul 1996 00:00
Date: Sat, 27 Jul 1996 00:00
15 lines
969 bytes
969 bytes
I noticed that no one was connecting to my nnrp, since I upgraded to ELF, kernel 2.0.8, and recompiled INN. To test, I added stdin to my nnrp.access file. When I load in.nnrpd, I get a Segmentation fault, and the program terminates. When compiling, nnrpd gives lots and lots of warnings, but no errors. Mostly stuff about functions from time.h being redefined at the same location. Suggestions, please? Dan Srebnick
Re: Linux 2.0.8/inn1.4unoff4 bad nnrpd
Author: Thomas Roessler
Date: Sun, 28 Jul 1996 00:00
Date: Sun, 28 Jul 1996 00:00
13 lines
880 bytes
880 bytes
In article <4tdkuq$47e@news4.digex.net>, Isle-Net Telecommunications wrote: >Suggestions, please? The answer has been added to the FAQ last week or so: #include <sys/time.h> in include/clibrary.h solves the problems which are caused by the absence of an FD_SETSIZE definition in sys/types.h. tlr
Re: Linux 2.0.8/inn1.4unoff4 bad nnrpd
Author: Patric Main
Date: Mon, 29 Jul 1996 00:00
Date: Mon, 29 Jul 1996 00:00
30 lines
1616 bytes
1616 bytes
I had the same problem..... the easy fix is to look in the examples or something <?> directory and you will find the linux patch. the part you need to add is the #include <sys/time.h> line added to the file include/clibrary.h this is the include directory beneath the main directory of the innunoff4 sources. you should now see many fewer compile warnings :-) a posssible better solution is to pull the inn sources from the debian distribution which has this and a few other patches. islenet@cnj.digex.net (Isle-Net Telecommunications) wrote: >I noticed that no one was connecting to my nnrp, since I upgraded to ELF, >kernel 2.0.8, and recompiled INN. To test, I added stdin to my >nnrp.access file. When I load in.nnrpd, I get a Segmentation fault, and >the program terminates. >When compiling, nnrpd gives lots and lots of warnings, but no errors. >Mostly stuff about functions from time.h being redefined at the same >location. >Suggestions, please? >Dan Srebnick
Re: Linux 2.0.8/inn1.4unoff4 bad nnrpd
Author: Alex Kiernan
Date: Mon, 29 Jul 1996 00:00
Date: Mon, 29 Jul 1996 00:00
42 lines
2069 bytes
2069 bytes
Isle-Net Telecommunications (islenet@cnj.digex.net) wrote: >I noticed that no one was connecting to my nnrp, since I upgraded to ELF, >kernel 2.0.8, and recompiled INN. To test, I added stdin to my >nnrp.access file. When I load in.nnrpd, I get a Segmentation fault, and >the program terminates. > >When compiling, nnrpd gives lots and lots of warnings, but no errors. >Mostly stuff about functions from time.h being redefined at the same >location. The warnings are the cause of the problem, this patch fixed it for me: diff --unified --recursive inn1.4unoff4/nnrpd/misc.c inn1.4unoff4.local/nnrpd/misc.c --- inn1.4unoff4/nnrpd/misc.c Thu Mar 18 21:04:43 1993 +++ inn1.4unoff4.local/nnrpd/misc.c Fri Jul 12 13:12:37 1996 @@ -7,7 +7,6 @@ #if defined(DO_NEED_TIME) #include <time.h> #endif /* defined(DO_NEED_TIME) */ -#include <sys/time.h> #define ASCtoNUM(c) ((c) - '0') diff --unified --recursive inn1.4unoff4/nnrpd/nnrpd.h inn1.4unoff4.local/nnrpd/nnrpd.h --- inn1.4unoff4/nnrpd/nnrpd.h Sun Jun 11 23:13:10 1995 +++ inn1.4unoff4.local/nnrpd/nnrpd.h Fri Jul 12 13:12:36 1996 @@ -19,6 +19,7 @@ #include <fcntl.h> #include <sys/socket.h> #include <netinet/in.h> +#include <sys/time.h> #include "paths.h" #include "nntp.h" #include "logging.h" -- Alex Kiernan - alex@hisoft.co.uk HiSoft Systems, The Old School, Greenfield, Bedford, MK45 5DE, UK http://www.hisoft.co.uk Tel: +44 1525 718181 Fax: +44 1525 713716
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