I am new at programming in general. But i have written a small windows =
program that i have been trying to link with MySQL. I have included the =
mysql.h and mysql_embed.h header files, and have added -lmysqld embedded =
library for linking. I have also added the path to these files. When I =
compile my program, I get error messages for all of the MySQL functions =
in my program.
[Linker error] undefined reference to 'mysql_server_init@12'
[Linker error] undefined reference to 'mysql_init@4'
[Linker error] undefined reference to 'mysql_real_connect@32'
and so on...
What am i doing wrong. If someone could help, I would appreciate it.
Thanks
Eesh
=20
|