Error linking with client API on Linux

Hi,

I have a Windows C program that works with the MariaDB client API 1.0. I'm porting it to Linux RH.

I downloaded the Linux client API 1.0 and built the program with it.

The link fails with this errors: undefined reference to `simple_command' undefined reference to `net_safe_read'

Please help. Thanks

Answer

something's wrong with your includes, may be. "simple_command" is a macro, it shouldn't be present as a symbol at link time.

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.