Bug #19549 fails to build from source on solaris x86

Submitted: 4 May 2006 22:13 Modified: 23 Jun 2006 10:39
Reporter: Kris Jurka Email Updates:
Status: Duplicate Impact on me:
None 
Category:Connector / ODBC Severity:S2 (Serious)
Version:3.51.12 OS:Solaris (Solaris 9 x86)
Assigned to: CPU Architecture:Any

[4 May 2006 22:13] Kris Jurka
Description:
util/MYODBCUtilReadDataSourceStr.c:23 tries to determine if the OS has the strndup function available, but this check is inadequate for solaris x86 which does not have it.  This results in an undefined symbol error.

How to repeat:
Try to compile on Solaris x86:
$ uname -a
SunOS albert 5.9 Generic_117172-05 i86pc i386 i86pc
$ cc -V
cc: Sun WorkShop 6 update 2 C 5.3 Patch 111680-09 2003/05/18

Suggested fix:
This check should be done with autoconf rather than some ad-hoc list in a random source file.
[5 May 2006 21:59] Kris Jurka
This looks like a duplicate of bug 7974, http://bugs.mysql.com/bug.php?id=7974
[23 Jun 2006 10:39] Sveta Smirnova
Yes, it is duplicates #7974

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

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