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

Robert Lunnon bobl at optushome.com.au
Tue Feb 3 16:00:22 CST 2004


On Wednesday 04 February 2004 06:26, Eric Pouech wrote:
> >   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+

According to a quick grep in /usr/include solaris doesn't define these either



More information about the wine-devel mailing list