Bug #10949 5.1-2325 tree build fails with embedded server
Submitted: 30 May 2005 1:54 Modified: 2 Jun 2005 3:17
Reporter: Stewart Smith Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.1-wl2325 bk tree OS:Linux (linux)
Assigned to: Mats Kindahl CPU Architecture:Any

[30 May 2005 1:54] Stewart Smith
Description:
link failure

ccache distcc powerpc-linux-g++ -g -O -DDBUG_ON -DSAFE_MUTEX -Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Woverloaded-virtual -Wsign-promo -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor -felide-constructors -fno-exceptions -fno-rtti -mcpu=powerpc -DUNIV_MUST_NOT_INLINE -DEXTRA_DEBUG -DFORCE_INIT_OF_VARS -DSAFEMALLOC -DPEDANTIC_SAFEMALLOC -DSAFE_MUTEX -O1 -Wuninitialized -rdynamic -o mysql_client_test_embedded mysql_client_test.o  ../libmysqld.a -lrt -ldl -lpthread -lcrypt -lnsl -lm -lpthread -lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto -lz
../libmysqld.a(log_event.o)(.gnu.linkonce.t._ZN21Update_rows_log_event6CreateEP3THDP8st_tablemPK9st_bitmapb+0x68): In function `Update_rows_log_event::Create(THD*, st_table*, unsigned long, st_bitmap const*, bool)':
../sql/log_event.h:1405: undefined reference to `Update_rows_log_event::Update_rows_log_event[in-charge](THD*, st_table*, unsigned long, st_bitmap const*, bool)'
collect2: ld returned 1 exit status
distcc[26230] ERROR: compile (null) on localhost failed
make[3]: *** [mysqltest_embedded] Error 1
make[3]: *** Waiting for unfinished jobs....
../libmysqld.a(log_event.o)(.gnu.linkonce.t._ZN21Update_rows_log_event6CreateEP3THDP8st_tablemPK9st_bitmapb+0x68): In function `Update_rows_log_event::Create(THD*, st_table*, unsigned long, st_bitmap const*, bool)':
../sql/log_event.h:1405: undefined reference to `Update_rows_log_event::Update_rows_log_event[in-charge](THD*, st_table*, unsigned long, st_bitmap const*, bool)'
collect2: ld returned 1 exit status
distcc[26184] ERROR: compile (null) on localhost failed
make[3]: *** [mysql] Error 1
../libmysqld.a(log_event.o)(.gnu.linkonce.t._ZN21Update_rows_log_event6CreateEP3THDP8st_tablemPK9st_bitmapb+0x68): In function `Update_rows_log_event::Create(THD*, st_table*, unsigned long, st_bitmap const*, bool)':
../sql/log_event.h:1405: undefined reference to `Update_rows_log_event::Update_rows_log_event[in-charge](THD*, st_table*, unsigned long, st_bitmap const*, bool)'
collect2: ld returned 1 exit status
distcc[26463] ERROR: compile (null) on localhost failed
make[3]: *** [mysql_client_test_embedded] Error 1
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/stewart/Documents/MySQL/5.1/wl2325/libmysqld'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/stewart/Documents/MySQL/5.1/wl2325'
make: *** [all] Error 2

How to repeat:
build with embedded server enabled (e.g. ./BUILD script)

Suggested fix:
don't fail to build
[2 Jun 2005 3:17] Stewart Smith
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html

Additional info:

Latest pull builds fine.