🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by David Dyer-Bennet Fri, 07 Jun 1996 00:00
Compiling INN1.4unoff4 on Linux 1.3.100 -- questions!
#8347
Author: David Dyer-Bennet
Date: Fri, 07 Jun 1996 00:00
42 lines
2393 bytes

Our news server was upgraded from Linux 1.2 to 1.3, and I rebuilt INN
and did some things that I think should help me take advantage of it
-- notably turning on mmap and unix-domain sockets.  It seems to be
working, but I had to hack a bit to get it there.  If this is all
well-understood stuff, I'd like to be sure I have it right; if it
isn't, I guess I need to document what I did more carefully and report
it, eh?

I had problems with multiple uio.h files on the system (not including
the one in ~inn/include); one in /usr/include/sys and one in
/usr/include/linux, with conflicting definitions of struct iovec.  The
one in .../linux said it superseded the one in .../sys, so I made that
be true and nothing obvious has broken yet.  This doesn't even look
inn related, but that's the first time I encoutered it.  Anybody know
about this?

With NNRP_LOADLIMIT set to a > 0 value, I got link errors in
.../nnrpd/loadave.c on "nlist".  I tried tracing that out, and
couldn't figure out what was going on.  I presume it relates to going
to ELF?  And why does it get the load average that way rather than
through the /proc filesystem?  I resolved this by setting the
loadlimit to -1, not a wonderful long-term solution.

The select in nnrp/misc.c gets warnings on wrong argument types, but
seems to work.  

I get lots of multiply-defined symbols with the same value in both
places -- a bunch of FD_* stuff.

I understand I can use the shared-active patch on this system; is this
true?  Any gotchas, difficulty in installation, etc?

Wonder what else I'm forgetting?
-- 
David Dyer-Bennet	                   ddb@gw.ddb.com, ddb@ddb.com
SF cons: http://www.ddb.com/4th-Street, http://www.mnstf.org/minicon31
Me: http://www.ddb.com/~ddb (photos, Olympus photo eqpt. for sale, sf)
Join the 20th century before it's too late!

Re: Compiling INN1.4unoff4 on Linux 1.3.100 -- questions!
#8390
Author: Alex Cleynhens
Date: Sun, 09 Jun 1996 00:00
34 lines
1563 bytes
David Dyer-Bennet (ddb@gw.ddb.com) wrote:

: I had problems with multiple uio.h files on the system (not including

I removed the include uio.h in the source code.

: With NNRP_LOADLIMIT set to a > 0 value, I got link errors in
: .../nnrpd/loadave.c on "nlist".  I tried tracing that out, and
: couldn't figure out what was going on.  I presume it relates to going
: to ELF?  And why does it get the load average that way rather than

Yep. Get libelf (v.0.5.2) I compiled this in shared mode. 
I don't remember the ftp-location. Somewhere in *.de 

: The select in nnrp/misc.c gets warnings on wrong argument types, but
: seems to work.  

ignore.

: I get lots of multiply-defined symbols with the same value in both
: places -- a bunch of FD_* stuff.

ignore 

--

Met vriendelijke groeten,
alex

-----------------------------------------------------------------------
Alex Cleynhens		         Tornado Internet Network Administrator

Re: Compiling INN1.4unoff4 on Linux 1.3.100 -- questions!
#8607
Author: Piers Cawley
Date: Tue, 18 Jun 1996 00:00
27 lines
1628 bytes
In article <4pe16h$4rg@tor2.tornado.be>,
	acl@tor2.tornado.be (Alex Cleynhens) writes:
>David Dyer-Bennet (ddb@gw.ddb.com) wrote:
>
>: I had problems with multiple uio.h files on the system (not including
>
>I removed the include uio.h in the source code.
>
>: With NNRP_LOADLIMIT set to a > 0 value, I got link errors in
>: .../nnrpd/loadave.c on "nlist".  I tried tracing that out, and
>: couldn't figure out what was going on.  I presume it relates to going
>: to ELF?  And why does it get the load average that way rather than
>
>Yep. Get libelf (v.0.5.2) I compiled this in shared mode. 
>I don't remember the ftp-location. Somewhere in *.de 

Don't forget to add -lelf to the LIBS line of config.data

-- 
   Piers Cawley - Systems Sheriff on the Frontier Internet Service
	    Purveyors of fine connections to the Internet
	  0D 02 A0 20 54 E0 60 02   2B 77 F8 D1 8B EB 3F 36
     finger pdcawley@mercury.ftech.net for PGP key and Geek Code


Re: Compiling INN1.4unoff4 on Linux 1.3.100 -- questions!
#8642
Author: root
Date: Wed, 19 Jun 1996 00:00
25 lines
1716 bytes
Piers Cawley (pdcawley@ftech.net) wrote:
: >
: >: With NNRP_LOADLIMIT set to a > 0 value, I got link errors in
: >: .../nnrpd/loadave.c on "nlist".  I tried tracing that out, and
: >: couldn't figure out what was going on.  I presume it relates to going
: >: to ELF?  And why does it get the load average that way rather than
: >
: >Yep. Get libelf (v.0.5.2) I compiled this in shared mode. 
: >I don't remember the ftp-location. Somewhere in *.de 
: 
: Don't forget to add -lelf to the LIBS line of config.data
: 

Ummm...I don't need libelf (what is it anyway?), I've manually create
libinn.so.1.4.4 and now have all INN 1.4u4 program dynamically link
to it, smaller (faster????). Run fine for two days. :-)

-- 
Chris Lo                                                            A___A  
chris@air.org                                                 ____ / o o \ 
cklo@HK.Super.Net                                          _/~____   =^= / 
Chris.Lo@p89.f487.n700.z6.fidonet.org                      <______>__m_m_> 

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