Link error while compile FBReader with arm-cegcc

27 views
Skip to first unread message

cuishen cheng

unread,
Dec 30, 2009, 10:38:14 PM12/30/09
to fbre...@googlegroups.com
Hi all
I am compiling  fbreader-0.10.7 on my ubuntu 8.0.4 with arm-cegcc after I modify the pocketpc.mk and target.mkk ,but finaaly I meet the following errors.

Linking FBReader ...Info: resolving _CRT_MT by linking to __imp__CRT_MT (auto-import)
Info: resolving std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage by linking to __imp__ZNSs4_Rep20_S_empty_rep_storageE (auto-import)
Info: resolving vtable for __cxxabiv1::__si_class_type_info by linking to __imp__ZTVN10__cxxabiv120__si_class_type_infoE (auto-import)
Info: resolving vtable for __cxxabiv1::__class_type_info by linking to __imp__ZTVN10__cxxabiv117__class_type_infoE (auto-import)
Info: resolving vtable for __cxxabiv1::__vmi_class_type_info by linking to __imp__ZTVN10__cxxabiv121__vmi_class_type_infoE (auto-import)
Info: resolving std::cerr by linking to __imp__ZSt4cerr (auto-import)
Info: resolving __ctype_ptr by linking to __imp___ctype_ptr (auto-import)
/opt/cegcc/lib/gcc/arm-cegcc/4.4.0/../../../../arm-cegcc/lib/libgcc_s.a(d000049.o):(.idata$5+0x0): multiple definition of `__imp___eqdf2'
/opt/cegcc/lib/gcc/arm-cegcc/4.4.0/../../../../arm-cegcc/lib/libcegcc.dll.a(d000234.o):(.idata$5+0x0): first defined here
/opt/cegcc/lib/gcc/arm-cegcc/4.4.0/../../../../arm-cegcc/bin/ld: warning: auto-importing has been activated without --enable-auto-import specified on the command line.
This should work unless it involves constant data structures referencing symbols from auto-imported DLLs.
collect2: ld returned 1 exit status
make[1]: *** [all] error 1

So ,could anyone tell me how to fix the problem?



Best Regards
cuishen

geometer

unread,
Dec 31, 2009, 1:45:26 PM12/31/09
to FBReader
Hi,

FBReader was never compilable for pocketpc platform, sorry.

As for your error message, looks like you try to link objects compiled
with incompatible options (I think, -frtti & -fno-rtti).

Best,

-- Nikolay

On Dec 31, 5:38 am, cuishen cheng <cuishen.ch...@gmail.com> wrote:
> Hi all
> I am compiling  fbreader-0.10.7 on my ubuntu 8.0.4 with arm-cegcc after I
> modify the pocketpc.mk and target.mkk ,but finaaly I meet the following
> errors.
>
> Linking FBReader ...Info: resolving _CRT_MT by linking to __imp__CRT_MT
> (auto-import)
> Info: resolving std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >::_Rep::_S_empty_rep_storage by linking to
> __imp__ZNSs4_Rep20_S_empty_rep_storageE (auto-import)
> Info: resolving vtable for __cxxabiv1::__si_class_type_info by linking to
> __imp__ZTVN10__cxxabiv120__si_class_type_infoE (auto-import)
> Info: resolving vtable for __cxxabiv1::__class_type_info by linking to
> __imp__ZTVN10__cxxabiv117__class_type_infoE (auto-import)
> Info: resolving vtable for __cxxabiv1::__vmi_class_type_info by linking to
> __imp__ZTVN10__cxxabiv121__vmi_class_type_infoE (auto-import)
> Info: resolving std::cerr by linking to __imp__ZSt4cerr (auto-import)
> Info: resolving __ctype_ptr by linking to __imp___ctype_ptr (auto-import)

> /opt/cegcc/lib/gcc/arm-cegcc/4.4.0/../../../../arm-cegcc/lib/libgcc_s.a(d00 0049.o):(.idata$5+0x0):
> multiple definition of `__imp___eqdf2'
> /opt/cegcc/lib/gcc/arm-cegcc/4.4.0/../../../../arm-cegcc/lib/libcegcc.dll.a (d000234.o):(.idata$5+0x0):

Reply all
Reply to author
Forward
0 new messages