Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: libdwarf: building amd64 toolchain fails

On 16.03.10 07:47, Christoph Egger wrote:
> When compiling an amd64 toolchain, compiling libdwarf fails with:
> $TOOLDIR/include/nbinclude/machine/elf_machdep.h:53:30: error:
> i386/elf_machdep.h: No such file or directory

Fixed with sys/arch/amd64/include/elf_machdep.h rev. 1.4.

Now building libctf fails with

'CLOCK_REALTIME' undeclared (first use in this function)

said header does #include_next <sys/time.h>
it takes the header from the host and not NetBSD's one.

when I add -nostdinc to tools/libctf/Makefile then build fails
there with sys/types.h: stdint.h: No such file or directory

what is the right way to go ?


Home | Main Index | Thread Index | Old Index