Hi,

I am trying to compile MySQL 3.23 on HPUX 11.23 IPF.

I am using gcc 3.0. gcc 2.95 is not available on HPUX
11.23.


CC=gcc \
CXX=g++ \
CFLAGS="-D_HPUX_SOURCE -D__hpux__ -D_REENTRANT" \
CXXFLAGS="-D_HPUX_SOURCE -D__hpux__ -D_REENTRANT" \
CPPFLAGS="-D_HPUX_SOURCE -D__hpux__ -D_REENTRANT" \
LDFLAGS="-L/usr/local/lib" \
./configure  \
     --prefix=/usr/local/mysql     \
     --exec-prefix=/usr/local/mysql \
     --with-libwrap=/usr/local \
     --with-low-memory


gmake

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../include
-I../include  -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE
-D__hpux__ -D_REENTRANT  -O3 -DDBUG_OFF
-D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -D__hpux__
-D_REENTRANT  -DHAVE_BROKEN_PREAD -DDONT_USE_FINITE
-DHAVE_BROKEN_GETPASS -DNO_FCNTL_NONBLOCK
-DDO_NOT_REMOVE_THREAD_WRAPPERS
-DHAVE_BROKEN_PTHREAD_COND_TIMEDWAIT -c strxmov.c
In file included from /usr/include/pthread.h:7,
                 from ../include/global.h:97,
                 from strxmov.c:33:
/usr/include/sys/pthread.h:1039: parse error before
'*' token
gmake[2]: *** [strxmov.o] Error 1
gmake[2]: Leaving directory
`/var/mysql-3.23.52/strings'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/mysql-3.23.52'
gmake: *** [all-recursive-am] Error 2


Does any one have some ideas?

Thanks!

Zengfa


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.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

Reply via email to