Bug #39038 Compile error in Cluster "TCP_Transporter.cpp": incompatible types
Submitted: 26 Aug 2008 9:53 Modified: 25 Sep 2008 21:06
Reporter: Joerg Bruehe Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:6.3.17 Cluster OS:HP/UX (11.23 (IA64))
Assigned to: CPU Architecture:Any

[26 Aug 2008 9:53] Joerg Bruehe
Description:
"Cluster 6.3.17" cannot be built on HP-UX (HP-UX 11.23, IA 64)
(this is the only HP-UX platform tried):

"TCP_Transporter.cpp", line 172: error #2167: argument of type "socklen_t *" is incompatible with parameter of type "int *"
    getsockopt(fd, level, optval, (char*)&defval, &len);
                                                  ^

"TCP_Transporter.cpp", line 185: error #2167: argument of type "socklen_t *" is incompatible with parameter of type "int *"
                  (char*)&actual, &len) == 0) &&
                                  ^

2 errors detected in the compilation of "TCP_Transporter.cpp".
gmake[5]: *** [TCP_Transporter.lo] Error 1

How to repeat:
Try a build on HP-UX.
[26 Aug 2008 10:01] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/52523

2665 Jonas Oreland	2008-08-26
      ndb - bug#39038 - compile error on HP-UX
[26 Aug 2008 10:09] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/52533

2665 Jonas Oreland	2008-08-26
      ndb - bug#39038 - compile error on HP-UX
[26 Aug 2008 16:17] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/52580
[26 Aug 2008 21:33] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/52611
[27 Aug 2008 14:15] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/52713
[12 Dec 2008 23:28] Bugs System
Pushed into 6.0.7-alpha  (revid:jonas@mysql.com-20080826100343-l79ngqd89e718prm) (version source revid:tomas.ulin@sun.com-20080902154454-pvi3xa61d2wtxtbg) (pib:5)