Quoting [EMAIL PROTECTED]:
Also, I used this command:
CC="cc -pthread" CXX="cxx -pthread -O" \
./configure --with-named-thread-libs="-lpthread -lmach -lexc -lc"
> Quoting [EMAIL PROTECTED]:
>
> By the way, I did use pthread:
>
> ./configure --prefix=/usr/local/mysql --with-pthread
>
> >
> >
> > I'm running Tru64 5.1a and I downloaded mysql-3.23.51.tar. I was able to
> > compile it successfully but when id did a GNU Make, I recieved the
> > following:
> >
> > 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*);
> > -------^
> > cc: Warning: ./../include/my_pthread.h, line 317: In this declaration,
> > parameter 1 has a different type than specified in an earlier declaration
> of
> >
> > this function. (mismatparam)
> > int sigwait(sigset_t *setp, int *sigp); /* Use our implemention
> */
> > ----^
> > cc: Error: ./../include/my_pthread.h, line 317: In this declaration, the
> type
> >
> > of "sigwait" is not compatible with the type of a previous declaration
> > of "sigwait" at line number 515 in file /usr/include/sys/signal.h.
> > (notcompat)
> > int sigwait(sigset_t *setp, int *sigp); /* Use our implemention
> */
> > ----^
> > 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
> >
> > -------------------------------------------------
> > Get a Room at http://www.lodging.com
> >
>
>
>
>
> -------------------------------------------------
> Get a Room at http://www.lodging.com
>
-------------------------------------------------
Get a Room at http://www.lodging.com
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php