MySQL Forums
Forum List  »  Source, Builds, Binaries

Building MySQL on HP-UX 11.31 Itanium
Posted by: David Hilker
Date: May 26, 2010 12:45PM

In my continuing saga of compiling MySQL on HP-UX 11.31 (Itanium), I continually run into this error during compilation, and cannot find any helpful fixes:

gmake[2]: Entering directory `/root/itanium_compile/mysql-5.1.46/client'
g++ -DMYSQL_CLIENT_NO_THREADS -DDEFAULT_MYSQL_HOME="\"/usr/local/mysqlc\"" -DMYSQL_DATADIR="\"/usr/local/mysqlc/var\"" -I. -I../include -I../include -I../include -I../regex -O3 -fno-implicit-templates -fno-exceptions -fno-rtti -DHPUX11 -DSNPRINTF_RETURN_TRUNC -DHAVE_BROKEN_PREAD -D_INCLUDE_LONGLONG -DNO_FCNTL_NONBLOCK -DDO_NOT_REMOVE_THREAD_WRAPPERS -DHAVE_BROKEN_PTHREAD_COND_TIMEDWAIT -MT mysql.o -MD -MP -MF .deps/mysql.Tpo -c -o mysql.o mysql.cc
mysql.cc: In function 'int read_and_execute(char)':
mysql.cc:1866: error: cannot convert 'char*' to 'bool*' for argument '2' to 'char* batch_readline(LINE_BUFFER*, bool*)'
gmake[2]: *** [mysql.o] Error 1
gmake[2]: Leaving directory `/root/itanium_compile/mysql-5.1.46/client'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/root/itanium_compile/mysql-5.1.46/client'
gmake: *** [all-recursive] Error 1

My configure parameters are: ./configure --without-server --prefix=/usr/local/mysqlc --with-low-memory \
--enable-thread-safe-client --enable-local-infile --with-pthread \
--with-lib-ccflags=-fPIC --disable-shared

MySQL version: 5.1.46

gcc version: 4.33

gmake version: GNU Make 3.81

I can successfully compile version 5.0.21, but anything after that seems to fail.

This may have something to do with a bug fix, details are in:

http://lists.mysql.com/commits/69536

Any help would be appreciated. Thanks!

Options: ReplyQuote


Subject
Views
Written By
Posted
Building MySQL on HP-UX 11.31 Itanium
3804
May 26, 2010 12:45PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.