problem in compiling oprofile for arm
Hi All,
from past two day I was struggling to resolve a compilation problem which comes across compiling of oprofiler for arm
for compilation steps I followed are
- configuration
CC=arm_v6_vfp_le-gcc CXX=arm_v6_vfp_le-g++ ./configure -target=arm-linux --with-extra-libs=/opt/arm_v6_vfp_le/lib/ --with-extra-includes=/opt/arm_v6_vfp_le/include/
after configuration while making it gives error
/opt/arm_v6_vfp_le/bin/../lib/gcc/armv6fl-montavista-linux-gnueabi/4.2.0/../../../../armv6fl-montavista-linux-gnueabi/bin/ld: /opt/arm_v6_vfp_le/lib/libbfd.a(bfd.o): Relocations in generic ELF (EM: 3)
/opt/arm_v6_vfp_le/bin/../lib/gcc/armv6fl-montavista-linux-gnueabi/4.2.0/../../../../armv6fl-montavista-linux-gnueabi/bin/ld: /opt/arm_v6_vfp_le/lib/libbfd.a(bfd.o): Relocations in generic ELF (EM: 3)
/opt/arm_v6_vfp_le/bin/../lib/gcc/armv6fl-montavista-linux-gnueabi/4.2.0/../../../../armv6fl-montavista-linux-gnueabi/bin/ld: /opt/arm_v6_vfp_le/lib/libbfd.a(bfd.o): Relocations in generic ELF (EM: 3)
/opt/arm_v6_vfp_le/bin/../lib/gcc/armv6fl-montavista-linux-gnueabi/4.2.0/../../../../armv6fl-montavista-linux-gnueabi/bin/ld: /opt/arm_v6_vfp_le/lib/libbfd.a(bfd.o): Relocations in generic ELF (EM: 3)
/opt/arm_v6_vfp_le/bin/../lib/gcc/armv6fl-montavista-linux-gnueabi/4.2.0/../../../../armv6fl-montavista-linux-gnueabi/bin/ld: /opt/arm_v6_vfp_le/lib/libbfd.a(bfd.o): Relocations in generic ELF (EM: 3)
/opt/arm_v6_vfp_le/bin/../lib/gcc/armv6fl-montavista-linux-gnueabi/4.2.0/../../../../armv6fl-montavista-linux-gnueabi/bin/ld: /opt/arm_v6_vfp_le/lib/libbfd.a(bfd.o): Relocations in generic ELF (EM: 3)
/opt/arm_v6_vfp_le/bin/../lib/gcc/armv6fl-montavista-linux-gnueabi/4.2.0/../../../../armv6fl-montavista-linux-gnueabi/bin/ld: /opt/arm_v6_vfp_le/lib/libbfd.a(bfd.o): Relocations in generic ELF (EM: 3)
/opt/arm_v6_vfp_le/bin/../lib/gcc/armv6fl-montavista-linux-gnueabi/4.2.0/../../../../armv6fl-montavista-linux-gnueabi/bin/ld: /opt/arm_v6_vfp_le/lib/libbfd.a(bfd.o): Relocations in generic ELF (EM: 3)
/opt/arm_v6_vfp_le/lib/libbfd.a: could not read symbols: File in wrong format
i have compiled bin utils for arm again and change libbfd but result was as it is
please help me if any one have idea
Thanks in advance
Regards,
Namit Gupta
|