I can't compile XtraDB on FreeBSD 8.0-RELEASE amd64. XtraDB src 1.0.6-9, mysql-5.1.42.tar.gz.
Here is summary,
/bin/sh ../../libtool --preserve-dup-deps --tag=CXX --mode=link c++ -O2 -pipe -O3 -fno-omit-frame-pointer -fno-gcse -fPIC -fno-strict-aliasing -O2 -pipe -O3 -fno-omit-frame-pointer -fno-gcse -fPIC -fno-strict-aliasing -felide-constructors -fno-rtti -fno-exceptions -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -o mysqltest_embedded mysqltest.o ../libmysqld.a ../../regex/libregex.a -pthread -lcrypt -lm -pthread -lwrap -lcrypt -lm -lz ../../extra/yassl/src/libyassl.la ../../extra/yassl/taocrypt/src/libtaocrypt.la
libtool: link: c++ -O2 -pipe -O3 -fno-omit-frame-pointer -fno-gcse -fPIC -fno-strict-aliasing -O2 -pipe -O3 -fno-omit-frame-pointer -fno-gcse -fPIC -fno-strict-aliasing -felide-constructors -fno-rtti -fno-exceptions -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -o mysqltest_embedded mysqltest.o -pthread -pthread ../libmysqld.a ../../regex/libregex.a -lcrypt -lm -lwrap -lcrypt -lm -lz ../../extra/yassl/src/.libs/libyassl.a -lcrypt ../../extra/yassl/taocrypt/src/.libs/libtaocrypt.a -lcrypt -pthread
../libmysqld.a(libinnobase_a-ha_innodb.o)(.text+0x58bc): In function `innobase_init(void*)':
: undefined reference to `init_strvar_from_file(char*, int, st_io_cache*, char const*)'
../libmysqld.a(libinnobase_a-ha_innodb.o)(.text+0x58d8): In function `innobase_init(void*)':
: undefined reference to `init_intvar_from_file(int*, st_io_cache*, int)'
../libmysqld.a(libinnobase_a-ha_innodb.o)(.text+0x5cae): In function `innobase_init(void*)':
: undefined reference to `init_strvar_from_file(char*, int, st_io_cache*, char const*)'
../libmysqld.a(libinnobase_a-ha_innodb.o)(.text+0x5ccb): In function `innobase_init(void*)':
: undefined reference to `init_intvar_from_file(int*, st_io_cache*, int)'
../libmysqld.a(libinnobase_a-ha_innodb.o)(.text+0x6e6f): In function `innobase_commit_by_xid(handlerton*, xid_t*)':
: undefined reference to `active_mi'
../libmysqld.a(libinnobase_a-ha_innodb.o)(.text+0x75bc): In function `innobase_drop_database(handlerton*, char*)':
: undefined reference to `active_mi'
../libmysqld.a(libinnobase_a-ha_innodb.o)(.text+0x7875): In function `innobase_commit(handlerton*, THD*, bool)':
: undefined reference to `active_mi'
../libmysqld.a(libinnobase_a-ha_innodb.o)(.text+0xad72): In function `ha_innobase::rename_table(char const*, char const*)':
: undefined reference to `active_mi'
../libmysqld.a(libinnobase_a-ha_innodb.o)(.text+0xb008): In function `ha_innobase::delete_table(char const*)':
: undefined reference to `active_mi'
../libmysqld.a(libinnobase_a-ha_innodb.o)(.text+0xb66e): more undefined references to `active_mi' follow
*** Error code 1
../libmysqld.a(libinnobase_a-ha_innodb.o)(.text+0x58bc): In function `innobase_init(void*)':
: undefined reference to `init_strvar_from_file(char*, int, st_io_cache*, char const*)'
../libmysqld.a(libinnobase_a-ha_innodb.o)(.text+0x58d8): In function `innobase_init(void*)':
: undefined reference to `init_intvar_from_file(int*, st_io_cache*, int)'
../libmysqld.a(libinnobase_a-ha_innodb.o)(.text+0x5cae): In function `innobase_init(void*)':
: undefined reference to `init_strvar_from_file(char*, int, st_io_cache*, char const*)'
../libmysqld.a(libinnobase_a-ha_innodb.o)(.text+0x5ccb): In function `innobase_init(void*)':
: undefined reference to `init_intvar_from_file(int*, st_io_cache*, int)'
../libmysqld.a(libinnobase_a-ha_innodb.o)(.text+0x6e6f): In function `innobase_commit_by_xid(handlerton*, xid_t*)':
: undefined reference to `active_mi'
../libmysqld.a(libinnobase_a-ha_innodb.o)(.text+0x75bc): In function `innobase_drop_database(handlerton*, char*)':
: undefined reference to `active_mi'
../libmysqld.a(libinnobase_a-ha_innodb.o)(.text+0x7875): In function `innobase_commit(handlerton*, THD*, bool)':
: undefined reference to `active_mi'
../libmysqld.a(libinnobase_a-ha_innodb.o)(.text+0xad72): In function `ha_innobase::rename_table(char const*, char const*)':
: undefined reference to `active_mi'
../libmysqld.a(libinnobase_a-ha_innodb.o)(.text+0xb008): In function `ha_innobase::delete_table(char const*)':
: undefined reference to `active_mi'
../libmysqld.a(libinnobase_a-ha_innodb.o)(.text+0xb66e): more undefined references to `active_mi' follow
*** Error code 1
mv -f .deps/mysql_client_test.Tpo .deps/mysql_client_test.Po
2 errors
Same compilation error on openSUSE 11.2 x86_64