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@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to