Thread View: news.software.nntp
4 messages
4 total messages
Started by Park Yoon Na
Tue, 11 Jun 1996 00:00
[Q] inn compile under Linux
Author: Park Yoon Na
Date: Tue, 11 Jun 1996 00:00
Date: Tue, 11 Jun 1996 00:00
14 lines
787 bytes
787 bytes
when compiling nnrpd under Linux, I get this error msgs. >loadave.o(.text+0x3b): undefined reference to `nlist' it seems linux doesn't have C library function 'nlist'. does anyone know how to get around this problem? yoon@arirang.snu.ac.kr
Re: [Q] inn compile under Linux
Author: Mike O'Connor
Date: Tue, 11 Jun 1996 00:00
Date: Tue, 11 Jun 1996 00:00
23 lines
1493 bytes
1493 bytes
In article <4pjdep$kc0@snunews.snu.ac.kr>, Park Yoon Na <yoon@arirangsnu.ac.kr> wrote: :when compiling nnrpd under Linux, I get this error msgs. : :>loadave.o(.text+0x3b): undefined reference to `nlist' : :it seems linux doesn't have C library function 'nlist'. :does anyone know how to get around this problem? Link with the shared libraries -- "gcc -shared". Turns out that with some distributions/loads of Linux, you'll only find nlist in the shared libraries for some goofy reason or another. I might have things mixed up in my head and you might need to do "gcc -static" instead... been awhile since I ran into this. ...Mike -- Michael J. O'Connor Internet: mjo@dojo.mi.org InterNIC WHOIS: MJO http://www.coast.net/~mjo "I'm losing the game, but winning an ambulatory adulthood." -Calvin
Re: [Q] inn compile under Linux
Author: Anton Stoorvogel
Date: Tue, 11 Jun 1996 00:00
Date: Tue, 11 Jun 1996 00:00
34 lines
1453 bytes
1453 bytes
yoon@arirangsnu.ac.kr (Park Yoon Na) writes: >when compiling nnrpd under Linux, I get this error msgs. >>loadave.o(.text+0x3b): undefined reference to `nlist' >it seems linux doesn't have C library function 'nlist'. >does anyone know how to get around this problem? >yoon@arirang.snu.ac.kr If I am not mistaken the trick is to add -lelf. This loads the libelf library. In that case everything should work fine. As you can see: as:~> nm /usr/local/lib/libelf.so.0.5.2 | grep nlist 00008170 t _elf_nlist 000084a0 T nlist it indeed defines nlist. Best regards, Anton -- Anton A. Stoorvogel Tel. +31-40-2472378 Dept. of Mathematics & Computing Science Fax +31-40-2465995 Eindhoven University of Technology E-mail: wscoas@win.tue.nl
Re: [Q] inn compile under Linux
Author: Jan-Olaf Droese
Date: Wed, 12 Jun 1996 00:00
Date: Wed, 12 Jun 1996 00:00
24 lines
1190 bytes
1190 bytes
Park Yoon Na (yoon@arirangsnu.ac.kr) wrote: > when compiling nnrpd under Linux, I get this error msgs. > > >loadave.o(.text+0x3b): undefined reference to `nlist' > > it seems linux doesn't have C library function 'nlist'. > does anyone know how to get around this problem? The quick fix is to define NNRP_LOADLIMIT -1 in config.data. JanO -- Jan-Olaf Droese | email: jano@layla.RoBIN.de (home) | o Gluckstr. 6 | zdjod@lif.de (work) | _>\ _ 60318 Frankfurt | phone: ++49-69-95902033 | (_)<(_)
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