Hello:
I have compiled mysql 3.23 but when I run gnu's make, I get the following error:
cc: Error: /usr/include/pthread.h, line 312: #error "Please compile the module
including pthread.h with -pthread" (errormessage)
# error "Please compile the module including pthread.h with -pthread"
---^
cc: Warning: /usr/include/pthread.h, line 1256: In this declaration, there is
no declarator. (nodcl)
extern int pthread_mutex_lock (pthread_mutex_t*);
-------^
cc: Warning: /usr/include/pthread.h, line 1284: In this declaration, there is
no declarator. (nodcl)
extern int pthread_mutex_unlock (pthread_mutex_t*);
-------^
make[2]: *** [my_gethostbyname.lo] Error 1
make[2]: Leaving directory `/usr/install/mysql/libmysql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/install/mysql'
make: *** [all-recursive-am] Error 2
This is the configure command I'm using:
CC="cc -pthread" CXX="cxx -pthread -O" \
./configure --with-named-thread-libs="-lpthread -lmach -lexc -lc"
Does anybody have a clue?
Rodney
-------------------------------------------------
Get a Room at
http://www.lodging.com
Received on Mon Feb 03 2003 - 20:05:14 NZDT