MBook# file broker.o
broker.o: Mach-O 64-bit object x86_64
When I try to build mSQL it generates the following error:
cd broker ; make all
Regenerating Makefile.
............
Done.
Done.
gcc -O -I../../ -D_OS_UNIX -o broker.o -c broker.c
gcc -O -I../../ -D_OS_UNIX -o broker_child.o -c broker_child.c
In file included from ../../msqld/index/index.h:26,
from broker_child.c:52:
./../msqld/index/avl_tree.h:30: error: expected specifier-qualifier-list before �u_int�
make[6]: *** [broker_child.o] Error 1
make[5]: *** [all] Error 2
make[4]: *** [all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2
I suspect it will build properly if I include -arch i386 in the cc args. Everything else has.
I don't know if I have any real need for 64 bit binaries yet, but was checking to see what would work.
-----------------------------------------------------------------
This is the Mini SQL Mailing List operated by Hughes Technologies
To unsubscribe, go to http://www.Hughes.com.au/extras/email/
I use OSX as my main platform these days so all code is given a port and a test on my mac for good measure. The current mSQL code base compiles and runs without problems on 10.6.6. We are about to release 3.9 which includes some general fixes for recent OSes and some extra functionality requested by licensees. Expect it within the next week.
Thanks
David
..
On 09/02/2011, at 5:29 AM, Doug Hardie wrote:
> Now that I have a true 64 bit machine, cc defaults to making 64 bit binary:
>
> MBook# file broker.o
> broker.o: Mach-O 64-bit object x86_64
>
>
> When I try to build mSQL it generates the following error:
>
> cd broker ; make all
>
> Regenerating Makefile.
> ............
> Done.
> Done.
> gcc -O -I../../ -D_OS_UNIX -o broker.o -c broker.c
> gcc -O -I../../ -D_OS_UNIX -o broker_child.o -c broker_child.c
> In file included from ../../msqld/index/index.h:26,
> from broker_child.c:52:
> ./../msqld/index/avl_tree.h:30: error: expected specifier-qualifier-list before ‘u_int’