Re: libelf (was: Re: Stack segment)

David S. Miller (dm@neteng.engr.sgi.com)
Wed, 31 Jul 1996 20:15:11 -0700


Date: Thu, 1 Aug 1996 03:37:13 +0200
From: Michael Riepe <riepe@ifwsn4.ifw.uni-hannover.de>

In case you don't have libelf, the most recent version (0.6.4) is in

ftp://ifwsn4.ifw.uni-hannover.de/private/linux/

Quick fix for the configuration script, elf.h should be checked for
before sys/elf.h because if plain elf.h exists it usually is the
prefferred file to use because it will in most cases include sys/elf.h
and then define more things you need.

--- configure.~1~ Tue Jul 30 18:10:22 1996
+++ configure Wed Jul 31 20:13:53 1996
@@ -1035,7 +1035,7 @@
else

libelf_cv_header_elf_h='no'
- for h in sys/elf.h elf.h; do
+ for h in elf.h sys/elf.h; do
cat > conftest.$ac_ext <<EOF
#line 1041 "configure"
#include "confdefs.h"

dm@engr.sgi.com

'Ooohh.. "FreeBSD is faster over loopback, when compared to
Linux over the wire". Film at 11.' -Linus