Subject: lib/8013: where is ?
To: None <gnats-bugs@gnats.netbsd.org>
From: John Kohl <jtk@kolvir.arlington.ma.us>
List: netbsd-bugs
Date: 07/16/1999 15:35:39
>Number:         8013
>Category:       lib
>Synopsis:       where is <elf.h>?
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 16 15:35:00 1999
>Last-Modified:
>Originator:     John Kohl
>Organization:
NetBSD Kernel Hackers `R` Us
>Release:        NetBSD-current, 1999-07-16
>Environment:
	
System: NetBSD kolvir.arlington.ma.us 1.4F NetBSD 1.4F (KOLVIR) #1: Fri Jul 16 10:03:05 EDT 1999 jtk@kolvir.arlington.ma.us:/usr/u4/sandbox/src/sys/arch/i386/compile/KOLVIR i386


>Description:
I'm looking for a proper <elf.h>,  as expected by emacs-19.34's unexelf.c
I can get by with this kludge:

#ifdef __NetBSD__
/* XXX bogus */
#include "/usr/src/gnu/dist/include/elf/common.h"
#include "/usr/src/gnu/dist/include/elf/external.h"
#include <sys/exec_elf.h>
#else
#include <elf.h>
#endif

which generates a few warnings with no ill effects, but it seems we
should provide a proper <elf.h> instead.

>How-To-Repeat:
	try to compile emacs-19.34
>Fix:
>Audit-Trail:
>Unformatted: