Subject Re: [firebird-support] Re: building a DLL and trying to use gcc
Author Ray Holme
Code is C, using ibase.h and ib_util.h to declare. :=]


On Sun, 2012-04-29 at 17:32 +0000, hvlad wrote:
>
>
>
> > --here is a try using the lib files
> >
> > gcc -shared -o vetAdmin.dll udf.o fbclient_ms.lib ib_util_ms.lib
> > -Wl,--export-all-symbols -Wl,--enable-auto-import
> >
> > udf.o:udf.c:(.text+0x1ce): undefined reference to
> `isc_decode_date@8'
> > udf.o:udf.c:(.text+0x205): undefined reference to `ib_util_malloc'
> > collect2: ld returned 1 exit status
>
> How does you declare isc_decode_date and ib_util_malloc in your code ?
> Does you used C++ or C compiler ?
>
> Regards,
> Vlad
>
>
>
>
>