🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #8459

Re: [Q] inn compile under Linux

#8459
From: Anton Stoorvogel
Date: Tue, 11 Jun 1996 00:00
34 lines
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

Technical Details
Message-ID: <4pk4tk$4o6@as.win.tue.nl>
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
References: <4pjdep$kc0@snunews.snu.ac.kr>

Show Full Headers
Complete Article Headers
Message-ID: <4pk4tk$4o6@as.win.tue.nl>
Subject: Re: [Q] inn compile under Linux
Date: Tue, 11 Jun 1996 00:00:00 +0000
From: wscoas@as.win.tue.nl (Anton Stoorvogel)
References: <4pjdep$kc0@snunews.snu.ac.kr>
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: 159677565
Distribution: inet
Content-type: text/plain
Organization: News site of Anton Stoorvogel
Mime-version: 1.0
Newsgroups: news.software.nntp
X-mailer: exmh nn-tk.9