Subject Re: [firebird-support] undefined reference to `fb_interpret@12'
Author Dmitry Yemanov
tadeusz_czyzewski wrote:
> I'm writing simple program for work organization. I use Code::Blocks
> this is multiplatform IDE which uses mingw32. I started to write
> Firebird class and when i use fb_interpret function linker returns
> information like in subject "undefined reference to
> `fb_interpret@12'". I checked exports from fbclient_ms.lib and the
> fb_interpret function is there. I don't now what to do next please
> help me.

It seems that fb_interpret is declared as having C++ linkage instead of
C one. Please check it's inside the {extern "C"} definition of your
include files.


Dmitry