Em Mon, Mar 14, 2011 at 05:51:21PM +0800, 陳韋任 escreveu:
>   I have some problems while building perf on a Linux/SPARC machine.
> Here is the system information.
> 
> $ uname -a
> Linux sparc 2.6.37-rc5-git #1 SMP Tue Dec 21 17:03:53 CST 2010 sparc64 sun4v 
> UltraSparc T2 (Niagara2) GNU/Linux
> $ gcc --version
> gcc (Gentoo 4.3.4 p1.0, pie-10.1.5) 4.3.4
> 
>   And here is the error message,
> --------------------------------------------------------------------
> $ make
> <stdin>:1:20: error: libelf.h: No such file or directory
>                 ......
> Makefile:419: *** No libelf.h/libelf found, please install 
> libelf-dev/elfutils-libelf-devel.  Stop.
> --------------------------------------------------------------------
> 
>   I tried the code which is used to test libelf in the Makefile. But
> it seems work correctly. Do I miss something? Or I just have to update
> the kernel?

Gentoo, ok, can you make sure the package providing the libelf
implementation is elfutils?

There are other libelf implementations that could pass the simple test,
but which doesn't provide functions used in perf.

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to