Subject Re: [firebird-support] linking with fb2.1
Author Nick Upson
2008/9/11 Adriano dos Santos Fernandes <adrianosf@...>

> Nick Upson escreveu:
> > 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.
> >
> This will be fixed in 2.1.2. You can fix on your side now linking with
> -lgcc_eh.


thanks but that doesn't work either

gcc -I. -I./ -I./../../core/dbtrig -I./../common -I./../../core/common -Wall
-g -lfbclient -lgcc_eh -lrt object/dbtrig.o object/daemonise.o
object/db_error.o object/cstrigger.o object/logging.o object/users.o -o
./dbtrig
/usr/bin/ld: ./dbtrig: hidden symbol `_Unwind_RaiseException' in
/usr/lib/gcc/i386-redhat-linux/4.1.2/libgcc_eh.a(unwind-dw2.o) is referenced
by DSO
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status


[Non-text portions of this message have been removed]