Bug #48750 Simple build fails with linker error on _db_pop_
| Submitted: | 13 Nov 2009 7:33 | Modified: | 24 Dec 2009 8:03 |
|---|---|---|---|
| Reporter: | Mats Kindahl | Email Updates: | |
| Status: | Can't repeat | Impact on me: | |
| Category: | MySQL Server: Compiling | Severity: | S1 (Critical) |
| Version: | 5.1.40 | OS: | Linux (Kubuntu 9.10) |
| Assigned to: | CPU Architecture: | Any |
[13 Nov 2009 7:46]
Mats Kindahl
Compiling fails with --with-debug as well.
[13 Nov 2009 15:17]
MySQL Verification Team
I couldn't repeat with latest source tree mysql-5.1 on Ubuntu 9.10 X86_64: miguel@quetzal3:~/bzr/5.1-test$ cat /etc/issue Ubuntu 9.10 \n \l miguel@quetzal3:~/bzr/5.1-test$ BUILD/autorun.sh miguel@quetzal3:~/bzr/5.1-test$ ./configure miguel@quetzal3:~/bzr/5.1-test$ make bmystrings.a ../../dbug/libdbug.a ../../zlib/.libs/libzlt.a -lpthread -lcrypt -lnsl -lm -lpthread make[2]: Leaving directory `/home/miguel/bzr/5.1-test/server-tools/instance-manager' make[1]: Leaving directory `/home/miguel/bzr/5.1-test/server-tools' Making all in win make[1]: Entering directory `/home/miguel/bzr/5.1-test/win' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/miguel/bzr/5.1-test/win'
[18 Nov 2009 19:09]
Valeriy Kravchuk
Please, try to repeat with a newer version, 5.1.41, and inform about the results.
[17 Dec 2009 7:53]
Mats Kindahl
Same sequence, using configure and then make, works on 5.1.41 and does not produce this error.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.052 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.
Description: Standard non-debug build fails in latest tree. Reported by Amila Liyanaarachchi in internals@lists.mysql.com. How to repeat: $ ./configure . . . $ make . . . /bin/bash ../libtool --preserve-dup-deps --tag=CC --mode=link gcc -O3 -DUNIV_LINUX -DUNIV_LINUX -rdynamic -o dbug_analyze dbug_analyze.o libdbug.a ../mysys/libmysys.a ../strings/libmystrings.a -lpthread -lcrypt -lnsl -lm -lpthread ../mysys/libmysys.a(my_thr_init.o): In function `my_thread_end': /home/bzr/mkindahl/testing-5.1/mysys/my_thr_init.c:335: undefined reference to `_db_pop_' collect2: ld returned 1 exit status make[1]: *** [factorial] Error 1