Perf compilation failure with uclibc due to libintl

Florian Fainelli florian at openwrt.org
Mon Dec 10 12:51:05 UTC 2012


Hello,

Le 12/10/12 13:12, Madhu koriginja a écrit :
> Hi All,
>   Perf package depends on elfutils. I am using the elfutils-0.152. elfutils
> package compilation failed due to libintl. I am using gcc 4.5 linaro
> toolchain and uclibc 0.9.32.
> I am able compile the same package with same toolchain successfully with
> glibc 2.14.
> With uClibc I faced the below error. Please suggest me how to solve this
> issue.
>
> make[7]: Entering directory
> `/build/build_dir/target-arm_v7-a_uClibc-0.9.32_eabi/elfutils-0.152/libdw'
> arm-openwrt-linux-uclibcgnueabi-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H
> -DLOCALEDIR='"/usr/share/locale"' -DIS_LIBDW -I. -I.. -I. -I. -I../lib -I..
> -I./../libelf
>   -I/build/staging_dir/target-arm_v7-a_uClibc-0.9.32_eabi/usr/include
> -I/build/staging_dir/target-arm_v7-a_uClibc-0.9.32_eabi/include
> -I/build/staging_dir/toolchain-arm_v7-a_gcc-4.5-linaro_uClibc-0.9.32_eabi/usr/include
> -I/build/staging_dir/toolchain-arm_v7-a_gcc-4.5-linaro_uClibc-0.9.32_eabi/include
> -I/build/staging_dir/target-arm_v7-a_uClibc-0.9.32_eabi/usr/lib/libiconv-stub/include
> -I/build/staging_dir/target-arm_v7-a_uClibc-0.9.32_eabi/usr/lib/libintl-stub/include
>   -std=gnu99 -Wall -Wshadow  -Wunused -Wextra -fgnu89-inline -Wformat=2
>   -Os -pipe -march=armv7-a -mtune=cortex-a9 -fno-caller-saves -fhonour-copts
> -msoft-float
> -I/build/staging_dir/target-arm_v7-a_uClibc-0.9.32_eabi/usr/lib/libiconv-stub/include
> -I/build/staging_dir/target-arm_v7-a_uClibc-0.9.32_eabi/usr/lib/libintl-stub/include
>   -MT dwarf_begin.o -MD -MP -MF .deps/dwarf_begin.Tpo -c -o dwarf_begin.o
> dwarf_begin.c
> In file included from dwarf_begin.c:59:0:
> ./libdwP.h:54:21: fatal error: libintl.h: No such file or directory
> compilation terminated.
> make[7]: *** [dwarf_begin.o] Error 1

elfutils needs getext to properly build. It looks like you are using 
OpenWrt, so I would rather direct you to the openwrt development 
mailing-list, because this has nothing to do with uClibc per se.
--
Florian


More information about the uClibc mailing list