[fpc-devel] ncurses example on arm linux uclibc

Nataraj S Narayan natarajsn at gmail.com
Sat Oct 24 10:05:34 CEST 2009


hi Jonas

In  /usr/br-git-rf/usr/lib  'arm-linux-nm' gives

libstdc++.so.6 U __aeabi_unwind_cpp_pr1@@GCC_3.5
libstdc++.so.6.0.10 U __aeabi_unwind_cpp_pr1@@GCC_3.5

in

/usr/br-git-rf/lib it is in

libgcc_s.so.1000086bc W __aeabi_unwind_cpp_pr1

regards

Nataraj



libgcc_s.so.1000086bc W __aeabi_unwind_cpp_pr1
On Fri, Oct 23, 2009 at 8:44 PM, Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:
>
> On 23 Oct 2009, at 17:10, Nataraj S Narayan wrote:
>
>> Yes, filesystem was built using 'buildroot' with toolchain with
>> --sysroot support.
>>
>> # /software/fpc-uclibc/lib/fpc/2.5.1/ppcrossarm   -MObjFPC -TLinux
>> -Parmv5 -gl -Xd -Xs -l -darm  -XParm-linux-uclibcgnueabi- -CfSOFT
>> -CaEABI -darm -gl -O- -CpARMV5 examples/firework.pp -uUSE_LOCALIZE
>> firework.pp  -Fu/software/fpc-uclibc/lib/fpc/2.5.1/units/arm-linux/*
>> -FL/usr/br-git-rf/lib/ld-uClibc.so.0  -XR/usr/br-git-rf/
>> -k"--sysroot=/usr/br-git-rf"
>> Free Pascal Compiler version 2.5.1 [2009/10/23] for arm
>> Copyright (c) 1993-2009 by Florian Klaempfl
>> /usr/br-git-rf/usr/lib/libc.a(sigrestorer.os):(.ARM.exidx+0x0):
>> undefined reference to `__aeabi_unwind_cpp_pr1'
>> firework.pp(118,48) Error: Error while linking
>> firework.pp(118,48) Fatal: There were 1 errors compiling module, stopping
>> Fatal: Compilation aborted
>
> You'll have to find out in which library this symbol is defined. It's
> probably libgcc or libgcc_eh. In the worst case, you can just run "nm" on
> all your libraries and look for the one containing this symbol with a "T" in
> front of it.
>
>
> Jonas
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>



More information about the fpc-devel mailing list