Bug #13333 Undeclared symbol
Submitted: 20 Sep 2005 3:08 Modified: 27 Sep 2005 17:34
Reporter: Dean Grimes Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S2 (Serious)
Version:5.0.12-beta OS:Other (SCO OpenServer)
Assigned to: Kent Boortz CPU Architecture:Any

[20 Sep 2005 3:08] Dean Grimes
Description:
make[2]: Entering directory `/d/cdev/mysql-5.0.12-beta/server-tools'
Making all in instance-manager
make[3]: Entering directory `/d/cdev/mysql-5.0.12-beta/server-tools/instance-man
ager'
source='listener.cc' object='listener.o' libtool=no \
depfile='.deps/listener.Po' tmpdepfile='.deps/listener.TPo' \
depmode=gcc /bin/ksh ../../depcomp \
g++ -DMYSQL_INSTANCE_MANAGER -DMYSQL_SERVER -I. -I. -I../.. -I../../include  -I.
./../include    -O3 -DDBUG_OFF    -DSCO -fno-implicit-templates -fno-exceptions 
-fno-rtti -DUSE_PRAGMA_IMPLEMENTATION -c -o listener.o listener.cc
listener.cc: In method `void Listener_thread::run()':
listener.cc:160: `SHUT_RDWR' undeclared (first use this function)
listener.cc:160: (Each undeclared identifier is reported only once
listener.cc:160: for each function it appears in.)
make[3]: *** [listener.o] Error 1
make[3]: Leaving directory `/d/cdev/mysql-5.0.12-beta/server-tools/instance-mana
ger'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/d/cdev/mysql-5.0.12-beta/server-tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/d/cdev/mysql-5.0.12-beta'
make: *** [all] Error 2

How to repeat:
OS is SCO OpenServer 5.0.4
zlib 1.2.3
FSU-pthreads 3.14 - compiled with -DDRAFT7
gcc-2.95.2

configure
make

This is in a lab testing environment and not in use in production.

Dean
[20 Sep 2005 17:49] Hartmut Holzgraefe
the SHUT_RD, SHUT_WR and SHUT_RDWR macros are undefined on SCO, 
see also the BUGS section on

   http://docsrv.sco.com:8457/cgi-bin/man?mansearchword=shutdown&mansection=2
[27 Sep 2005 12:41] Dean Grimes
That document is missing from the SCO site. However, I don't have time right now to work the issue. I'm in the process of trying to get MySQL 4.1 out in the field. When I have time I'll contact SCO.

Thanks,
Dean
[27 Sep 2005 17:34] Kent Boortz
Change has been pushed to the 5.0 bk tree

http://lists.mysql.com/internals/30364