Bug #2046 libmysqld links libmysql.o, conflicting with -DUSE_OLD_FUNCTIONS

Submitted: 8 Dec 2003 8:59 Modified: 24 Dec 2003 2:57
Reporter: Dean Ellis Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Embedded Library ( libmysqld ) Severity:S3 (Non-critical)
Version:4.1.1-bk OS:Linux (Linux x86)
Assigned to: Alexey Botchkov CPU Architecture:Any

[8 Dec 2003 8:59] Dean Ellis
Description:
In 4.1.1 libmysqld.a includes libmysql.o (4.0 does not do this), resulting in multiple definitions of mysql_connect() when using -DUSE_OLD_FUNCTIONS.

../libmysqld.a(libmysql.o)(.text+0x205c): In function `mysql_connect':
: multiple definition of `mysql_connect'
../libmysqld.a(libmysqld.o)(.text+0x260): first defined here

How to repeat:
Build with -DUSE_OLD_FUNCTIONS.

Suggested fix:
n/a
[9 Dec 2003 22:06] Alexey Botchkov
bk commit - 4.1 tree (hf:1.1668) (10 Dec 2003)
[24 Dec 2003 2:57] Alexey Botchkov
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

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.049 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.