Subject | Re: [firebird-support] linking with fb2.1 |
---|---|
Author | Nick Upson |
Post date | 2008-09-11T13:43:41Z |
2008/9/11 Adriano dos Santos Fernandes <adrianosf@...>
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]
> Nick Upson escreveu:thanks but that doesn't work either
> > 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.
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]