programs/winedbg/elf.c breaks non-Linux platforms

Eric Pouech pouech-eric at wanadoo.fr
Tue Feb 3 14:26:11 CST 2004


>   elf.c: In function `DEBUG_ProcessElfFile':
>   elf.c:344: error: `DT_NUM' undeclared (first use in this function)
>   elf.c:344: error: (Each undeclared identifier is reported only once
>   elf.c:344: error: for each function it appears in.)
>   elf.c:344: error: `DT_PROCNUM' undeclared (first use in this function)
>   elf.c:344: error: `DT_EXTRANUM' undeclared (first use in this function)
>   elf.c:345: error: `DT_LOOS' undeclared (first use in this function)
>   elf.c:345: error: `DT_HIOS' undeclared (first use in this function)
>   elf.c:346: error: `DT_LOPROC' undeclared (first use in this function)
>   elf.c:346: error: `DT_HIPROC' undeclared (first use in this function)
Hi Gerald,

are those defined somewhere on BSD ?
browsing the web shows that openbsd & netbsd define (some of them) in 
sys/exec_elf.h (except DT_PROCNUM and DT_EXTRANUM)
and freebsd has sys/elf32.h which includes some of them (and DT_COUNT 
instead of DT_NUM)

do you (partially) confirm this ?

A+




More information about the wine-devel mailing list