Subject | Re: building a DLL and trying to use gcc |
---|---|
Author | hvlad |
Post date | 2012-04-29T17:32:22Z |
> --here is a try using the lib filesHow does you declare isc_decode_date and ib_util_malloc in your code ? Does you used C++ or C compiler ?
>
> 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
Regards,
Vlad