[Monetdb-developers] Compiling on Darwin 7

Ying Zhang Y.Zhang at cwi.nl
Mon Jan 21 13:27:51 CET 2008


Ok, the problem was caused by the options "--enable-bits=32 --enable- 
oid32" I pass to configure.

On Jan 20, 2008, at 23:07 , Ying Zhang wrote:

> Hi, I found this old e-mail, but there seems no further reaction.
> Has someone ever found a solution for this issue?
>
> I'm compiling monet on my mac notebook and have similar problem.
> Compile dev. branch results in:
>
> cc1: warnings being treated as errors
> /Users/jennie/monet/dev/MonetDB/src/gdk/gdk_align.mx: In function
> 'VIEWreset':
> /Users/jennie/monet/dev/MonetDB/src/gdk/gdk_align.mx:623: warning:
> format '%zu' expects type 'size_t', but argument 5 has type 'BUN'
> /Users/jennie/monet/dev/MonetDB/src/gdk/gdk_align.mx:623: warning:
> format '%zu' expects type 'size_t', but argument 6 has type 'BUN'
> /Users/jennie/monet/dev/MonetDB/src/gdk/gdk_align.mx:623: warning:
> format '%zu' expects type 'size_t', but argument 7 has type 'BUN'
>
> Compiling stable branch results in:
>
> cc1: warnings being treated as errors
> /Users/jennie/monet/stable/pathfinder/runtime/xrpc_server.mx: In
> function 'getCallValues':
> /Users/jennie/monet/stable/pathfinder/runtime/xrpc_server.mx:944:
> warning: format '%zu' expects type 'size_t', but argument 6 has type
> 'oid'
> /Users/jennie/monet/stable/pathfinder/runtime/xrpc_server.mx:999:
> warning: format '%zu' expects type 'size_t', but argument 6 has type
> 'oid'
>
> System info:
>
> $ uname -a
> Darwin leopard.mshome.net 9.1.0 Darwin Kernel Version 9.1.0: Wed Oct
> 31 17:46:22 PDT 2007; root:xnu-1228.0.2~1/RELEASE_I386 i386
>
> Configure options:
>
> --enable-debug --enable-assert --disable-optimize --enable-oid32 --
> enable-strict
>
>
> Regards,
> Jennie
>
> On Nov 10, 2006, at 14:54 , Niels Nes wrote:
>
>> On Fri, Nov 10, 2006 at 02:44:30PM +0100, Fabian Groffen wrote:
>>> Is there anyone that can think of a solution for this problem?
>>>
>>> cc1: warnings being treated as errors
>>> /Volumes/Scratch/monetdb/stable/monetdb/src/modules/plain/bat.mx:
>>> In function 'local_itoa':
>>> /Volumes/Scratch/monetdb/stable/monetdb/src/modules/plain/bat.mx:
>>> 1253: warning: format '%zd' expects type 'signed size_t', but
>>> argument 4 has type 'ssize_t'
>>>
>>>
>>> I mean... is there a difference between "signed size_t" and
>>> "ssize_t"?
>>> Ehrm.
>>>
>>> [Orion:src/modules/plain] fabian% uname -a
>>> Darwin Orion.local 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30
>>> 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC  Power
>>> Macintosh powerpc PowerBook4,3 Darwin
>>> [Orion:src/modules/plain] fabian% gcc --version
>>> gcc (GCC) 4.0.1 (Apple Computer, Inc. build 5341)
>>> Copyright (C) 2005 Free Software Foundation, Inc.
>>> This is free software; see the source for copying conditions.
>>> There is NO
>>> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
>>> PURPOSE.
>>>
>>>
>>> Probably just need to compile without -Werror.
>> this is the same problem with the ifdefs in monet_utils.mx as
>> earlier this
>> week. I'm sure its gcc/apple problem. Could you find out te required
>> formats for ssize_t and size_t, ie %d and %u?
>>
>> Niels
>>>
>>> -------------------------------------------------------------------------
>>> Using Tomcat but need to do more? Need to support web services,
>>> security?
>>> Get stuff done quickly with pre-integrated technology to make your
>>> job easier
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>>> Geronimo
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> _______________________________________________
>>> Monetdb-developers mailing list
>>> Monetdb-developers at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/monetdb-developers
>>
>> -- 
>>
>> Niels Nes, Centre for Mathematics and Computer Science (CWI)
>> Kruislaan 413, 1098 SJ Amsterdam, The Netherlands
>> room C0.02,  phone ++31 20 592-4098, fax ++31 20 592-4312
>> url: http://www.cwi.nl/~niels   e-mail: Niels.Nes at cwi.nl
>>
>> -------------------------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services,
>> security?
>> Get stuff done quickly with pre-integrated technology to make your
>> job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Monetdb-developers mailing list
>> Monetdb-developers at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/monetdb-developers
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Monetdb-developers mailing list
> Monetdb-developers at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monetdb-developers





More information about the developers-list mailing list