Article View: news.software.nntp
Article #7359Re: Compiling INN
From: Alan Brown
Date: Tue, 07 May 1996 00:00
Date: Tue, 07 May 1996 00:00
59 lines
3267 bytes
3267 bytes
In article <31892C4D.5B3C@trianet.net>, Daniel Salama <dsalama@trianet.net> wrote: >[ Note: This question was sent to inn-questions@pilhuhn.de and is posted] >[ here, so that someone will see and answer it. Please email your ] >[ answer to the original author in addition to posting it. ] I'm not going to do this because I think that I may introduce more confusion for an INN newbie >I have been trying to compile INN but I keep getting errors! I am now at >a point where when I compile nnrp but it is halting when looking for >"nlist". I looked at loadave.c and it is looking for <nlist.h> but I I got this too when i updated my Linux to the latest set of libraries. (ELF, series 5 libraries and the latest series 4 libraries for a.out binaries, all running on 1.3.98, on what was originally a Slackware 2.2 vanilla machine.) What I find more worrying is that nlist appears to be looking at kernel symbols (I'm no programmer, so I'm just guessing from what's there) by looking at the entire kernel. Where this falls down is that the Linux kernel isn't normally called "vmunix" which is the default file searched if the platform isn't HP-UX or SunOs5.x but is "vmlinuz" or "zImage" and is a compressed kernel. One cannot boot a modern Linux system on an uncompressed kernel - it's simply too big to fit in the space available. (mine is 950kb for example) I've compiled an uncompressed vmlinux, ln'd to vmunix to keep the nlist function happy, but I'm still failing to compile nnrpd due to this call in loadave.c. A better cure would be to find the missing includes as well as dealing with the different kernel name. The first should be easy, but the second is going to be a job for an experienced Linux kernel hacker because of the compressed image factor. Havig said that, I believe there's an umcompressed kernel and kcore sitting in the /proc virtual filesystem which may be more practical to use. Anyone have any ideas? I can futz loadave.c by commenting out the nlist call and there appears to be no problem with the resulting nnrpd's, though I ended up with major problems when I tried to compile in the shared-active patch. (silent processes when people connected and 200 nnrpd's doing nothing.) There's no nlist or nlist.h man page for Linux, nor can I find any nlist modules in any includes directories. AB -- "But you can't say they have arrived to classify your nervous lies What's right, what's not, what may not be. Don't try your tricky tests on me For I won't live in fear my friend - that every day could be my end"
Technical Details
Message-ID:
<4mmf9o$81l@papaioea.manawatu.gen.nz>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<31892C4D.5B3C@trianet.net>Show Full Headers
Complete Article Headers
Message-ID: <4mmf9o$81l@papaioea.manawatu.gen.nz> Subject: Re: Compiling INN Date: Tue, 07 May 1996 00:00:00 +0000 From: alan@papaioea.manawatu.gen.nz (Alan Brown) References: <31892C4D.5B3C@trianet.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 153420244 Content-type: text/plain; charset=iso-8859-1 Organization: PlaNet (Manawatu) Palmerston North, New Zealand Mime-version: 1.0 Newsgroups: news.software.nntp