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 
problem?

 Thanks....

                    - Chris


libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../../include -I../../regex 
-I./include -I../../sql -Dunix 
-I/data/NetBSD/pkgsrc/databases/mysql51-server/work/.buildlink/include/mysql 
-DMYSQL_DYNAMIC_PLUGIN -O2 -DUSE_OLD_FUNCTIONS -fPIC -DPIC -c ha/hash0hash.c  
-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 
-I/data/NetBSD/pkgsrc/databases/mysql51-server/work/.buildlink/include/mysql 
-DMYSQL_DYNAMIC_PLUGIN -O2 -DUSE_OLD_FUNCTIONS -fPIC -DPIC -c ha/hash0hash.c -o 
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 
-I/usr/pkg/include/mysql  -DMYSQL_DYNAMIC_PLUGIN -O2 -DUSE_OLD_FUNCTIONS -fPIC 
-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/ha_innodb.cc' || echo 
'./'`handler/ha_innodb.cc
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../../include -I../../regex 
-I./include -I../../sql -Dunix 
-I/data/NetBSD/pkgsrc/databases/mysql51-server/work/.buildlink/include/mysql 
-DMYSQL_DYNAMIC_PLUGIN -O2 -DUSE_OLD_FUNCTIONS -fPIC -DPIC -fPIC 
-fno-implicit-templates -fno-exceptions -fno-rtti -c handler/ha_innodb.cc  
-fPIC -DPIC -o .libs/ha_innodb_plugin_la-ha_innodb.o
./include/sync0sync.ic: In function 'unsigned char 
mutex_test_and_set(ib_mutex_t*)':
./include/sync0sync.ic:83: error: 'atomic_swap_uchar' was not declared in this 
scope
./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 
scope
./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 
`/data/NetBSD/pkgsrc/databases/mysql51-server/work/mysql-5.1.46/storage/innodb_plugin'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/data/NetBSD/pkgsrc/databases/mysql51-server/work/mysql-5.1.46/storage'
gmake: *** [all-recursive] Error 1
*** Error code 2

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



Home | Main Index | Thread Index | Old Index