Bug #13964 cannot compile
Submitted: 12 Oct 2005 15:54 Modified: 13 Oct 2005 9:06
Reporter: mike caplin Email Updates:
Status: Unsupported Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:5.0.13-rc OS:Other (Tru64 5.1B)
Assigned to:

[12 Oct 2005 15:54] mike caplin
Description:
Make fails when building the latest mysql on Tru64 5.1B, PK5.

....
make[2]: Entering directory `/usr/local/sources/mysql-5.0.13-rc/strings'
source='str2int.c' object='str2int.o' libtool=no \
depfile='.deps/str2int.Po' tmpdepfile='.deps/str2int.TPo' \
depmode=tru64 /bin/ksh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include    -O -DDBUG_OFF    -DUNDEF_HAVE_GETHOSTBYNAME_R -DSNPRINTF_RETURN_TRUNC -c str2int.c
cc: Warning: ../include/my_pthread.h, line 323: In this declaration, parameter 1 has a different type than specified in an earlier declaration of this function. (mismatparam)
int sigwait(sigset_t *setp, int *sigp);         /* Use our implemention */
----^
cc: Error: ../include/my_pthread.h, line 323: In this declaration, the type of "sigwait" is not compatible with the type of a previous declaration of "sigwait" at line number 515 in file /usr/include/signal.h. (notcompat)
int sigwait(sigset_t *setp, int *sigp);         /* Use our implemention */
----^
make[2]: *** [str2int.o] Error 1
make[2]: Leaving directory `/usr/local/sources/mysql-5.0.13-rc/strings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/sources/mysql-5.0.13-rc'
make: *** [all] Error 2

How to repeat:
# ./configure --quiet --enable-thread-safe-client --enable-assembler --with-mysqld-user=mysql --with-enable-large-files --with-mysqld-ldflags=-all-static --with-extra-charsets=none --with-charset=latin1 --with-low-memory --without-innodb --without-bench --without-debug --prefix=/usr/local/mysql --with-pthread

# make
[13 Oct 2005 9:06] Valerii Kravchuk
Thank you for a problem report. Sorry, but I found out that 5.0.x is unsupported by MySQL on Tru64 platfrom, starting from version 5.0.13-rc.

5.0.12-beta (Max, so with your options included) was built successfully - that is all I know from the logs right now.

I'll try to figure out what can I do for you on this issue, but do not expect any prompt results.
[13 Oct 2005 13:36] mike caplin
Pleae keep the documentation up to date.  

http://dev.mysql.com/doc/refman/5.0/en/which-os.html, the release notes, and the change logs have no mention of this.