Subject | linking with fb2.1 |
---|---|
Author | Nick Upson |
Post date | 2008-09-11T13:00:38Z |
using 2.1 on fc8,
I have migrated my code from a machine with fb1.5 installed, when I go to
compile with fb2.1, using the same compile instructions, I get the issue
below. Changing fbclient to fbembed makes it work but, AFAIK, such a change
should not be necessary.
gcc -I. -I./ -I./../../core/dbtrig -I./../common -I./../../core/common -Wall
-g -lfbclient -lrt object/dbtrig.o object/daemonise.o object/db_error.o
object/cstrigger.o object/logging.o object/users.o -o ./dbtrig
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libfbclient.so: undefined
reference to `_Unwind_RaiseException'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libfbclient.so: undefined
reference to `_Unwind_GetLanguageSpecificData'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libfbclient.so: undefined
reference to `_Unwind_Resume'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libfbclient.so: undefined
reference to `_Unwind_DeleteException'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libfbclient.so: undefined
reference to `_Unwind_GetTextRelBase'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libfbclient.so: undefined
reference to `_Unwind_SetIP'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libfbclient.so: undefined
reference to `_Unwind_GetDataRelBase'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libfbclient.so: undefined
reference to `_Unwind_GetRegionStart'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libfbclient.so: undefined
reference to `_Unwind_SetGR'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libfbclient.so: undefined
reference to `_Unwind_GetIP'
collect2: ld returned 1 exit status
[Non-text portions of this message have been removed]
I have migrated my code from a machine with fb1.5 installed, when I go to
compile with fb2.1, using the same compile instructions, I get the issue
below. Changing fbclient to fbembed makes it work but, AFAIK, such a change
should not be necessary.
gcc -I. -I./ -I./../../core/dbtrig -I./../common -I./../../core/common -Wall
-g -lfbclient -lrt object/dbtrig.o object/daemonise.o object/db_error.o
object/cstrigger.o object/logging.o object/users.o -o ./dbtrig
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libfbclient.so: undefined
reference to `_Unwind_RaiseException'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libfbclient.so: undefined
reference to `_Unwind_GetLanguageSpecificData'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libfbclient.so: undefined
reference to `_Unwind_Resume'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libfbclient.so: undefined
reference to `_Unwind_DeleteException'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libfbclient.so: undefined
reference to `_Unwind_GetTextRelBase'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libfbclient.so: undefined
reference to `_Unwind_SetIP'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libfbclient.so: undefined
reference to `_Unwind_GetDataRelBase'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libfbclient.so: undefined
reference to `_Unwind_GetRegionStart'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libfbclient.so: undefined
reference to `_Unwind_SetGR'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libfbclient.so: undefined
reference to `_Unwind_GetIP'
collect2: ld returned 1 exit status
[Non-text portions of this message have been removed]