Bug #3613 latest 4.1.2-alpha bk build fails in insert_test.c on OS X Panther 10.3.3
Submitted: 30 Apr 2004 17:01 Modified: 3 May 2004 20:35
Reporter: Gene Diveglia Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S1 (Critical)
Version:4.1.2-alpha bk OS:MacOS (OS X Panther 10.3.3)
Assigned to: Sergei Golubchik CPU Architecture:Any

[30 Apr 2004 17:01] Gene Diveglia
Description:
Recent changes to the 4.1.2-alpha bk tree cause the build to fail in insert_test.c on OS X Panther 
10.3.3.  Details are below:

Making all in tests
source='insert_test.c' object='insert_test.o' libtool=no \
depfile='.deps/insert_test.Po' tmpdepfile='.deps/insert_test.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DUNDEF_THREADS_HACK -I. -I. -I.. -I../include     -g -O -DDBUG_ON -DSAFE_MUTEX   
-DHAVE_DARWIN_THREADS -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE 
-DSIGNALS_DONT_BREAK_READ -c `test -f 'insert_test.c' || echo './'`insert_test.c
In file included from insert_test.c:19:
../include/mysql.h:123: error: parse error before "ulong"
../include/mysql.h:123: warning: no semicolon at end of struct or union
../include/mysql.h:124: warning: data definition has no type or storage class
../include/mysql.h:126: error: parse error before '*' token
../include/mysql.h:126: warning: data definition has no type or storage class
In file included from insert_test.c:19:
../include/mysql.h:133: error: parse error before "MYSQL_ROWS"
../include/mysql.h:133: warning: no semicolon at end of struct or union
../include/mysql.h:136: error: parse error before '*' token
../include/mysql.h:136: warning: data definition has no type or storage class
../include/mysql.h:138: error: parse error before '}' token
../include/mysql.h:138: warning: data definition has no type or storage class
../include/mysql.h:276: error: parse error before "MYSQL_DATA"
../include/mysql.h:276: warning: no semicolon at end of struct or union
../include/mysql.h:277: warning: data definition has no type or storage class
../include/mysql.h:288: error: parse error before '}' token
../include/mysql.h:288: warning: data definition has no type or storage class
../include/mysql.h:341: error: parse error before '*' token
../include/mysql.h:342: error: parse error before '*' token
../include/mysql.h:343: error: parse error before '*' token
../include/mysql.h:344: error: parse error before '*' token
../include/mysql.h:346: error: parse error before '*' token
../include/mysql.h:347: error: parse error before "mysql_row_tell"
../include/mysql.h:347: error: parse error before '*' token
../include/mysql.h:347: warning: data definition has no type or storage class
../include/mysql.h:348: error: parse error before '*' token
../include/mysql.h:380: error: parse error before '*' token
../include/mysql.h:380: warning: data definition has no type or storage class
../include/mysql.h:381: error: parse error before '*' token
../include/mysql.h:381: warning: data definition has no type or storage class
../include/mysql.h:457: error: parse error before '*' token
../include/mysql.h:457: warning: data definition has no type or storage class
../include/mysql.h:458: error: parse error before '*' token
../include/mysql.h:458: warning: data definition has no type or storage class
../include/mysql.h:459: error: parse error before '*' token
../include/mysql.h:459: warning: data definition has no type or storage class
../include/mysql.h:462: error: parse error before '*' token
../include/mysql.h:463: error: parse error before '*' token
../include/mysql.h:465: error: parse error before "mysql_row_seek"
../include/mysql.h:465: error: parse error before '*' token
../include/mysql.h:466: warning: data definition has no type or storage class
../include/mysql.h:467: error: parse error before '*' token
../include/mysql.h:469: error: parse error before '*' token
../include/mysql.h:470: error: parse error before '*' token
../include/mysql.h:471: error: parse error before '*' token
../include/mysql.h:472: error: parse error before '*' token
../include/mysql.h:473: warning: data definition has no type or storage class
../include/mysql.h:571: error: parse error before "MYSQL_DATA"
../include/mysql.h:571: warning: no semicolon at end of struct or union
../include/mysql.h:572: warning: data definition has no type or storage class
../include/mysql.h:600: error: parse error before '}' token
../include/mysql.h:600: warning: data definition has no type or storage class
../include/mysql.h:625: error: parse error before "MYSQL_DATA"
../include/mysql.h:625: warning: no semicolon at end of struct or union
../include/mysql.h:627: warning: data definition has no type or storage class
../include/mysql.h:632: error: parse error before "MYSQL_STMT"
../include/mysql.h:633: error: parse error before '*' token
../include/mysql.h:634: error: parse error before '*' token
../include/mysql.h:641: error: parse error before '}' token
../include/mysql.h:641: warning: data definition has no type or storage class
../include/mysql.h:647: error: parse error before '*' token
../include/mysql.h:648: warning: data definition has no type or storage class
../include/mysql.h:661: error: parse error before '*' token
../include/mysql.h:661: warning: data definition has no type or storage class
../include/mysql.h:662: error: parse error before '*' token
../include/mysql.h:664: error: parse error before '*' token
../include/mysql.h:665: error: parse error before '*' token
../include/mysql.h:666: error: parse error before '*' token
../include/mysql.h:669: error: parse error before '*' token
../include/mysql.h:670: error: parse error before '*' token
../include/mysql.h:671: error: parse error before '*' token
../include/mysql.h:674: error: parse error before '*' token
../include/mysql.h:677: error: parse error before '*' token
../include/mysql.h:678: error: parse error before '*' token
../include/mysql.h:679: error: parse error before '*' token
../include/mysql.h:680: error: parse error before '*' token
../include/mysql.h:681: error: parse error before '*' token
../include/mysql.h:682: error: parse error before '*' token
../include/mysql.h:686: error: parse error before '*' token
../include/mysql.h:686: error: parse error before '*' token
../include/mysql.h:686: warning: data definition has no type or storage class
../include/mysql.h:687: error: parse error before '*' token
../include/mysql.h:687: error: parse error before '*' token
../include/mysql.h:687: warning: data definition has no type or storage class
../include/mysql.h:688: error: parse error before '*' token
../include/mysql.h:689: error: parse error before '*' token
../include/mysql.h:690: error: parse error before '*' token
../include/mysql.h:691: error: parse error before "mysql_stmt_row_seek"
../include/mysql.h:691: error: parse error before '*' token
../include/mysql.h:692: warning: data definition has no type or storage class
../include/mysql.h:693: error: parse error before "mysql_stmt_row_tell"
../include/mysql.h:693: error: parse error before '*' token
../include/mysql.h:693: warning: data definition has no type or storage class
../include/mysql.h:694: error: parse error before '*' token
../include/mysql.h:695: error: parse error before '*' token
../include/mysql.h:696: error: parse error before '*' token
../include/mysql.h:697: error: parse error before '*' token
make[2]: *** [insert_test.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

How to repeat:
./configure --with-innodb --with-ndbcluster --enable-thread-safe-client
make
[3 May 2004 19:06] Gene Diveglia
This is now fixed as of my lastest pull from the bk tree this morning.
[3 May 2004 20:35] Sergei Golubchik
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html