Bug #7920 libmysqld incompatible with FEDERATED engine
Submitted: 15 Jan 2005 3:15 Modified: 19 Jan 2005 18:46
Reporter: Paul DuBois Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.0.3-alpha OS:Linux (Linux)
Assigned to: Jim Winstead CPU Architecture:Any

[15 Jan 2005 3:15] Paul DuBois
Description:
If you configure the currrent 5.0 BK tree with both
--with-embedded-server and --with-federated-storage-engine,
the build fails:

make[3]: Entering directory `/var/src/extern/MySQL/bk/mysql-5.0/libmysqld/examples'
if gcc -DEMBEDDED_LIBRARY -I. -I. -I../.. -I../../include -I. -I../.. -I../../client -I../../regex -I../../extra     -O3 -DDBUG_OFF -O1   -MT mysqltest.o -MD -MP -MF ".deps/mysqltest.Tpo" \
  -c -o mysqltest.o `test -f 'mysqltest.c' || echo './'`mysqltest.c; \
then mv -f ".deps/mysqltest.Tpo" ".deps/mysqltest.Po"; \
else rm -f ".deps/mysqltest.Tpo"; exit 1; \
fi
/bin/sh ../../libtool --preserve-dup-deps --mode=link g++  -O3 -DDBUG_OFF    -fno-implicit-templates -fno-exceptions -fno-rtti  -rdynamic  -o mysqltest  mysqltest.o ../libmysqld.a -lrt -ldl   ../../regex/libregex.a -lpthread -lcrypt -lnsl -lm  -lpthread   -lcrypt -lnsl -lm  -lz -L/usr/lib -lssl -lcrypto
mkdir .libs
g++ -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -rdynamic -o mysqltest mysqltest.o  ../libmysqld.a -lrt -ldl ../../regex/libregex.a -lpthread -lcrypt -lnsl -lm -lpthread -lcrypt -lnsl -lm -lz -L/usr/lib -lssl -lcrypto
../libmysqld.a(handler.o)(.text+0x79c): In function `get_new_handler(st_table*, db_type)':
: undefined reference to `vtable for ha_federated'
collect2: ld returned 1 exit status
make[3]: *** [mysqltest] Error 1
make[3]: Leaving directory `/var/src/extern/MySQL/bk/mysql-5.0/libmysqld/examples'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/src/extern/MySQL/bk/mysql-5.0/libmysqld'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/src/extern/MySQL/bk/mysql-5.0'
make: *** [all] Error 2
 

How to repeat:
See above.
[17 Jan 2005 2:04] MySQL Verification Team
Thank you for the bug report. I was able to repeat with latest Bk source.
[19 Jan 2005 1:01] Jim Winstead
Just a missing file in libmysqld/Makefile.am
[19 Jan 2005 18:46] Jim Winstead
Pushed to 5.0.