On Tue, 2011-09-20 at 14:28 +0000, G Rajender wrote:
> Hi,
> 
> I am Cross Compiling LTP-20110228 using arm-linux-androideabi cross
> toolchain.
> Im getting the below errors
> 
> 
> make[4]: Leaving directory
> `/media/C0AA04ADAA04A250/ltp-full-20110228/testcases/commands/ade/nm'
> make[4]: Entering directory
> `/media/C0AA04ADAA04A250/ltp-full-20110228/testcases/commands/ade/objdump'
> arm-linux-androideabi-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe
> -Wall -g  -I../../../../include -I../../../../include  -c -o
> test_arch.o test_arch.c
> arm-linux-androideabi-gcc   -L../../../../lib  test_arch.o   -o
> test_arch_debug
> arm-linux-androideabi-gcc   -L../../../../lib  test_arch.o   -o
> test_arch_stripped
> strip test_arch_stripped
> strip: Unable to recognise the format of the input file
> `test_arch_stripped'

The Error lies here. Do you have 'strip' from the Cross-Architecture
Binary Utils package. Apart from your GCC (which is from your GCC
package), all the following packages should also be from your CROSS
COMPILE ARCH:

Glibc
Glibc-devel
Binutils

If you see your 'strip' binary, probably it is still belonging to the
machine arch on which you are compiling.

# which strip
/usr/bin/strip

# rpm -qf /usr/bin/strip
binutils-2.20.51.0.2-5.27.el6.ppc64

Check that out first.

Regards--
Subrata

> make[4]: *** [test_arch_stripped] Error 1
> 
> Any suggestion on this erros please......
> 
> Thanks in advance.
> 
> Regards
> 
> Rajender.G
> 
> 
> 
> Larsen & Toubro Limited 
> 
> www.larsentoubro.com 
> 
> This Email may contain confidential or privileged information for the
> intended recipient (s) If you are not the intended recipient, please
> do not use or disseminate the information, notify the sender and
> delete it from your system. 
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
> _______________________________________________ Ltp-list mailing list 
> [email protected] 
> https://lists.sourceforge.net/lists/listinfo/ltp-list


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to