Re: nlist() and ELF

Chris Lo (
Sun, 27 Oct 1996 22:12:58 +0800 (HKT)

On Sun, 27 Oct 1996, Bryn Paul Arnold Jones wrote:

> > I found that nnrpd would not link because of the absence of nlist().
> > Although there is a header (<nlist.h>) that defines this, nlist.c
> > seems not to be included in libc if it is compiled for an ELF system.
> > This is presumably because nlist.c only deals with a.out.
> >
> > Has anyone written nlist.c for ELF?
> >
> Yes, it's in libelf, add -lelf to the cflags in the Makefile...

But I can't compile libelf-0.6.4 from source with Linux-2.1.5 and
gcc, libc-5.4.10 etc...