From: Michael Widenius Date: July 11 2001 11:01pm Subject: Re: BDB compile failure (was: mysql-4.0 problem with innodb.) List-Archive: http://lists.mysql.com/internals/1205 Message-Id: <15180.55995.183475.802203@tik.mysql.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi! >>>>> "SDiZ" == SDiZ Cheng writes: >> On 2001 Jul 08, SDiZ Cheng wrote: >> > >> > BTW, I can't compile BDB on my box. The error message as follows: >> > | cc -c -I. -I../dist/../include -D_REENTRANT -D_GNU_SOURCE >> > ../dist/../btree/bt_compare.c >> > | In file included from ../dist/../include/btree.h:315, >> > | from ../dist/../btree/bt_compare.c:55: >> > | ../dist/../include/btree_auto.h:12: parse error before `DB_LS' >> > | ../dist/../include/btree_auto.h:12: warning: no semicolon at end of SDiZ> struct >> > or union SDiZ> Here you are (really long..): SDiZ> $ cd bdb/build_unix SDiZ> $ rm config.cache SDiZ> $ ../dist/configure SDiZ> $ gcc -E -dD -I. -I../dist/../include -D_REENTRANT -D_GNU_SOURCE SDiZ> ../dist/../btree/bt_compare.c SDiZ> # 1 "../dist/../btree/bt_compare.c" Something is strange here; This code doesn't include references to DB_LS or even btree_auto.h Are you sure it wouldn't compile now if you tried it? Regards, Monty