Does anybody have any idea why this program won't compile, it seems to
be straightforward, but it I can't get it to compile on Redhat-7.3.
It starts screaming about mysql.h immediately, I use this link to
compile with, on my machine at the house, it compiles just fine and runs
just fine, but I
At 02:55 AM 9/25/03 -0400, you wrote:
Does anybody have any idea why this program won't compile,
it compiles fine on my slak box with includes from 4.0.15 so the program is
probably ok.
...
It starts screaming about mysql.h immediately,...
gcc -c -I/usr/include/mysql mysql1.c
make sure the
I found the answer in the archives:
http://marc.theaimsgroup.com/?l=mysqlm=104770109826977w=2
/* client1.c - connect to and disconnect from MySQL server */
#include my_global.h
#include my_sys.h /* - Added this and it all works fine now */
#include mysql.h
thanks Paul :)
KL
Kelley