Dear fbdioan.
My results in fpc 2.2.2 are similar'
[root@ex5 ibase]# /opt/fpc_2.2.2/bin/ppc386 -Fu/opt/fpc_2.2.2/lib/fpc/2.2.2/units/i386-linux/rtl/ testib60.pp
Free Pascal Compiler version 2.2.2rc2 [2008/07/10] for i386
Copyright (c) 1993-2008 by Florian Klaempfl
Target OS: Linux for i386
Compiling testib60.pp
Compiling ibase60.pp
testib60.pp(19,7) Note: Local variable "dbinfo" not used
Linking testib60
/usr/lib/libgds.so: undefined reference to `_Unwind_RaiseException'
/usr/lib/libgds.so: undefined reference to `_Unwind_GetLanguageSpecificData'
/usr/lib/libgds.so: undefined reference to `_Unwind_Resume'
/usr/lib/libgds.so: undefined reference to `_Unwind_DeleteException'
/usr/lib/libgds.so: undefined reference to `_Unwind_GetTextRelBase'
/usr/lib/libgds.so: undefined reference to `_Unwind_SetIP'
/usr/lib/libgds.so: undefined reference to `_Unwind_GetDataRelBase'
/usr/lib/libgds.so: undefined reference to `_Unwind_GetRegionStart'
/usr/lib/libgds.so: undefined reference to `_Unwind_SetGR'
/usr/lib/libgds.so: undefined reference to `_Unwind_GetIP'
testib60.pp(147,1) Error: Error while linking
testib60.pp(147,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
[/list]
The distribution I use is Mandriva 2008.1 (Spring) Powerpack
I installed Firebird from FirebirdSS-2.1.1.17910-0.nptl.i686.tar.gz
Is this relevant?
http://
http://www.nabble.com/-FB-Tracker--Created:-(CORE-2033)-Unresolved-symbol-_Unwind_GetIP-in-client-library-td18828257.html
It says :
People, please. Use dynamic linking. If kinterbasdb needs the
_Unwind_GetIP symbol (i.e. the symbol is present in kinterbasdb shared
object as an unresolved one), then kinterbasdb must dyna-link to the
library in question. If fbclient needs the symbol, then it has to link
to the library in question, dynamicly.
the program testib60 uses static linking.
I do not understand the remark as the file kinterbasdb is not available on my system.
In which library are the references declared?
How to change to dynamic linking?
I hope we can sort this problem out.
Thanks in advance.