compile error with mysql 4.1.2-alpha

cygwin cyqwin@ekers.idps.co.uk
Tue Jun 8 16:09:00 GMT 2004


Hi,

i am trying to get DBI working with mysql...

I am trying to compile mysql, and get a compile error (see below). Has 
anyone built a mysql recently?

regards,
jeremy

=========================================================================
if gcc -DDEFAULT_BASEDIR=\"/usr/local\" -DDATADIR="\"/usr/local/var\"" 
-DDEFAULT_CHARSET_HOME="\"/usr/local\"" 
-DSHAREDIR="\"/usr/local/share/mysql\""
  -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I.    -O3 -DDBUG_OFF    -MT 
my_thr_init.o -MD -MP -MF ".deps/my_thr_init.Tpo" \
   -c -o my_thr_init.o `test -f 'my_thr_init.c' || echo 
'./'`my_thr_init.c; \
then mv -f ".deps/my_thr_init.Tpo" ".deps/my_thr_init.Po"; \
else rm -f ".deps/my_thr_init.Tpo"; exit 1; \
fi
my_thr_init.c: In function `my_thread_global_init':
my_thr_init.c:72: error: `PTHREAD_MUTEX_ERRORCHECK_NP' undeclared (first 
use in this function)
my_thr_init.c:72: error: (Each undeclared identifier is reported only once
my_thr_init.c:72: error: for each function it appears in.)
make[2]: *** [my_thr_init.o] Error 1
make[2]: Leaving directory `/c/Documents and Settings/jeremy/My 
Documents/My Downloads/tmp/mysql-4.1.2-alpha/mysys'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/Documents and Settings/jeremy/My 
Documents/My Downloads/tmp/mysql-4.1.2-alpha'
make: *** [all] Error 2
=========================================================================


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20040608/0c0d8d09/attachment.ksh>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list