I found the answer in the archives: http://marc.theaimsgroup.com/?l=mysql&m=104770109826977&w=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 Lingerfelt wrote: > 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 can't get it to compile on any of my other 7.3 > machines, does anybody, know what I could be missing, I'm using up to > Redhat rpms of mysql, and I have the devel rpm, so I have all the > libraries and include files. but ??? > > RPMS on the machines > mysql-devel-3.23.56-1.73 > mysql-3.23.56-1.73 > mysql-server-3.23.56-1.73 > -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]