To Mr. Nam & Ilya,
Can you share the compiler option?
Thank you, Kyungmin Park
On 11/13/12, Mans Rullgard mans.rullgard@linaro.org wrote:
On 13 November 2012 05:12, Kyungmin Park kmpark@infradead.org wrote:
Hi Michael,
Recently I tested the linaro toolchain gcc-4.6 version and try to build our codes. it's okay to compile the codes, but when launching the binary it occures following messages.
/usr/lib/libnfc-common-lib.so.1: unexpected reloc type 0x03
I tested it both "hard float" and "soft float". the result is same.
do you have any clues?
Relocation type 3 is R_ARM_REL32 which is a static relocation not allowed in shared objects. How did you create the shared lib? Make sure you compile all the code going into it with -fPIC.
-- Mans Rullgard / mru