On Wed, Jul 21, 2010 at 4:30 PM, Karl Krach <[email protected]>wrote:

> Hello,
>
> I want to compile the Valgrind on x86 for PowerPC target. I use the
> toolchain
> from Buildroot, and the compilation stops with the following error message:
>
> /opt/toolchain/usr/include/a.out.h:1:25:
>     error: linux/a.out.h: No such file or directory
>
> I guess, it comes from the disabled kernel option "BINFMT_AOUT: Kernel
> support
> for a.out and ECOFF binaries". The problem is, that there is no kernel
> support
> of a.out (HAVE_AOUT) for PowerPC.
>
> Is there a way, to disable the a.out support of valgrind? On the target we
> want to analyze ELF binaries only.
>

Valgrind uses <a.out.h> for the definition of 'struct nlist'. That
definition is also present in <nlist.h>. Does your system have the header
file /usr/include/nlist.h ?

Bart.
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to