I have a number of slackware 4.0 systems that all refuse to compile MySQL
v3.22.24. Error message follows:
gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -O6
-DDBUG_OFF -c -fPIC -D
PIC libmysql.c -o .libs/libmysql.lo
libmysql.c: In function `mysql_real_connect':
libmysql.c:1067: `SOCK_STREAM' undeclared (first use this function)
libmysql.c:1067: (Each undeclared identifier is reported only once
libmysql.c:1067: for each function it appears in.)
make[2]: *** [libmysql.lo] Error 1
make[2]: Leaving directory `/mysql-3.22.24/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mysql-3.22.24'
make: *** [all-recursive-am] Error 2
Threads are installed (if that means anything).
I can find nothing about it in the MySQL reference manual.
v3.22.24 compiles just fine with Redhat v6.0.
Any hints or suggestions?
Thanks for any assistance.
Regards - Bob Kruger