Hello, Le 12/10/12 14:37, 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 explicitely sets INTL_DEPENDS which expands to either gettext-full or gettext-stub to be built to statisfy these dependencies.
In any case, this should result in the libintl.h header to be available, so please check that it is actually present in:
/build/staging_dir/target-arm_v7-a_uClibc-0.9.32_eabi/usr/lib/libintl-stub/include
because this is where it should be. -- Florian _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
