Bug #27031 | Undelared Symbol | ||
---|---|---|---|
Submitted: | 11 Mar 2007 12:07 | Modified: | 30 Jun 2007 13:28 |
Reporter: | [ name withheld ] | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S2 (Serious) |
Version: | 5.0.37, 5.0.33 | OS: | Other (SCO Openserver 5.0.4) |
Assigned to: | CPU Architecture: | Any | |
Tags: | regression |
[11 Mar 2007 12:07]
[ name withheld ]
[12 Mar 2007 6:46]
Valeriy Kravchuk
Thank you for a problem report. Please, try to repeat with a newer version, 5.0.37, and inform about the results. Send your ./configure command line in case of the same problem. As far as i can see, bug #13333 is fixed in 5.0.37 sources: #if (defined(_SCO_DS) || defined(UNIXWARE_7)) && !defined(SHUT_RDWR) /* SHUT_* functions are defined only if "(defined(_XOPEN_SOURCE) && _XOPEN_SOURCE_EXTENDED - 0 >= 1)" */ #define SHUT_RDWR 2 #endif
[12 Mar 2007 17:51]
[ name withheld ]
using configure --disable-shared, I get: make[2]: Entering directory `/appl/ray/mysql-5.0.37/vio' source='vio.c' object='vio.o' libtool=no \ DEPDIR=.deps depmode=gcc /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -DDBUG_OFF -DS CO -c vio.c source='viosocket.c' object='viosocket.o' libtool=no \ DEPDIR=.deps depmode=gcc /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -DDBUG_OFF -DS CO -c viosocket.c viosocket.c: In function `vio_close': viosocket.c:278: `SHUT_RDWR' undeclared (first use in this function) viosocket.c:278: (Each undeclared identifier is reported only once viosocket.c:278: for each function it appears in.) make[2]: *** [viosocket.o] Error 1
[13 Mar 2007 20:09]
[ name withheld ]
Sorry I was not clear. The compile error I previously sent was with 5.0.37, I tried it after your original suggestion.
[7 Apr 2007 13:19]
Justin Kraft
I'm having the same problem on a Cobalt Raq2 system. Here's the output: source='viosocket.c' object='viosocket.o' libtool=no \ DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -O3 -DDBUG_OFF -c viosocket.c viosocket.c: In function `vio_close': viosocket.c:287: `SHUT_RDWR' undeclared (first use this function) viosocket.c:287: (Each undeclared identifier is reported only once viosocket.c:287: for each function it appears in.) make: *** [viosocket.o] Error 1
[7 Apr 2007 13:20]
Justin Kraft
Oh, and I'm trying to compile version 5.0.38.
[30 May 2007 13:29]
Valeriy Kravchuk
Please, try to repeat with a newer version, 5.0.41. In case of the same problem, please, check with newer gcc version and check if latest patches from SCO are applied to 5.0.4.
[30 Jun 2007 23:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".