On Nov 26, 2006, at 1:43 PM, Josh Paetzel wrote: [snip] >> So that some of you may see what I'm dealing with, you can download >> the source I'm working with at the following location: >> >> http://www.secure-computing.net/~ecrist/gts-core-src.tar >> >> All the mysql*.h files you see were put there by me to try and get >> this damn thing to compile. >> >> Thanks for all the help. >> >> ----- >> Eric F Crist >> Secure Computing Networks >> > > Well.....here's what I did to make it go. > > --- GBMuploader.c.old Sun Nov 26 13:37:44 2006 > +++ GBMuploader.c Sun Nov 26 13:38:35 2006 > @@ -10,7 +10,9 @@ > #include <stdio.h> > #include <string.h> > #include <stdlib.h> > -#include "mysql.h" > +#include <my_global.h> > +#include <my_sys.h> > +#include <mysql.h> > > //banker structure > struct banker { > > and then.... > > # gcc -o > test -L/usr/local/lib/mysql -lmysqlclient -lz -lcrypt -lm -I/usr/ > local/include/mysql > *.c > > mysql_config --cflags and mysql_config --libs are handy little tools > for determining what sorts of goo you need to compile stuff that > includes mysql stuffs. > > -- > Thanks, > > Josh Paetzel Is this going to work on Mac OS X? ----- Eric F Crist Secure Computing Networks