Re: cannot call a C api to work with MySQL on Linux
Posted by: David Bates
Date: July 11, 2005 12:44PM

if you are still having problems with the errno thing, you might want to try to include errno.h
#include <errno.h>

If you are still having problems linking, I use this command to link
gcc -g -o progname progname.c `mysql_config --cflags` -L. `mysql_config --libs`

See if that helps you out any

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: cannot call a C api to work with MySQL on Linux
581
July 11, 2005 12:44PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.