Subject Re: [firebird-support] compiling embeded sql (real newbie)
Author Dimitry Sibiryakov
On 10 May 2004 at 16:07, Stanislav Kunc wrote:

>I am trying, but something is wrong.
[skip]
>-LC:\tmp\sk\Dev-C++\bin \
>-lfbclient
>newbie.o(.text+0x59):newbie.c: undefined reference to `isc_attach_database@24'
>newbie.o(.text+0x69):newbie.c: undefined reference to `isc_sqlcode@4'
>newbie.o(.text+0x8e):newbie.c: undefined reference to `isc_detach_database@8'
>newbie.o(.text+0x9e):newbie.c: undefined reference to `isc_sqlcode@4'
>make: *** [all] Error 1
>--------------------------------

Now C name mangling is your problem. Do you use official build or
compiled FB yourself? Anyway, play with switches, such as --kill-at,
--enable-stdcall-fixup and so on.

>So is the problem in nonexistence of fbclient.def?

Probably, this is problem with non-existing import library...

SY, Dimitry Sibiryakov.