Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Problems building database/mysql51-server on NetBSD/sparc64

[- Apologies to those on pkgsrc-users that saw this yesterday.  I got no 
response, so thought I'd try again with a larger audience. -]

 I have a NetBSD/sparc64 box running 5.1_RC1, and I'm unable to build 
mysql51-server.  I was able to build and install all dependancies, including 
mysql51-client, but when I try to build the mysql51-server package, it 
eventually fails as follows.

 Has anyone else seen this?  Does anyone else have ideas of how to rectify this 


                    - Chris

libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../../include -I../../regex 
-I./include -I../../sql -Dunix 
-fPIC -DPIC -o .libs/ha_innodb_plugin_la-hash0hash.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../../include -I../../regex 
-I./include -I../../sql -Dunix 
ha_innodb_plugin_la-hash0hash.o >/dev/null 2>&1
/usr/pkg/bin/bash ../../libtool --preserve-dup-deps --tag=CXX   --mode=compile 
c++ -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include 
-I../../regex -I./include -I../../sql -I. -I/usr/include  -Dunix -I/usr/include 
-DPIC -I/usr/include -I/usr/pkg/include/mysql -fPIC -DPIC   
-fno-implicit-templates -fno-exceptions -fno-rtti -Dunix -c -o 
ha_innodb_plugin_la-ha_innodb.lo `test -f 'handler/' || echo 
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../../include -I../../regex 
-I./include -I../../sql -Dunix 
-fno-implicit-templates -fno-exceptions -fno-rtti -c handler/  
-fPIC -DPIC -o .libs/ha_innodb_plugin_la-ha_innodb.o
./include/sync0sync.ic: In function 'unsigned char 
./include/sync0sync.ic:83: error: 'atomic_swap_uchar' was not declared in this 
./include/sync0sync.ic: In function 'void mutex_reset_lock_word(ib_mutex_t*)':
./include/sync0sync.ic:114: error: 'atomic_swap_uchar' was not declared in this 
./include/sync0rw.ic: In function 'void 
rw_lock_set_writer_id_and_recursion_flag(rw_lock_t*, ulint)':
./include/sync0rw.ic:281: error: cannot convert '__pthread_st* volatile*' to 
'volatile __uint64_t*' for argument '1' to '__uint64_t atomic_cas_64(volatile 
__uint64_t*, __uint64_t, __uint64_t)'
gmake[2]: *** [ha_innodb_plugin_la-ha_innodb.lo] Error 1
gmake[2]: Leaving directory 
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
gmake: *** [all-recursive] Error 1
*** Error code 2

make: stopped in /data/NetBSD/pkgsrc/databases/mysql51-server
*** Error code 1

Home | Main Index | Thread Index | Old Index