List:General Discussion« Previous MessageNext Message »
From:Bob Kruger Date:July 8 1999 9:42pm
Subject:Mysql 3.22.24/Slackware v4.0 Compile Error
View as plain text  
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
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

Mysql 3.22.24/Slackware v4.0 Compile ErrorBob Kruger9 Jul
  • Re: Mysql 3.22.24/Slackware v4.0 Compile ErrorSasha Pachev9 Jul
  • Re: Mysql 3.22.24/Slackware v4.0 Compile ErrorVan9 Jul