[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Relocation in generic ELF problem
From: |
Andreas Schwab |
Subject: |
Re: Relocation in generic ELF problem |
Date: |
Tue, 24 Apr 2007 15:46:08 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.97 (gnu/linux) |
aniruddha <address@hidden> writes:
> make[1]: Leaving directory `/home/buildroot/build_arm/sysappl/C++'
> for i in C++ ; do make -C $i || exit ; done
> make[1]: Entering directory `/home/buildroot/build_arm/sysappl/C++'
> g++ -c -o test1.o test1.cpp
> /home/buildroot/build_arm/staging_dir/bin/arm-linux-uclibc-g++ --static
> -o test1 test1.o
>
> /home/buildroot/build_arm/staging_dir/lib/gcc/arm-linux-uclibc/3.4.6/../../../../arm-linux-uclibc/bin/ld:
> test1.o: Relocatns in generic ELF (EM: 3)
> make[1]: *** [test1] Error 1
> make[1]: Leaving directory `/home/buildroot/build_arm/sysappl/C++'
> make: *** [all] Error 2
>
> wat is the solution to this problem?
Use the C++ cross compiler for your target.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."