To Mr. Nam & Ilya, Can you share the compiler option?
Thank you, Kyungmin Park On 11/13/12, Mans Rullgard <mans.rullg...@linaro.org> wrote: > On 13 November 2012 05:12, Kyungmin Park <kmp...@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 > _______________________________________________ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain