tech-pkg archive

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

mysql51-server



Hi,

Trying to compile database/mysql51-server on a macppc machine running netbsd-5 from 22-September-2009 fails. I didn't have any time to try anything else, but at least I'd like others to know.

Thanks,
John Klos


/usr/local/bin/bash ../../libtool --preserve-dup-deps --tag=CC --mode=compile cc -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/local/include/mysql -DMYSQL_DYNAMIC_PLUGIN -O2 -DUSE_OLD_FUNCTIONS -I/usr/include -I/usr/local/include/mysql -Dunix -c -o ha_innodb_plugin_la-btr0btr.lo `test -f 'btr/btr0btr.c' || echo './'`btr/btr0btr.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I../../include -I../../regex -I./include -I../../sql -Dunix -I/usr/pkgsrc/databases/mysql51-server/work/.buildlink/include/mysql -DMYSQL_DYNAMIC_PLUGIN -O2 -DUSE_OLD_FUNCTIONS -c btr/btr0btr.c -fPIC -DPIC -o .libs/ha_innodb_plugin_la-btr0btr.o
In file included from ./include/sync0rw.h:581,
                 from ./include/dict0mem.h:38,
                 from ./include/dict0dict.h:31,
                 from ./include/btr0btr.h:31,
                 from btr/btr0btr.c:26:
./include/sync0rw.ic: In function 'rw_lock_lock_word_decr':
./include/sync0rw.ic:205: error: 'ulong_t' undeclared (first use in this function) ./include/sync0rw.ic:205: error: (Each undeclared identifier is reported only once
./include/sync0rw.ic:205: error: for each function it appears in.)
./include/sync0rw.ic:205: error: expected expression before ')' token
./include/sync0rw.ic:205: error: too few arguments to function 'atomic_cas_ulong'
./include/sync0rw.ic: In function 'rw_lock_lock_word_incr':
./include/sync0rw.ic:236: error: 'ulong_t' undeclared (first use in this function)
./include/sync0rw.ic:236: error: expected expression before ')' token
./include/sync0rw.ic:236: error: too few arguments to function 'atomic_add_long_nv' ./include/sync0rw.ic: In function 'rw_lock_set_writer_id_and_recursion_flag': ./include/sync0rw.ic:281: warning: passing argument 1 of 'atomic_cas_32' from incompatible pointer type ./include/sync0rw.ic:281: warning: passing argument 2 of 'atomic_cas_32' makes integer from pointer without a cast ./include/sync0rw.ic:281: warning: passing argument 3 of 'atomic_cas_32' makes integer from pointer without a cast
./include/sync0rw.ic: In function 'rw_lock_x_lock_func_nowait':
./include/sync0rw.ic:442: error: 'ulong_t' undeclared (first use in this function)
./include/sync0rw.ic:442: error: expected expression before ')' token
./include/sync0rw.ic:442: error: too few arguments to function 'atomic_cas_ulong'
gmake[2]: *** [ha_innodb_plugin_la-btr0btr.lo] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/databases/mysql51-server/work/mysql-5.1.44/storage/innodb_plugin'
gmake[1]: *** [all-recursive] Error 1


Home | Main Index | Thread Index | Old Index