problems compiling mysql on Tru64

From: rodneys@lodging.com
Date: Mon Feb 03 2003 - 15:02:57 EST


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



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:06 EDT