osdir.com
mailing list archive

Subject: Re: Cannot make PHP driver - msg#00463

List: mongodb-user

Mail Archive Navigation:
by Date: Prev Next Index by Thread: Prev Next Index
Ah, I remember this.  People have had trouble before compiling with MAMP, as it seems to be missing a bunch of PHP header files. 

I built a binary of the driver and put it at http://www.mongodb.org/download/attachments/590090/mongo.so, you should be able to just put it in your extension directory and go.  Can you let me know if that works for you?


On Fri, Nov 13, 2009 at 8:45 AM, Charlie <charlie112@xxxxxxxxx> wrote:

Couldn't find an attach option so here it is below:

charlie:mongo-1.0.0 charlesdavison$ make
/bin/sh /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/
mongo-1.0.0/libtool --mode=compile cc  -I. -I/Applications/MAMP/bin/
php5/include/php/ext/mongo-1.0.0/mongo-1.0.0 -DPHP_ATOM_INC -I/
Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
include -I/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/
mongo-1.0.0/main -I/Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0 -I/Applications/MAMP/bin/php5/include/php -I/
Applications/MAMP/bin/php5/include/php/main -I/Applications/MAMP/bin/
php5/include/php/TSRM -I/Applications/MAMP/bin/php5/include/php/Zend -
I/Applications/MAMP/bin/php5/include/php/ext -I/Applications/MAMP/bin/
php5/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2 -arch i386 -
arch x86_64   -c /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c -o mongo.lo
 cc -I. -I/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/
mongo-1.0.0 -DPHP_ATOM_INC -I/Applications/MAMP/bin/php5/include/php/
ext/mongo-1.0.0/mongo-1.0.0/include -I/Applications/MAMP/bin/php5/
include/php/ext/mongo-1.0.0/mongo-1.0.0/main -I/Applications/MAMP/bin/
php5/include/php/ext/mongo-1.0.0/mongo-1.0.0 -I/Applications/MAMP/bin/
php5/include/php -I/Applications/MAMP/bin/php5/include/php/main -I/
Applications/MAMP/bin/php5/include/php/TSRM -I/Applications/MAMP/bin/
php5/include/php/Zend -I/Applications/MAMP/bin/php5/include/php/ext -I/
Applications/MAMP/bin/php5/include/php/ext/date/lib -DHAVE_CONFIG_H -g
-O2 -arch i386 -arch x86_64 -c /Applications/MAMP/bin/php5/include/php/
ext/mongo-1.0.0/mongo-1.0.0/mongo.c  -fno-common -DPIC -o .libs/
mongo.o
In file included from /Applications/MAMP/bin/php5/include/php/main/
php.h:34,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:53:26: error:
zend_config.h: No such file or directory
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend_alloc.h:27,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend.h:242,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:34,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/../TSRM/TSRM.h:20:26:
error: tsrm_config.h: No such file or directory
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend.h:242,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:34,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:41: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:43: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:44: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:45: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:46: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:47: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:48: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:49: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:50: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:51: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:52: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:53: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'size_t'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h: In function
'__zend_calloc':
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:91: warning:
initialization makes pointer from integer without a cast
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h: At top
level:
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:128: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:130: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:131: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:132: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:145: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'size_t'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:146: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'size_t'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:193: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_mm_heap'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:194: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:195: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:196: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:197: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:198: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'size_t'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:232: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_mm_heap'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:233: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_mm_heap'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:234: error:
expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_mm_storage'
In file included from /Applications/MAMP/bin/php5/include/php/main/
php.h:34,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:265:2: error:
#error "Unknown SIZEOF_LONG"
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend.h:276,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:34,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:39: error:
expected declaration specifiers or '...' before '*' token
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:39: error:
'ulong' declared as function returning a function
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:49: error:
field 'h' declared as a function
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:64: error:
field 'nNextFreeElement' declared as a function
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:82: error:
field 'h' declared as a function
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:93: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:94: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:95: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:96: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:101: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:107: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:113: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:119: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:131: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:132: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:133: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:134: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:135: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:143: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:147: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:153: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'ulong'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:156: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:157: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:158: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:161: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:162: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:163: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:164: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'ulong'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:170: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:171: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:172: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:173: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:174: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:175: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:176: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:177: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:181: error:
field 'h' declared as a function
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:184: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:185: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:207: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:208: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:209: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:210: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:211: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:212: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:217: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:219: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:255: error:
'zend_inline_hash_func' declared as function returning a function
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h: In function
'zend_inline_hash_func':
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:256: error:
invalid storage class for function 'hash'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:256: error:
function 'hash' is initialized like a variable
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:260: error:
invalid operands to binary << (have 'int (*)()' and 'int')
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:261: error:
invalid operands to binary << (have 'int (*)()' and 'int')
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:262: error:
invalid operands to binary << (have 'int (*)()' and 'int')
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:263: error:
invalid operands to binary << (have 'int (*)()' and 'int')
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:264: error:
invalid operands to binary << (have 'int (*)()' and 'int')
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:265: error:
invalid operands to binary << (have 'int (*)()' and 'int')
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:266: error:
invalid operands to binary << (have 'int (*)()' and 'int')
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:267: error:
invalid operands to binary << (have 'int (*)()' and 'int')
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:270: error:
invalid operands to binary << (have 'int (*)()' and 'int')
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:271: error:
invalid operands to binary << (have 'int (*)()' and 'int')
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:272: error:
invalid operands to binary << (have 'int (*)()' and 'int')
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:273: error:
invalid operands to binary << (have 'int (*)()' and 'int')
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:274: error:
invalid operands to binary << (have 'int (*)()' and 'int')
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:275: error:
invalid operands to binary << (have 'int (*)()' and 'int')
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:276: error:
invalid operands to binary << (have 'int (*)()' and 'int')
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:280: warning:
return makes integer from pointer without a cast
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:280: warning:
function returns address of local variable
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:256: error:
nested function 'hash' declared but never defined
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h: At top
level:
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:284: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'ulong'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h: In function
'zend_symtable_update':
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:340: error:
'MAX_LENGTH_OF_LONG' undeclared (first use in this function)
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:340: error:
(Each undeclared identifier is reported only once
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:340: error:
for each function it appears in.)
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:340: error:
'SIZEOF_LONG' undeclared (first use in this function)
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h: In function
'zend_symtable_del':
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:347: error:
'MAX_LENGTH_OF_LONG' undeclared (first use in this function)
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:347: error:
'SIZEOF_LONG' undeclared (first use in this function)
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h: In function
'zend_symtable_find':
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:354: error:
'MAX_LENGTH_OF_LONG' undeclared (first use in this function)
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:354: error:
'SIZEOF_LONG' undeclared (first use in this function)
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h: In function
'zend_symtable_exists':
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:361: error:
'MAX_LENGTH_OF_LONG' undeclared (first use in this function)
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:361: error:
'SIZEOF_LONG' undeclared (first use in this function)
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h: In function
'zend_symtable_update_current_key':
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:367: error:
'MAX_LENGTH_OF_LONG' undeclared (first use in this function)
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:367: error:
'SIZEOF_LONG' undeclared (first use in this function)
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend.h:277,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:34,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h: At top
level:
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:40: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:41: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:42: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:43: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:52: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:58: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:64: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:70: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:72: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:73: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:74: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:75: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:77: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:81: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:87: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'ulong'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:90: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:91: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:92: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:95: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:96: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:99: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:100:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:101:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:102:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:103:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:104:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:106:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:108:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:110:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ulong'
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend.h:278,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:34,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:50: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:51: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:52: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:53: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:54: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:55: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:56: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:57: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:58: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:59: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:60: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:61: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:62: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:63: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:66: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:67: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:68: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:69: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend.h:311,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:34,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h:
137: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_object_handlers'
/Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h:
140: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'union'
/Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h:
141: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zval'
/Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h:
142: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_bool'
/Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h:
143: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'union'
/Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h:
144: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'struct'
/Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h:
146: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h:
152: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h:
154: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h:
156: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h:
158: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'void'
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend.h:340,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:34,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_iterators.h:57:
error: field 'index' declared as a function
/Applications/MAMP/bin/php5/include/php/Zend/zend_iterators.h:79:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'enum'
/Applications/MAMP/bin/php5/include/php/Zend/zend_iterators.h:82:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval'
/Applications/MAMP/bin/php5/include/php/Zend/zend_iterators.h:84:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend.h:400,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:34,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_stream.h:53: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_stream.h:54: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_stream.h:55: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_stream.h:56: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'size_t'
/Applications/MAMP/bin/php5/include/php/Zend/zend_stream.h:57: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'long'
/Applications/MAMP/bin/php5/include/php/Zend/zend_stream.h:58: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
In file included from /Applications/MAMP/bin/php5/include/php/main/
php.h:34,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:474: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:496: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:497: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:498: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:499: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:500: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:501: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:502: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:503: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:520: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:542: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:543: error:
expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_write_func_t'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:544: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'FILE'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:545: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:546: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:547: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:548: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:550: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:552: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:555: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:561: error:
expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_class_entry'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:562: error:
expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_utility_values'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:563: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'zval'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:574: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:576: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend_operators.h:33,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend.h:681,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:34,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_strtod.h:28: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_strtod.h:29: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_strtod.h:30: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'double'
/Applications/MAMP/bin/php5/include/php/Zend/zend_strtod.h:31: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'double'
/Applications/MAMP/bin/php5/include/php/Zend/zend_strtod.h:32: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'double'
/Applications/MAMP/bin/php5/include/php/Zend/zend_strtod.h:33: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_strtod.h:34: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend.h:681,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:34,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:40:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:41:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:42:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:43:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:44:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:45:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:46:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:47:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:48:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:49:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:50:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:51:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:52:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:53:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:55:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:56:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:57:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:58:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:59:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:60:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:62:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_bool'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:63:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_bool'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h: In
function 'is_numeric_string':
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:120:
error: 'MAX_LENGTH_OF_LONG' undeclared (first use in this function)
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:147:
error: 'SIZEOF_LONG' undeclared (first use in this function)
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:180:
error: 'long_min_digits' undeclared (first use in this function)
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h: At top
level:
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:251:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:252:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:254:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:255:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:256:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:257:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:258:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:259:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:260:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:261:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:262:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:263:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:264:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:265:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:266:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:267:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:270:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'double'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:272:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:273:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:274:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:275:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:280:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:281:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h: In
function 'zend_str_tolower_dup':
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:287:
warning: return makes pointer from integer without a cast
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h: At top
level:
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:291:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:292:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:293:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:294:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:295:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:296:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:297:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:298:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:300:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:301:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:302:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:303:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:305:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:307:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend.h:682,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:34,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_variables.h:28:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_variables.h:38:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_variables.h:49:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_variables.h:50:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_variables.h:51:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_variables.h:52:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_variables.h:78:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
In file included from /Applications/MAMP/bin/php5/include/php/main/
php.h:35,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_qsort.h:25: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
In file included from /Applications/MAMP/bin/php5/include/php/main/
php.h:36,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/main/php_compat.h:27:24:
error: php_config.h: No such file or directory
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend_modules.h:26,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_API.h:26,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:38,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:78: error:
expected '=', ',', ';', 'asm' or '__attribute__' before
'opcode_handler_t'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:85: error:
field 'extended_value' declared as a function
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:153:
error: field 'h' declared as a function
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:175:
error: field 'hash_value' declared as a function
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend_globals.h:28,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_compile.h:319,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_modules.h:26,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_API.h:26,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:38,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_globals_macros.h:37:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'struct'
/Applications/MAMP/bin/php5/include/php/Zend/zend_globals_macros.h:47:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_executor_globals'
/Applications/MAMP/bin/php5/include/php/Zend/zend_globals_macros.h:56:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_scanner_globals'
/Applications/MAMP/bin/php5/include/php/Zend/zend_globals_macros.h:66:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_scanner_globals'
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend_globals.h:30,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_compile.h:319,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_modules.h:26,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_API.h:26,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:38,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:34: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:35: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:36: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:37: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:38: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:39: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:40: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:41: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:42: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:43: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:44: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend_globals.h:31,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_compile.h:319,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_modules.h:26,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_API.h:26,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:38,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:35:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:36:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:37:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:38:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:39:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:40:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:41:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend_globals.h:34,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_compile.h:319,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_modules.h:26,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_API.h:26,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:38,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h:28: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h:29: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h:30: error:
expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_object_value'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h:31: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h:32: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_object'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h:33: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h:34: error:
expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_object_value'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h:35: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend_globals.h:35,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_compile.h:319,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_modules.h:26,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_API.h:26,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:38,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:57:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:58:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:59:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:60:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:63:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_object_handle'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:65:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:66:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:67:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:68:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:69:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_uint'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:70:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_object_value'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:71:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:72:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:74:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:75:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:77:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:81:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:83:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_object_handlers'
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend_modules.h:26,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_API.h:26,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:38,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:327:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_op_array'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:328:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_op_array'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:330:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:334:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:335:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:336:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:337:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:338:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:340:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:367:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'unary_op_type'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:368:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:418:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:419:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_class_entry'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:420:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_class_entry'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:421:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:422:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:425:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:507:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:513:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_op_array'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:514:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_op_array'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:515:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_op_array'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:516:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:517:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:518:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:519:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:520:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:521:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:522:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:523:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:524:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:526:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:527:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:528:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:531:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:532:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:547:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_bool'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:548:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:549:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:561:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:562:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_bool'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:563:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend_API.h:26,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:38,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_modules.h:126:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'HashTable'
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend_API.h:27,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:38,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:60: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:61: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:73: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:74: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:75: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:76: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:82: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:83: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:85: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:86: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:88: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend_API.h:30,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:38,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:55: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'extern'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:56: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'extern'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:61: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:62: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:63: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h: In
function 'safe_free_zval_ptr_rel':
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:69: error:
'executor_globals' undeclared (first use in this function)
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h: At top
level:
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:73: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:74: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:75: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:76: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h: In
function 'i_zend_is_true':
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:126:
error: 'executor_globals' undeclared (first use in this function)
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h: At top
level:
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:142:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:143:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h: In
function 'zend_ptr_stack_clear_multiple':
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:148:
error: 'executor_globals' undeclared (first use in this function)
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h: In
function 'zend_ptr_stack_get_arg':
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:162:
error: 'executor_globals' undeclared (first use in this function)
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h: At top
level:
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:197:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:198:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:199:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:200:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:201:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_bool'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:203:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:204:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:205:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:206:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_class_entry'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:226:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:234:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:235:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'opcode_handler_t'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:243:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:244:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:246:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
In file included from /Applications/MAMP/bin/php5/include/php/main/
php.h:38,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:171: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:172: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:173: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:174: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:177: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:188: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:189: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:190: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:192: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:193: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:197: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:198: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:199: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:200: error:
expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_module_entry'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:201: error:
expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_module_entry'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:202: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:203: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:204: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:206: error:
expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_class_entry'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:207: error:
expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_class_entry'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:208: error:
expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_class_entry'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:209: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:211: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:212: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:214: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:222: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_bool'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:223: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_bool'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:224: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_bool'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:225: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:226: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:227: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:228: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:229: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:230: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:231: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:232: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:233: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:234: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:236: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:237: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:238: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:239: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:240: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:241: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:242: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:244: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:245: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:246: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:247: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:248: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:249: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:250: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:251: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:253: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:254: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:255: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:256: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:257: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:258: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:259: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:261: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'zval'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:263: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'zval'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:265: error:
expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_class_entry'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:266: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:267: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:286: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:287: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:288: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:289: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:291: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:294: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:296: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:297: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:298: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:299: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:300: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:301: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:302: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:303: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:320: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:321: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:322: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:323: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:324: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:325: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:326: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:327: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:329: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:330: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:331: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:332: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:333: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:334: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:335: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:336: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:338: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:339: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:344: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:345: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:346: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:347: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:349: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:350: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:351: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:352: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:353: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:354: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:355: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:356: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:368: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:369: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:392: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'extern'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:402: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:407: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:412: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:414: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:417: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:420: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:422: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:426: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:427: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
In file included from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/main/php.h:86:1: warning:
"assert" redefined
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend_operators.h:27,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend.h:681,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:34,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/usr/include/assert.h:84:1: warning: this is the location of the
previous definition
In file included from /Applications/MAMP/bin/php5/include/php/main/
php.h:383,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/main/php_output.h:100: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'extern'
In file included from /Applications/MAMP/bin/php5/include/php/main/
fopen_wrappers.h:25,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:401,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/main/php_globals.h:33: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'struct'
In file included from /Applications/MAMP/bin/php5/include/php/main/
php.h:405,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/TSRM/tsrm_virtual_cwd.h:162:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '*'
token
In file included from /Applications/MAMP/bin/php5/include/php/main/
php.h:407,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_constants.h:58:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_constants.h:59:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_constants.h:60:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_constants.h:61:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_constants.h:62:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_constants.h:63:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_constants.h:64:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
In file included from /Applications/MAMP/bin/php5/include/php/main/
php.h:414,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/main/php_reentrancy.h:57:
error: expected ')' before '*' token
In file included from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:37:
/Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:33:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_class_entry'
/Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:34:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_class_entry'
/Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:35:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:39:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval'
/Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:40:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval'
/Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:41:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:42:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:44:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval'
/Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:46:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:49:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
In file included from /Applications/MAMP/bin/php5/include/php/main/
php_ini.h:24,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:38:
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:86: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:87: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:88: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:89: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:91: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:93: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:95: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:96: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:97: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:98: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:99: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:100: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:101: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:103: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'long'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:104: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'double'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:105: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:107: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:109: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:110: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:111: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:177: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:178: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:179: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:180: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:181: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:182: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:198: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:199: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:117: error: 'ZEND_DEBUG' undeclared here (not in a function)
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:140: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'zend_module_entry'
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:146: error: 'OnUpdateLong' undeclared here (not in a function)
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:146: error: 'zend_ini_boolean_displayer_cb' undeclared here
(not in a function)
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:148: error: 'display_link_numbers' undeclared here (not in a
function)
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:150: error: 'OnUpdateString' undeclared here (not in a
function)
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'zm_startup_mongo':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:257: warning: passing argument 2 of '__builtin___memcpy_chk'
makes pointer from integer without a cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:257: warning: passing argument 2 of '__inline_memcpy_chk'
makes pointer from integer without a cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'mongo_init_MongoExceptions':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:333: warning: assignment makes pointer from integer without a
cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:339: warning: assignment makes pointer from integer without a
cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:342: warning: assignment makes pointer from integer without a
cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:345: warning: assignment makes pointer from integer without a
cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'mongo_init_Mongo':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:352: warning: assignment makes pointer from integer without a
cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'zim_Mongo___construct':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:384: warning: assignment makes pointer from integer without a
cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'zim_Mongo_connect':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:408: warning: pointer/integer type mismatch in conditional
_expression_
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:410: error: 'executor_globals' undeclared (first use in this
function)
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:410: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:410: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:410: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:410: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:410: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:410: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:411: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:411: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:413: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:413: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:414: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:414: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:414: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:414: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:414: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:414: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'zim_Mongo_pairConnect':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:423: warning: pointer/integer type mismatch in conditional
_expression_
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:427: error: 'executor_globals' undeclared (first use in this
function)
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:427: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:427: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:427: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:427: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:427: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:427: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:428: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:428: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:430: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:430: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:431: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:431: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:431: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:431: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:431: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:431: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'zim_Mongo_connectUtil':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:457: warning: assignment makes pointer from integer without a
cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:467: warning: assignment makes pointer from integer without a
cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:470: warning: assignment makes pointer from integer without a
cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'connect_already':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:491: warning: assignment makes pointer from integer without a
cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:493: warning: assignment makes pointer from integer without a
cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:494: warning: assignment makes pointer from integer without a
cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:524: error: 'executor_globals' undeclared (first use in this
function)
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:524: error: request for member 'persistent_list' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:546: warning: pointer/integer type mismatch in conditional
_expression_
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:576: warning: pointer/integer type mismatch in conditional
_expression_
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:577: warning: pointer/integer type mismatch in conditional
_expression_
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:584: error: request for member 'persistent_list' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'getHost':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:612: warning: return makes pointer from integer without a cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:618: warning: pointer/integer type mismatch in conditional
_expression_
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'get_host_and_port':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:653: warning: assignment makes pointer from integer without a
cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'zim_Mongo_close':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:717: warning: initialization makes pointer from integer
without a cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'zim_Mongo___toString':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:733: warning: initialization makes pointer from integer
without a cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:734: warning: initialization makes pointer from integer
without a cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:738: warning: initialization makes pointer from integer
without a cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:751: warning: pointer/integer type mismatch in conditional
_expression_
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'zim_Mongo_selectDB':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:768: error: 'executor_globals' undeclared (first use in this
function)
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:768: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:768: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:768: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:768: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:768: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:768: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:769: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:769: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:771: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:771: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:772: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:772: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:772: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:772: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:772: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:772: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'zim_Mongo_selectCollection':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:787: warning: comparison between pointer and integer
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:803: error: 'executor_globals' undeclared (first use in this
function)
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:803: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:803: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:803: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:803: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:804: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:804: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:806: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:806: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:807: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:807: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:807: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:807: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'zim_Mongo_dropDB':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:823: warning: comparison between pointer and integer
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'zim_Mongo_repairDB':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:865: error: 'executor_globals' undeclared (first use in this
function)
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:865: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:865: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:865: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:865: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:865: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:865: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:866: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:866: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:868: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:868: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:869: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:869: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:869: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:869: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:869: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:869: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'run_err':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:879: warning: pointer/integer type mismatch in conditional
_expression_
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:882: error: 'executor_globals' undeclared (first use in this
function)
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:882: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:882: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:882: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:882: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:883: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:883: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:885: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:885: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:886: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:886: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:886: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:886: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'get_master':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:971: warning: assignment makes pointer from integer without a
cast
In file included from /Applications/MAMP/bin/php5/include/php/main/
php.h:34,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:53:26: error:
zend_config.h: No such file or directory
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend_alloc.h:27,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend.h:242,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:34,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/../TSRM/TSRM.h:20:26:
error: tsrm_config.h: No such file or directory
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend.h:242,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:34,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:41: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:43: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:44: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:45: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:46: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:47: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:48: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:49: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:50: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:51: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:52: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:53: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'size_t'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h: In function
'__zend_calloc':
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:91: warning:
initialization makes pointer from integer without a cast
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h: At top
level:
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:128: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:130: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:131: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:132: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:145: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'size_t'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:146: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'size_t'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:193: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_mm_heap'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:194: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:195: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:196: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:197: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:198: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'size_t'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:232: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_mm_heap'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:233: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_mm_heap'
/Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:234: error:
expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_mm_storage'
In file included from /Applications/MAMP/bin/php5/include/php/main/
php.h:34,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:265:2: error:
#error "Unknown SIZEOF_LONG"
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend.h:276,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:34,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:39: error:
expected declaration specifiers or '...' before '*' token
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:39: error:
'ulong' declared as function returning a function
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:49: error:
field 'h' declared as a function
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:64: error:
field 'nNextFreeElement' declared as a function
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:82: error:
field 'h' declared as a function
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:93: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:94: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:95: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:96: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:101: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:107: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:113: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:119: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:131: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:132: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:133: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:134: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:135: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:143: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:147: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:153: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'ulong'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:156: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:157: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:158: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:161: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:162: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:163: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:164: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'ulong'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:170: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:171: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:172: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:173: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:174: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:175: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:176: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:177: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:181: error:
field 'h' declared as a function
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:184: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:185: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:207: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:208: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:209: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:210: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:211: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:212: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:217: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:219: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:255: error:
'zend_inline_hash_func' declared as function returning a function
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h: In function
'zend_inline_hash_func':
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:256: error:
invalid storage class for function 'hash'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:256: error:
function 'hash' is initialized like a variable
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:260: error:
invalid operands to binary << (have 'int (*)()' and 'int')
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:261: error:
invalid operands to binary << (have 'int (*)()' and 'int')
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:262: error:
invalid operands to binary << (have 'int (*)()' and 'int')
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:263: error:
invalid operands to binary << (have 'int (*)()' and 'int')
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:264: error:
invalid operands to binary << (have 'int (*)()' and 'int')
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:265: error:
invalid operands to binary << (have 'int (*)()' and 'int')
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:266: error:
invalid operands to binary << (have 'int (*)()' and 'int')
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:267: error:
invalid operands to binary << (have 'int (*)()' and 'int')
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:270: error:
invalid operands to binary << (have 'int (*)()' and 'int')
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:271: error:
invalid operands to binary << (have 'int (*)()' and 'int')
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:272: error:
invalid operands to binary << (have 'int (*)()' and 'int')
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:273: error:
invalid operands to binary << (have 'int (*)()' and 'int')
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:274: error:
invalid operands to binary << (have 'int (*)()' and 'int')
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:275: error:
invalid operands to binary << (have 'int (*)()' and 'int')
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:276: error:
invalid operands to binary << (have 'int (*)()' and 'int')
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:280: warning:
return makes integer from pointer without a cast
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:280: warning:
function returns address of local variable
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:256: error:
nested function 'hash' declared but never defined
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h: At top
level:
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:284: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'ulong'
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h: In function
'zend_symtable_update':
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:340: error:
'MAX_LENGTH_OF_LONG' undeclared (first use in this function)
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:340: error:
(Each undeclared identifier is reported only once
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:340: error:
for each function it appears in.)
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:340: error:
'SIZEOF_LONG' undeclared (first use in this function)
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h: In function
'zend_symtable_del':
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:347: error:
'MAX_LENGTH_OF_LONG' undeclared (first use in this function)
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:347: error:
'SIZEOF_LONG' undeclared (first use in this function)
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h: In function
'zend_symtable_find':
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:354: error:
'MAX_LENGTH_OF_LONG' undeclared (first use in this function)
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:354: error:
'SIZEOF_LONG' undeclared (first use in this function)
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h: In function
'zend_symtable_exists':
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:361: error:
'MAX_LENGTH_OF_LONG' undeclared (first use in this function)
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:361: error:
'SIZEOF_LONG' undeclared (first use in this function)
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h: In function
'zend_symtable_update_current_key':
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:367: error:
'MAX_LENGTH_OF_LONG' undeclared (first use in this function)
/Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:367: error:
'SIZEOF_LONG' undeclared (first use in this function)
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend.h:277,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:34,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h: At top
level:
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:40: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:41: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:42: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:43: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:52: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:58: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:64: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:70: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:72: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:73: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:74: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:75: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:77: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:81: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:87: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'ulong'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:90: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:91: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:92: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:95: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:96: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:99: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:100:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:101:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:102:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:103:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:104:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:106:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:108:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:110:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ulong'
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend.h:278,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:34,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:50: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:51: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:52: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:53: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:54: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:55: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:56: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:57: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:58: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:59: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:60: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:61: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:62: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:63: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:66: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:67: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:68: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:69: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend.h:311,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:34,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h:
137: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_object_handlers'
/Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h:
140: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'union'
/Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h:
141: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zval'
/Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h:
142: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_bool'
/Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h:
143: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'union'
/Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h:
144: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'struct'
/Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h:
146: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h:
152: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h:
154: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h:
156: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h:
158: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'void'
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend.h:340,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:34,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_iterators.h:57:
error: field 'index' declared as a function
/Applications/MAMP/bin/php5/include/php/Zend/zend_iterators.h:79:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'enum'
/Applications/MAMP/bin/php5/include/php/Zend/zend_iterators.h:82:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval'
/Applications/MAMP/bin/php5/include/php/Zend/zend_iterators.h:84:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend.h:400,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:34,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_stream.h:53: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_stream.h:54: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_stream.h:55: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_stream.h:56: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'size_t'
/Applications/MAMP/bin/php5/include/php/Zend/zend_stream.h:57: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'long'
/Applications/MAMP/bin/php5/include/php/Zend/zend_stream.h:58: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
In file included from /Applications/MAMP/bin/php5/include/php/main/
php.h:34,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:474: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:496: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:497: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:498: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:499: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:500: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:501: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:502: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:503: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:520: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:542: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:543: error:
expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_write_func_t'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:544: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'FILE'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:545: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:546: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:547: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:548: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:550: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:552: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:555: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:561: error:
expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_class_entry'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:562: error:
expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_utility_values'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:563: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'zval'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:574: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend.h:576: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend_operators.h:33,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend.h:681,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:34,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_strtod.h:28: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_strtod.h:29: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_strtod.h:30: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'double'
/Applications/MAMP/bin/php5/include/php/Zend/zend_strtod.h:31: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'double'
/Applications/MAMP/bin/php5/include/php/Zend/zend_strtod.h:32: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'double'
/Applications/MAMP/bin/php5/include/php/Zend/zend_strtod.h:33: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_strtod.h:34: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend.h:681,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:34,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:40:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:41:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:42:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:43:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:44:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:45:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:46:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:47:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:48:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:49:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:50:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:51:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:52:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:53:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:55:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:56:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:57:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:58:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:59:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:60:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:62:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_bool'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:63:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_bool'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h: In
function 'is_numeric_string':
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:120:
error: 'MAX_LENGTH_OF_LONG' undeclared (first use in this function)
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:147:
error: 'SIZEOF_LONG' undeclared (first use in this function)
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:180:
error: 'long_min_digits' undeclared (first use in this function)
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h: At top
level:
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:251:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:252:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:254:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:255:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:256:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:257:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:258:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:259:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:260:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:261:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:262:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:263:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:264:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:265:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:266:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:267:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:270:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'double'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:272:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:273:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:274:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:275:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:280:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:281:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h: In
function 'zend_str_tolower_dup':
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:287:
warning: cast to pointer from integer of different size
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:287:
warning: return makes pointer from integer without a cast
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h: At top
level:
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:291:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:292:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:293:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:294:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:295:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:296:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:297:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:298:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:300:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:301:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:302:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:303:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:305:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:307:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend.h:682,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:34,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_variables.h:28:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_variables.h:38:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_variables.h:49:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_variables.h:50:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_variables.h:51:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_variables.h:52:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_variables.h:78:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
In file included from /Applications/MAMP/bin/php5/include/php/main/
php.h:35,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_qsort.h:25: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
In file included from /Applications/MAMP/bin/php5/include/php/main/
php.h:36,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/main/php_compat.h:27:24:
error: php_config.h: No such file or directory
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend_modules.h:26,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_API.h:26,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:38,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:78: error:
expected '=', ',', ';', 'asm' or '__attribute__' before
'opcode_handler_t'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:85: error:
field 'extended_value' declared as a function
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:153:
error: field 'h' declared as a function
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:175:
error: field 'hash_value' declared as a function
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend_globals.h:28,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_compile.h:319,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_modules.h:26,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_API.h:26,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:38,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_globals_macros.h:37:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'struct'
/Applications/MAMP/bin/php5/include/php/Zend/zend_globals_macros.h:47:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_executor_globals'
/Applications/MAMP/bin/php5/include/php/Zend/zend_globals_macros.h:56:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_scanner_globals'
/Applications/MAMP/bin/php5/include/php/Zend/zend_globals_macros.h:66:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_scanner_globals'
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend_globals.h:30,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_compile.h:319,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_modules.h:26,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_API.h:26,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:38,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:34: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:35: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:36: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:37: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:38: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:39: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:40: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:41: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:42: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:43: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:44: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend_globals.h:31,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_compile.h:319,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_modules.h:26,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_API.h:26,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:38,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:35:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:36:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:37:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:38:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:39:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:40:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:41:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h: In
function 'zend_ptr_stack_3_push':
/Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:59:
warning: cast to pointer from integer of different size
/Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h: In
function 'zend_ptr_stack_2_push':
/Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:73:
warning: cast to pointer from integer of different size
/Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h: In
function 'zend_ptr_stack_push':
/Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:99:
warning: cast to pointer from integer of different size
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend_globals.h:34,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_compile.h:319,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_modules.h:26,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_API.h:26,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:38,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h: At top
level:
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h:28: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h:29: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h:30: error:
expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_object_value'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h:31: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h:32: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_object'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h:33: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h:34: error:
expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_object_value'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h:35: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend_globals.h:35,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_compile.h:319,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_modules.h:26,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_API.h:26,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:38,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:57:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:58:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:59:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:60:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:63:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_object_handle'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:65:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:66:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:67:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:68:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:69:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_uint'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:70:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_object_value'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:71:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:72:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:74:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:75:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:77:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:81:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval'
/Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:83:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_object_handlers'
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend_modules.h:26,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend_API.h:26,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:38,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:327:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_op_array'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:328:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_op_array'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:330:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:334:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:335:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:336:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:337:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:338:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:340:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:367:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'unary_op_type'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:368:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:418:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:419:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_class_entry'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:420:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_class_entry'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:421:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:422:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:425:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:507:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:513:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_op_array'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:514:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_op_array'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:515:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_op_array'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:516:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:517:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:518:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:519:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:520:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:521:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:522:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:523:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:524:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:526:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:527:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:528:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:531:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:532:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:547:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_bool'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:548:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:549:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:561:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:562:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_bool'
/Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:563:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend_API.h:26,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:38,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_modules.h:126:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'HashTable'
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend_API.h:27,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:38,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:60: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:61: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:73: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:74: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:75: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:76: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:82: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:83: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:85: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:86: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:88: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend_API.h:30,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:38,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:55: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'extern'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:56: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'extern'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:61: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:62: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:63: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h: In
function 'safe_free_zval_ptr_rel':
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:69: error:
'executor_globals' undeclared (first use in this function)
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h: At top
level:
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:73: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:74: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:75: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:76: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h: In
function 'i_zend_is_true':
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:126:
error: 'executor_globals' undeclared (first use in this function)
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h: At top
level:
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:142:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:143:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h: In
function 'zend_ptr_stack_clear_multiple':
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:148:
error: 'executor_globals' undeclared (first use in this function)
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h: In
function 'zend_ptr_stack_get_arg':
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:162:
error: 'executor_globals' undeclared (first use in this function)
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h: At top
level:
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:197:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:198:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:199:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:200:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:201:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_bool'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:203:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:204:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:205:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:206:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_class_entry'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:226:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:234:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:235:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'opcode_handler_t'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:243:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:244:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval'
/Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:246:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
In file included from /Applications/MAMP/bin/php5/include/php/main/
php.h:38,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:171: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:172: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:173: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:174: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:177: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:188: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:189: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:190: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:192: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:193: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:197: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:198: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:199: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:200: error:
expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_module_entry'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:201: error:
expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_module_entry'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:202: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:203: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:204: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:206: error:
expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_class_entry'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:207: error:
expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_class_entry'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:208: error:
expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_class_entry'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:209: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:211: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:212: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:214: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:222: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_bool'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:223: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_bool'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:224: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_bool'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:225: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:226: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:227: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:228: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:229: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:230: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:231: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:232: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:233: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:234: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:236: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:237: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:238: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:239: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:240: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:241: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:242: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:244: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:245: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:246: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:247: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:248: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:249: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:250: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:251: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:253: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:254: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:255: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:256: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:257: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:258: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:259: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:261: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'zval'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:263: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'zval'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:265: error:
expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_class_entry'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:266: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:267: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:286: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:287: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:288: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:289: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:291: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:294: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:296: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:297: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:298: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:299: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:300: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:301: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:302: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:303: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:320: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:321: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:322: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:323: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:324: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:325: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:326: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:327: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:329: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:330: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:331: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:332: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:333: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:334: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:335: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:336: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:338: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:339: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:344: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:345: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:346: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:347: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:349: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:350: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:351: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:352: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:353: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:354: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:355: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:356: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:368: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:369: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:392: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'extern'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:402: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:407: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:412: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:414: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:417: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:420: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:422: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:426: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:427: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
In file included from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/main/php.h:86:1: warning:
"assert" redefined
In file included from /Applications/MAMP/bin/php5/include/php/Zend/
zend_operators.h:27,
                from /Applications/MAMP/bin/php5/include/php/Zend/
zend.h:681,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:34,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/usr/include/assert.h:84:1: warning: this is the location of the
previous definition
In file included from /Applications/MAMP/bin/php5/include/php/main/
php.h:383,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/main/php_output.h:100: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'extern'
In file included from /Applications/MAMP/bin/php5/include/php/main/
fopen_wrappers.h:25,
                from /Applications/MAMP/bin/php5/include/php/main/
php.h:401,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/main/php_globals.h:33: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'struct'
In file included from /Applications/MAMP/bin/php5/include/php/main/
php.h:405,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/TSRM/tsrm_virtual_cwd.h:162:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '*'
token
In file included from /Applications/MAMP/bin/php5/include/php/main/
php.h:407,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/Zend/zend_constants.h:58:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_constants.h:59:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_constants.h:60:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_constants.h:61:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_constants.h:62:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_constants.h:63:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_constants.h:64:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
In file included from /Applications/MAMP/bin/php5/include/php/main/
php.h:414,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:36:
/Applications/MAMP/bin/php5/include/php/main/php_reentrancy.h:57:
error: expected ')' before '*' token
In file included from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:37:
/Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:33:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_class_entry'
/Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:34:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'zend_class_entry'
/Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:35:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:39:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval'
/Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:40:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval'
/Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:41:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:42:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:44:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval'
/Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:46:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:49:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
In file included from /Applications/MAMP/bin/php5/include/php/main/
php_ini.h:24,
                from /Applications/MAMP/bin/php5/include/php/ext/
mongo-1.0.0/mongo-1.0.0/mongo.c:38:
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:86: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:87: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:88: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:89: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:91: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:93: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:95: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:96: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:97: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:98: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:99: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:100: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:101: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:103: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'long'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:104: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'double'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:105: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:107: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:109: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:110: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:111: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:177: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:178: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:179: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:180: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:181: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:182: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:198: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:199: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:117: error: 'ZEND_DEBUG' undeclared here (not in a function)
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:140: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'zend_module_entry'
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:146: error: 'OnUpdateLong' undeclared here (not in a function)
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:146: error: 'zend_ini_boolean_displayer_cb' undeclared here
(not in a function)
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:148: error: 'display_link_numbers' undeclared here (not in a
function)
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:150: error: 'OnUpdateString' undeclared here (not in a
function)
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'zm_startup_mongo':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:257: warning: passing argument 2 of '__builtin___memcpy_chk'
makes pointer from integer without a cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:257: warning: passing argument 2 of '__inline_memcpy_chk'
makes pointer from integer without a cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'mongo_init_MongoExceptions':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:333: warning: cast to pointer from integer of different size
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:333: warning: assignment makes pointer from integer without a
cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:339: warning: assignment makes pointer from integer without a
cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:342: warning: assignment makes pointer from integer without a
cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:345: warning: assignment makes pointer from integer without a
cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'mongo_init_Mongo':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:352: warning: assignment makes pointer from integer without a
cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'zim_Mongo___construct':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:384: warning: assignment makes pointer from integer without a
cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'zim_Mongo_connect':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:407: warning: cast to pointer from integer of different size
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:408: warning: pointer/integer type mismatch in conditional
_expression_
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:410: error: 'executor_globals' undeclared (first use in this
function)
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:410: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:410: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:410: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:410: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:410: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:410: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:411: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:411: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:413: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:413: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:414: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:414: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:414: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:414: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:414: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:414: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'zim_Mongo_pairConnect':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:422: warning: cast to pointer from integer of different size
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:423: warning: pointer/integer type mismatch in conditional
_expression_
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:427: error: 'executor_globals' undeclared (first use in this
function)
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:427: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:427: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:427: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:427: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:427: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:427: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:428: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:428: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:430: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:430: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:431: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:431: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:431: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:431: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:431: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:431: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'zim_Mongo_connectUtil':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:457: warning: assignment makes pointer from integer without a
cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:467: warning: assignment makes pointer from integer without a
cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:470: warning: assignment makes pointer from integer without a
cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'connect_already':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:491: warning: assignment makes pointer from integer without a
cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:493: warning: assignment makes pointer from integer without a
cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:494: warning: assignment makes pointer from integer without a
cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:524: error: 'executor_globals' undeclared (first use in this
function)
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:524: error: request for member 'persistent_list' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:546: warning: pointer/integer type mismatch in conditional
_expression_
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:576: warning: pointer/integer type mismatch in conditional
_expression_
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:577: warning: pointer/integer type mismatch in conditional
_expression_
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:584: error: request for member 'persistent_list' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'getHost':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:612: warning: return makes pointer from integer without a cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:618: warning: pointer/integer type mismatch in conditional
_expression_
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'get_host_and_port':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:653: warning: assignment makes pointer from integer without a
cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'zim_Mongo_close':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:717: warning: initialization makes pointer from integer
without a cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'zim_Mongo___toString':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:733: warning: initialization makes pointer from integer
without a cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:734: warning: initialization makes pointer from integer
without a cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:738: warning: initialization makes pointer from integer
without a cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:743: warning: cast to pointer from integer of different size
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:751: warning: pointer/integer type mismatch in conditional
_expression_
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'zim_Mongo_selectDB':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:768: error: 'executor_globals' undeclared (first use in this
function)
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:768: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:768: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:768: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:768: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:768: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:768: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:769: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:769: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:771: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:771: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:772: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:772: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:772: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:772: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:772: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:772: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'zim_Mongo_selectCollection':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:787: warning: comparison between pointer and integer
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:788: warning: cast to pointer from integer of different size
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:794: warning: cast to pointer from integer of different size
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:803: error: 'executor_globals' undeclared (first use in this
function)
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:803: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:803: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:803: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:803: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:804: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:804: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:806: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:806: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:807: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:807: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:807: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:807: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'zim_Mongo_dropDB':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:823: warning: comparison between pointer and integer
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:824: warning: cast to pointer from integer of different size
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'zim_Mongo_repairDB':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:850: warning: cast to pointer from integer of different size
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:858: warning: cast to pointer from integer of different size
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:865: error: 'executor_globals' undeclared (first use in this
function)
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:865: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:865: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:865: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:865: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:865: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:865: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:866: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:866: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:868: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:868: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:869: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:869: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:869: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:869: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:869: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:869: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'run_err':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:878: warning: cast to pointer from integer of different size
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:879: warning: pointer/integer type mismatch in conditional
_expression_
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:881: warning: cast to pointer from integer of different size
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:882: error: 'executor_globals' undeclared (first use in this
function)
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:882: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:882: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:882: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:882: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:883: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:883: warning: passing argument 1 of 'zend_ptr_stack_push' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:885: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:885: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:886: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:886: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:886: error: request for member 'argument_stack' in something
not a structure or union
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:886: warning: passing argument 1 of 'zend_ptr_stack_pop' from
incompatible pointer type
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'get_master':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:959: warning: cast to pointer from integer of different size
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:961: warning: cast to pointer from integer of different size
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:964: warning: cast to pointer from integer of different size
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:966: warning: cast to pointer from integer of different size
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:971: warning: assignment makes pointer from integer without a
cast
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:980: warning: cast to pointer from integer of different size
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:1003: warning: cast to pointer from integer of different size
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c: In function 'php_mongo_get_reply':
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:1080: warning: cast to pointer from integer of different size
/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
mongo.c:1084: warning: cast to pointer from integer of different size
lipo: can't figure out the architecture type of: /var/folders/MM/
MMfn9mo7Ea0rlaRov0unZE+++TI/-Tmp-//ccEuWgZT.out
make: *** [mongo.lo] Error 1


On Nov 13, 1:11 am, Kristina Chodorow <krist...@xxxxxxxxx> wrote:
> Could you paste (or attach) the entire output from running make?
>
> On Thu, Nov 12, 2009 at 7:39 PM, Charlie <charlie...@xxxxxxxxx> wrote:
>
> > I've downloaded a few releases of the PHP driver and tried manually
> > installing, as well as installing from PECL via pecl install mongo but
> > the process fails during make every time.
>
> > I'm on OS X 10.6 with PHP 5.2.10 (via MAMP).  phpize, ./configure seem
> > to work OK.
>
> > These are some of the warnings and the last error message I get when
> > running make:
>
> > /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
> > mongo.c:961: warning: cast to pointer from integer of different size
> > /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
> > mongo.c:964: warning: cast to pointer from integer of different size
> > /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
> > mongo.c:966: warning: cast to pointer from integer of different size
> > /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
> > mongo.c:971: warning: assignment makes pointer from integer without a
> > cast
> > /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
> > mongo.c:980: warning: cast to pointer from integer of different size
> > /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
> > mongo.c:1003: warning: cast to pointer from integer of different size
> > /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
> > mongo.c: In function 'php_mongo_get_reply':
> > /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
> > mongo.c:1080: warning: cast to pointer from integer of different size
> > /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/
> > mongo.c:1084: warning: cast to pointer from integer of different size
> > lipo: can't figure out the architecture type of: /var/folders/MM/
> > MMfn9mo7Ea0rlaRov0unZE+++TI/-Tmp-//ccQ8VYFt.out
> > make: *** [mongo.lo] Error 1
>
> > There are many more warnings above that, if you want me to copy the
> > entire output let me know.
>
> > Any ideas?
>
> > Thanks in advance



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To post to this group, send email to mongodb-user@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to mongodb-user+unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en
-~----------~----~----~----~------~----~------~--~---

Find Php Jobs at git.net
(osdir sister site)

Thread at a glance:

Previous Message by Date:

Re: use case : get all unread items -- what is the better way ?

This answer assumes that your items are groupable by date (although any logical grouping would work).  If the sheer volume of data forces you to store 'reads' in a meta-document, then perhaps you could model those documents like so: {  'user_id': '' 'date-key': 11-2009  'item_ids: [] }Each user could have a single meta-document per date-key (or, again, per grouping of your choice).  The range would prevent any one document from getting too large.To find the documents that the user has not read for a given date-key: var itemsRead = db.metaItems.find({user_id: 'fcf4', date-key: '11-2009'})db.items.find({'_id': {'$nin': itemsRead.item_ids}})It will be important to keep an index on date-key. Of course, you should benchmark several solutions to see what best fits your domain.On Fri, Nov 13, 2009 at 5:22 AM, Nicolas Clairon <clairon@xxxxxxxxx> wrote: Hi, I try to implementing something which seems easy I first look but I get issue in implementation. I have a tons of items (millions). User read those items one at a time. The goal is to present only unread items to the users. I could add the user_id in the item document but I'll have tons of users (millions I wish :-)) so, the item document will reach the 4mb limit quite rapidly... So, I choose the following implementation :each time the user read an item, a metadata document is created which look  something like that : {  'item_id': 'the_item_id',  'user_id': 'foo',  'read': True, } Now, what is the best way to reach the goal ? I can fetch a bunch of item in memory and then test if the user as read them. But the drawback is all item could already been read and I had to fetch another bunch of items and test them again... Is group() useful for this use case ? How will you implement it ? Thanks, Nicolas. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "mongodb-user" group. To post to this group, send email to mongodb-user@xxxxxxxxxxxxxxxx To unsubscribe from this group, send email to mongodb-user+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en -~----------~----~----~----~------~----~------~--~---

Next Message by Date:

Re: Cannot install PHP driver on Snow Leopard

We'll be releasing 1.0.1 next week, which will fix this.  In the interim, you can get it compiled by following these steps:1. Download http://github.com/mongodb/mongo-php-driver/zipball/1.0.0 and unzip it. 2. Open config.m4 and change line 12 from "darwin10.0.0)" to "darwin10.*.*)"3. Run phpize && ./configure && make && make install.On Thu, Nov 12, 2009 at 10:20 PM, Summer <youfor.com@gmail.com> wrote: After running "sudo PECL install mongo", I got this error message: cc ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/ mongo.so -bundle  .libs/mongo.o .libs/mongo_types.o .libs/bson.o .libs/ cursor.o .libs/collection.o .libs/db.o .libs/gridfs.o  -arch i386 - arch x86_64 -arch ppc -arch ppc64 ld: warning: in /usr/lib/bundle1.o, missing required architecture ppc64 in file ld: warning: in /usr/lib/libSystemStubs.a, missing required architecture ppc64 in file ld: warning: in /usr/lib/libSystem.dylib, missing required architecture ppc64 in file ld: symbol dyld_stub_binding_helper not defined (usually in crt1.o/ dylib1.o/bundle1.o) for architecture ppc64 collect2: ld returned 1 exit status lipo: can't open input file: /var/tmp//ccrJtUJD.out (No such file or directory) make: *** [mongo.la] Error 1 ERROR: `make' failed Who can help? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "mongodb-user" group. To post to this group, send email to mongodb-user@xxxxxxxxxxxxxxxx To unsubscribe from this group, send email to mongodb-user+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en -~----------~----~----~----~------~----~------~--~---

Previous Message by Thread:

Re: Cannot make PHP driver

Couldn't find an attach option so here it is below: charlie:mongo-1.0.0 charlesdavison$ make /bin/sh /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/ mongo-1.0.0/libtool --mode=compile cc -I. -I/Applications/MAMP/bin/ php5/include/php/ext/mongo-1.0.0/mongo-1.0.0 -DPHP_ATOM_INC -I/ Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ include -I/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/ mongo-1.0.0/main -I/Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0 -I/Applications/MAMP/bin/php5/include/php -I/ Applications/MAMP/bin/php5/include/php/main -I/Applications/MAMP/bin/ php5/include/php/TSRM -I/Applications/MAMP/bin/php5/include/php/Zend - I/Applications/MAMP/bin/php5/include/php/ext -I/Applications/MAMP/bin/ php5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -arch i386 - arch x86_64 -c /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c -o mongo.lo cc -I. -I/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/ mongo-1.0.0 -DPHP_ATOM_INC -I/Applications/MAMP/bin/php5/include/php/ ext/mongo-1.0.0/mongo-1.0.0/include -I/Applications/MAMP/bin/php5/ include/php/ext/mongo-1.0.0/mongo-1.0.0/main -I/Applications/MAMP/bin/ php5/include/php/ext/mongo-1.0.0/mongo-1.0.0 -I/Applications/MAMP/bin/ php5/include/php -I/Applications/MAMP/bin/php5/include/php/main -I/ Applications/MAMP/bin/php5/include/php/TSRM -I/Applications/MAMP/bin/ php5/include/php/Zend -I/Applications/MAMP/bin/php5/include/php/ext -I/ Applications/MAMP/bin/php5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -arch i386 -arch x86_64 -c /Applications/MAMP/bin/php5/include/php/ ext/mongo-1.0.0/mongo-1.0.0/mongo.c -fno-common -DPIC -o .libs/ mongo.o In file included from /Applications/MAMP/bin/php5/include/php/main/ php.h:34, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend.h:53:26: error: zend_config.h: No such file or directory In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend_alloc.h:27, from /Applications/MAMP/bin/php5/include/php/Zend/ zend.h:242, from /Applications/MAMP/bin/php5/include/php/main/ php.h:34, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/../TSRM/TSRM.h:20:26: error: tsrm_config.h: No such file or directory In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend.h:242, from /Applications/MAMP/bin/php5/include/php/main/ php.h:34, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'size_t' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h: In function '__zend_calloc': /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:91: warning: initialization makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h: At top level: /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:128: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:130: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:131: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:132: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:145: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'size_t' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:146: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'size_t' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:193: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_mm_heap' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:194: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:195: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:196: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:197: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:198: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'size_t' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:232: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_mm_heap' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:233: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_mm_heap' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:234: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_mm_storage' In file included from /Applications/MAMP/bin/php5/include/php/main/ php.h:34, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend.h:265:2: error: #error "Unknown SIZEOF_LONG" In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend.h:276, from /Applications/MAMP/bin/php5/include/php/main/ php.h:34, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:39: error: expected declaration specifiers or '...' before '*' token /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:39: error: 'ulong' declared as function returning a function /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:49: error: field 'h' declared as a function /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:64: error: field 'nNextFreeElement' declared as a function /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:82: error: field 'h' declared as a function /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:93: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:94: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:95: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:96: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:101: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:107: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:113: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:119: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:131: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:132: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:133: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:134: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:135: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:143: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:147: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:153: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ulong' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:156: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:157: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:158: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:161: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:162: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:163: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:164: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ulong' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:170: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:171: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:172: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:173: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:174: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:175: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:176: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:177: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:181: error: field 'h' declared as a function /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:184: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:185: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:207: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:208: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:209: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:210: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:211: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:212: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:217: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:219: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:255: error: 'zend_inline_hash_func' declared as function returning a function /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h: In function 'zend_inline_hash_func': /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:256: error: invalid storage class for function 'hash' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:256: error: function 'hash' is initialized like a variable /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:260: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:261: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:262: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:263: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:264: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:265: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:266: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:267: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:270: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:271: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:272: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:273: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:274: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:275: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:276: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:280: warning: return makes integer from pointer without a cast /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:280: warning: function returns address of local variable /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:256: error: nested function 'hash' declared but never defined /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h: At top level: /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:284: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ulong' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h: In function 'zend_symtable_update': /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:340: error: 'MAX_LENGTH_OF_LONG' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:340: error: (Each undeclared identifier is reported only once /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:340: error: for each function it appears in.) /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:340: error: 'SIZEOF_LONG' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h: In function 'zend_symtable_del': /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:347: error: 'MAX_LENGTH_OF_LONG' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:347: error: 'SIZEOF_LONG' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h: In function 'zend_symtable_find': /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:354: error: 'MAX_LENGTH_OF_LONG' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:354: error: 'SIZEOF_LONG' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h: In function 'zend_symtable_exists': /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:361: error: 'MAX_LENGTH_OF_LONG' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:361: error: 'SIZEOF_LONG' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h: In function 'zend_symtable_update_current_key': /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:367: error: 'MAX_LENGTH_OF_LONG' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:367: error: 'SIZEOF_LONG' undeclared (first use in this function) In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend.h:277, from /Applications/MAMP/bin/php5/include/php/main/ php.h:34, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h: At top level: /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:70: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:72: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:74: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:81: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:87: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ulong' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:90: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:91: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:92: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:95: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:96: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:99: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:100: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:101: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:102: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:103: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:104: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:106: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:108: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:110: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ulong' In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend.h:278, from /Applications/MAMP/bin/php5/include/php/main/ php.h:34, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:68: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:69: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend.h:311, from /Applications/MAMP/bin/php5/include/php/main/ php.h:34, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h: 137: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_object_handlers' /Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h: 140: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'union' /Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h: 141: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval' /Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h: 142: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_bool' /Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h: 143: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'union' /Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h: 144: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'struct' /Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h: 146: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h: 152: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h: 154: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h: 156: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h: 158: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend.h:340, from /Applications/MAMP/bin/php5/include/php/main/ php.h:34, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_iterators.h:57: error: field 'index' declared as a function /Applications/MAMP/bin/php5/include/php/Zend/zend_iterators.h:79: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'enum' /Applications/MAMP/bin/php5/include/php/Zend/zend_iterators.h:82: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval' /Applications/MAMP/bin/php5/include/php/Zend/zend_iterators.h:84: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend.h:400, from /Applications/MAMP/bin/php5/include/php/main/ php.h:34, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_stream.h:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_stream.h:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_stream.h:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_stream.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'size_t' /Applications/MAMP/bin/php5/include/php/Zend/zend_stream.h:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' /Applications/MAMP/bin/php5/include/php/Zend/zend_stream.h:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' In file included from /Applications/MAMP/bin/php5/include/php/main/ php.h:34, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend.h:474: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:496: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:497: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:498: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:499: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:500: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:501: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:502: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:503: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:520: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:542: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:543: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_write_func_t' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:544: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'FILE' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:545: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:546: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:547: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:548: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:550: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:552: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:555: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:561: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_class_entry' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:562: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_utility_values' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:563: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:574: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:576: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend_operators.h:33, from /Applications/MAMP/bin/php5/include/php/Zend/ zend.h:681, from /Applications/MAMP/bin/php5/include/php/main/ php.h:34, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_strtod.h:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_strtod.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_strtod.h:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'double' /Applications/MAMP/bin/php5/include/php/Zend/zend_strtod.h:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'double' /Applications/MAMP/bin/php5/include/php/Zend/zend_strtod.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'double' /Applications/MAMP/bin/php5/include/php/Zend/zend_strtod.h:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_strtod.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend.h:681, from /Applications/MAMP/bin/php5/include/php/main/ php.h:34, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_bool' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_bool' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h: In function 'is_numeric_string': /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:120: error: 'MAX_LENGTH_OF_LONG' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:147: error: 'SIZEOF_LONG' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:180: error: 'long_min_digits' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h: At top level: /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:251: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:252: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:254: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:255: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:256: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:257: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:258: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:259: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:260: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:261: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:262: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:263: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:264: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:265: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:266: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:267: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:270: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'double' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:272: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:273: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:274: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:275: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:280: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:281: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h: In function 'zend_str_tolower_dup': /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:287: warning: return makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h: At top level: /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:291: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:292: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:293: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:294: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:295: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:296: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:297: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:298: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:300: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:301: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:302: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:303: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:305: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:307: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend.h:682, from /Applications/MAMP/bin/php5/include/php/main/ php.h:34, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_variables.h:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_variables.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_variables.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_variables.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_variables.h:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_variables.h:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_variables.h:78: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' In file included from /Applications/MAMP/bin/php5/include/php/main/ php.h:35, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_qsort.h:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' In file included from /Applications/MAMP/bin/php5/include/php/main/ php.h:36, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/main/php_compat.h:27:24: error: php_config.h: No such file or directory In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend_modules.h:26, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_API.h:26, from /Applications/MAMP/bin/php5/include/php/main/ php.h:38, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:78: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'opcode_handler_t' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:85: error: field 'extended_value' declared as a function /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:153: error: field 'h' declared as a function /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:175: error: field 'hash_value' declared as a function In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend_globals.h:28, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_compile.h:319, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_modules.h:26, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_API.h:26, from /Applications/MAMP/bin/php5/include/php/main/ php.h:38, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_globals_macros.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'struct' /Applications/MAMP/bin/php5/include/php/Zend/zend_globals_macros.h:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_executor_globals' /Applications/MAMP/bin/php5/include/php/Zend/zend_globals_macros.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_scanner_globals' /Applications/MAMP/bin/php5/include/php/Zend/zend_globals_macros.h:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_scanner_globals' In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend_globals.h:30, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_compile.h:319, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_modules.h:26, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_API.h:26, from /Applications/MAMP/bin/php5/include/php/main/ php.h:38, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend_globals.h:31, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_compile.h:319, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_modules.h:26, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_API.h:26, from /Applications/MAMP/bin/php5/include/php/main/ php.h:38, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend_globals.h:34, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_compile.h:319, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_modules.h:26, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_API.h:26, from /Applications/MAMP/bin/php5/include/php/main/ php.h:38, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_object_value' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_object' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_object_value' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend_globals.h:35, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_compile.h:319, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_modules.h:26, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_API.h:26, from /Applications/MAMP/bin/php5/include/php/main/ php.h:38, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_object_handle' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:65: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:68: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:69: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_uint' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:70: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_object_value' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:71: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:72: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:74: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:81: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_object_handlers' In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend_modules.h:26, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_API.h:26, from /Applications/MAMP/bin/php5/include/php/main/ php.h:38, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:327: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_op_array' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:328: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_op_array' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:330: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:334: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:335: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:336: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:337: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:338: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:340: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:367: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unary_op_type' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:368: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:418: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:419: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_class_entry' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:420: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_class_entry' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:421: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:422: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:425: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:507: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:513: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_op_array' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:514: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_op_array' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:515: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_op_array' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:516: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:517: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:518: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:519: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:520: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:521: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:522: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:523: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:524: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:526: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:527: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:528: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:531: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:532: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:547: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_bool' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:548: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:549: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:561: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:562: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_bool' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:563: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend_API.h:26, from /Applications/MAMP/bin/php5/include/php/main/ php.h:38, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_modules.h:126: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'HashTable' In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend_API.h:27, from /Applications/MAMP/bin/php5/include/php/main/ php.h:38, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:74: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:76: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:82: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:85: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:86: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:88: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend_API.h:30, from /Applications/MAMP/bin/php5/include/php/main/ php.h:38, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'extern' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'extern' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h: In function 'safe_free_zval_ptr_rel': /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:69: error: 'executor_globals' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h: At top level: /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:74: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:76: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h: In function 'i_zend_is_true': /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:126: error: 'executor_globals' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h: At top level: /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:142: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:143: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h: In function 'zend_ptr_stack_clear_multiple': /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:148: error: 'executor_globals' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h: In function 'zend_ptr_stack_get_arg': /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:162: error: 'executor_globals' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h: At top level: /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:197: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:198: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:199: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:200: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:201: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_bool' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:203: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:204: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:205: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:206: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_class_entry' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:226: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:234: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:235: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'opcode_handler_t' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:243: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:244: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:246: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' In file included from /Applications/MAMP/bin/php5/include/php/main/ php.h:38, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:171: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:172: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:173: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:174: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:177: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:188: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:189: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:190: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:192: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:193: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:197: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:198: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:199: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:200: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_module_entry' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:201: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_module_entry' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:202: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:203: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:204: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:206: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_class_entry' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:207: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_class_entry' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:208: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_class_entry' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:209: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:211: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:212: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:214: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:222: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_bool' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:223: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_bool' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:224: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_bool' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:225: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:226: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:227: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:228: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:229: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:230: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:231: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:232: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:233: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:234: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:236: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:237: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:238: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:239: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:240: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:241: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:242: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:244: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:245: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:246: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:247: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:248: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:249: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:250: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:251: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:253: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:254: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:255: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:256: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:257: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:258: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:259: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:261: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:263: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:265: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_class_entry' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:266: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:267: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:286: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:287: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:288: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:289: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:291: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:294: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:296: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:297: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:298: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:299: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:300: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:301: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:302: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:303: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:320: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:321: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:322: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:323: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:324: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:325: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:326: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:327: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:329: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:330: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:331: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:332: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:333: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:334: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:335: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:336: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:338: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:339: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:344: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:345: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:346: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:347: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:349: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:350: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:351: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:352: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:353: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:354: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:355: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:356: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:368: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:369: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:392: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'extern' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:402: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:407: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:412: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:414: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:417: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:420: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:422: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:426: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:427: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' In file included from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/main/php.h:86:1: warning: "assert" redefined In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend_operators.h:27, from /Applications/MAMP/bin/php5/include/php/Zend/ zend.h:681, from /Applications/MAMP/bin/php5/include/php/main/ php.h:34, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /usr/include/assert.h:84:1: warning: this is the location of the previous definition In file included from /Applications/MAMP/bin/php5/include/php/main/ php.h:383, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/main/php_output.h:100: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'extern' In file included from /Applications/MAMP/bin/php5/include/php/main/ fopen_wrappers.h:25, from /Applications/MAMP/bin/php5/include/php/main/ php.h:401, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/main/php_globals.h:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'struct' In file included from /Applications/MAMP/bin/php5/include/php/main/ php.h:405, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/TSRM/tsrm_virtual_cwd.h:162: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token In file included from /Applications/MAMP/bin/php5/include/php/main/ php.h:407, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_constants.h:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_constants.h:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_constants.h:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_constants.h:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_constants.h:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_constants.h:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_constants.h:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' In file included from /Applications/MAMP/bin/php5/include/php/main/ php.h:414, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/main/php_reentrancy.h:57: error: expected ')' before '*' token In file included from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:37: /Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_class_entry' /Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_class_entry' /Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval' /Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval' /Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval' /Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' In file included from /Applications/MAMP/bin/php5/include/php/main/ php_ini.h:24, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:38: /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:86: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:87: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:88: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:89: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:91: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:93: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:95: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:96: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:97: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:98: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:99: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:100: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:101: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:103: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:104: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'double' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:105: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:107: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:109: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:110: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:111: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:177: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:178: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:179: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:180: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:181: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:182: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:198: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:199: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:117: error: 'ZEND_DEBUG' undeclared here (not in a function) /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:140: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_module_entry' /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:146: error: 'OnUpdateLong' undeclared here (not in a function) /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:146: error: 'zend_ini_boolean_displayer_cb' undeclared here (not in a function) /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:148: error: 'display_link_numbers' undeclared here (not in a function) /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:150: error: 'OnUpdateString' undeclared here (not in a function) /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'zm_startup_mongo': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:257: warning: passing argument 2 of '__builtin___memcpy_chk' makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:257: warning: passing argument 2 of '__inline_memcpy_chk' makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'mongo_init_MongoExceptions': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:333: warning: assignment makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:339: warning: assignment makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:342: warning: assignment makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:345: warning: assignment makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'mongo_init_Mongo': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:352: warning: assignment makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'zim_Mongo___construct': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:384: warning: assignment makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'zim_Mongo_connect': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:408: warning: pointer/integer type mismatch in conditional expression /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:410: error: 'executor_globals' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:410: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:410: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:410: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:410: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:410: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:410: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:411: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:411: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:413: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:413: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:414: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:414: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:414: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:414: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:414: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:414: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'zim_Mongo_pairConnect': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:423: warning: pointer/integer type mismatch in conditional expression /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:427: error: 'executor_globals' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:427: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:427: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:427: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:427: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:427: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:427: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:428: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:428: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:430: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:430: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:431: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:431: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:431: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:431: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:431: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:431: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'zim_Mongo_connectUtil': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:457: warning: assignment makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:467: warning: assignment makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:470: warning: assignment makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'connect_already': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:491: warning: assignment makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:493: warning: assignment makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:494: warning: assignment makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:524: error: 'executor_globals' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:524: error: request for member 'persistent_list' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:546: warning: pointer/integer type mismatch in conditional expression /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:576: warning: pointer/integer type mismatch in conditional expression /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:577: warning: pointer/integer type mismatch in conditional expression /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:584: error: request for member 'persistent_list' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'getHost': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:612: warning: return makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:618: warning: pointer/integer type mismatch in conditional expression /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'get_host_and_port': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:653: warning: assignment makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'zim_Mongo_close': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:717: warning: initialization makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'zim_Mongo___toString': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:733: warning: initialization makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:734: warning: initialization makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:738: warning: initialization makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:751: warning: pointer/integer type mismatch in conditional expression /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'zim_Mongo_selectDB': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:768: error: 'executor_globals' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:768: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:768: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:768: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:768: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:768: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:768: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:769: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:769: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:771: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:771: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:772: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:772: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:772: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:772: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:772: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:772: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'zim_Mongo_selectCollection': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:787: warning: comparison between pointer and integer /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:803: error: 'executor_globals' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:803: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:803: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:803: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:803: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:804: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:804: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:806: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:806: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:807: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:807: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:807: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:807: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'zim_Mongo_dropDB': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:823: warning: comparison between pointer and integer /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'zim_Mongo_repairDB': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:865: error: 'executor_globals' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:865: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:865: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:865: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:865: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:865: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:865: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:866: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:866: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:868: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:868: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:869: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:869: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:869: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:869: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:869: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:869: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'run_err': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:879: warning: pointer/integer type mismatch in conditional expression /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:882: error: 'executor_globals' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:882: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:882: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:882: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:882: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:883: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:883: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:885: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:885: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:886: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:886: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:886: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:886: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'get_master': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:971: warning: assignment makes pointer from integer without a cast In file included from /Applications/MAMP/bin/php5/include/php/main/ php.h:34, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend.h:53:26: error: zend_config.h: No such file or directory In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend_alloc.h:27, from /Applications/MAMP/bin/php5/include/php/Zend/ zend.h:242, from /Applications/MAMP/bin/php5/include/php/main/ php.h:34, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/../TSRM/TSRM.h:20:26: error: tsrm_config.h: No such file or directory In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend.h:242, from /Applications/MAMP/bin/php5/include/php/main/ php.h:34, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'size_t' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h: In function '__zend_calloc': /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:91: warning: initialization makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h: At top level: /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:128: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:130: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:131: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:132: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:145: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'size_t' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:146: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'size_t' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:193: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_mm_heap' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:194: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:195: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:196: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:197: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:198: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'size_t' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:232: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_mm_heap' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:233: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_mm_heap' /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:234: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_mm_storage' In file included from /Applications/MAMP/bin/php5/include/php/main/ php.h:34, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend.h:265:2: error: #error "Unknown SIZEOF_LONG" In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend.h:276, from /Applications/MAMP/bin/php5/include/php/main/ php.h:34, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:39: error: expected declaration specifiers or '...' before '*' token /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:39: error: 'ulong' declared as function returning a function /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:49: error: field 'h' declared as a function /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:64: error: field 'nNextFreeElement' declared as a function /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:82: error: field 'h' declared as a function /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:93: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:94: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:95: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:96: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:101: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:107: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:113: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:119: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:131: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:132: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:133: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:134: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:135: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:143: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:147: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:153: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ulong' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:156: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:157: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:158: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:161: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:162: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:163: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:164: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ulong' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:170: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:171: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:172: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:173: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:174: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:175: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:176: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:177: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:181: error: field 'h' declared as a function /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:184: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:185: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:207: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:208: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:209: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:210: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:211: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:212: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:217: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:219: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:255: error: 'zend_inline_hash_func' declared as function returning a function /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h: In function 'zend_inline_hash_func': /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:256: error: invalid storage class for function 'hash' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:256: error: function 'hash' is initialized like a variable /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:260: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:261: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:262: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:263: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:264: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:265: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:266: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:267: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:270: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:271: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:272: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:273: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:274: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:275: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:276: error: invalid operands to binary << (have 'int (*)()' and 'int') /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:280: warning: return makes integer from pointer without a cast /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:280: warning: function returns address of local variable /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:256: error: nested function 'hash' declared but never defined /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h: At top level: /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:284: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ulong' /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h: In function 'zend_symtable_update': /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:340: error: 'MAX_LENGTH_OF_LONG' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:340: error: (Each undeclared identifier is reported only once /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:340: error: for each function it appears in.) /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:340: error: 'SIZEOF_LONG' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h: In function 'zend_symtable_del': /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:347: error: 'MAX_LENGTH_OF_LONG' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:347: error: 'SIZEOF_LONG' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h: In function 'zend_symtable_find': /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:354: error: 'MAX_LENGTH_OF_LONG' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:354: error: 'SIZEOF_LONG' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h: In function 'zend_symtable_exists': /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:361: error: 'MAX_LENGTH_OF_LONG' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:361: error: 'SIZEOF_LONG' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h: In function 'zend_symtable_update_current_key': /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:367: error: 'MAX_LENGTH_OF_LONG' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:367: error: 'SIZEOF_LONG' undeclared (first use in this function) In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend.h:277, from /Applications/MAMP/bin/php5/include/php/main/ php.h:34, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h: At top level: /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:70: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:72: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:74: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:81: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:87: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ulong' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:90: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:91: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:92: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:95: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:96: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:99: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:100: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:101: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:102: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:103: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:104: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:106: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:108: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ts_hash.h:110: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ulong' In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend.h:278, from /Applications/MAMP/bin/php5/include/php/main/ php.h:34, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:68: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_llist.h:69: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend.h:311, from /Applications/MAMP/bin/php5/include/php/main/ php.h:34, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h: 137: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_object_handlers' /Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h: 140: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'union' /Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h: 141: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval' /Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h: 142: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_bool' /Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h: 143: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'union' /Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h: 144: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'struct' /Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h: 146: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h: 152: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h: 154: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h: 156: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_object_handlers.h: 158: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend.h:340, from /Applications/MAMP/bin/php5/include/php/main/ php.h:34, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_iterators.h:57: error: field 'index' declared as a function /Applications/MAMP/bin/php5/include/php/Zend/zend_iterators.h:79: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'enum' /Applications/MAMP/bin/php5/include/php/Zend/zend_iterators.h:82: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval' /Applications/MAMP/bin/php5/include/php/Zend/zend_iterators.h:84: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend.h:400, from /Applications/MAMP/bin/php5/include/php/main/ php.h:34, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_stream.h:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_stream.h:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_stream.h:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_stream.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'size_t' /Applications/MAMP/bin/php5/include/php/Zend/zend_stream.h:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' /Applications/MAMP/bin/php5/include/php/Zend/zend_stream.h:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' In file included from /Applications/MAMP/bin/php5/include/php/main/ php.h:34, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend.h:474: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:496: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:497: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:498: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:499: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:500: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:501: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:502: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:503: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:520: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:542: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:543: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_write_func_t' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:544: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'FILE' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:545: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:546: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:547: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:548: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:550: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:552: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:555: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:561: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_class_entry' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:562: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_utility_values' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:563: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:574: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend.h:576: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend_operators.h:33, from /Applications/MAMP/bin/php5/include/php/Zend/ zend.h:681, from /Applications/MAMP/bin/php5/include/php/main/ php.h:34, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_strtod.h:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_strtod.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_strtod.h:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'double' /Applications/MAMP/bin/php5/include/php/Zend/zend_strtod.h:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'double' /Applications/MAMP/bin/php5/include/php/Zend/zend_strtod.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'double' /Applications/MAMP/bin/php5/include/php/Zend/zend_strtod.h:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_strtod.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend.h:681, from /Applications/MAMP/bin/php5/include/php/main/ php.h:34, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_bool' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_bool' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h: In function 'is_numeric_string': /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:120: error: 'MAX_LENGTH_OF_LONG' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:147: error: 'SIZEOF_LONG' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:180: error: 'long_min_digits' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h: At top level: /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:251: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:252: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:254: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:255: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:256: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:257: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:258: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:259: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:260: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:261: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:262: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:263: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:264: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:265: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:266: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:267: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:270: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'double' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:272: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:273: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:274: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:275: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:280: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:281: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h: In function 'zend_str_tolower_dup': /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:287: warning: cast to pointer from integer of different size /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:287: warning: return makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h: At top level: /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:291: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:292: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:293: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:294: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:295: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:296: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:297: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:298: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:300: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:301: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:302: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:303: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:305: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_operators.h:307: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend.h:682, from /Applications/MAMP/bin/php5/include/php/main/ php.h:34, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_variables.h:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_variables.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_variables.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_variables.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_variables.h:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_variables.h:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_variables.h:78: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' In file included from /Applications/MAMP/bin/php5/include/php/main/ php.h:35, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_qsort.h:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' In file included from /Applications/MAMP/bin/php5/include/php/main/ php.h:36, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/main/php_compat.h:27:24: error: php_config.h: No such file or directory In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend_modules.h:26, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_API.h:26, from /Applications/MAMP/bin/php5/include/php/main/ php.h:38, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:78: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'opcode_handler_t' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:85: error: field 'extended_value' declared as a function /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:153: error: field 'h' declared as a function /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:175: error: field 'hash_value' declared as a function In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend_globals.h:28, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_compile.h:319, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_modules.h:26, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_API.h:26, from /Applications/MAMP/bin/php5/include/php/main/ php.h:38, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_globals_macros.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'struct' /Applications/MAMP/bin/php5/include/php/Zend/zend_globals_macros.h:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_executor_globals' /Applications/MAMP/bin/php5/include/php/Zend/zend_globals_macros.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_scanner_globals' /Applications/MAMP/bin/php5/include/php/Zend/zend_globals_macros.h:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_scanner_globals' In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend_globals.h:30, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_compile.h:319, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_modules.h:26, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_API.h:26, from /Applications/MAMP/bin/php5/include/php/main/ php.h:38, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_stack.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend_globals.h:31, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_compile.h:319, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_modules.h:26, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_API.h:26, from /Applications/MAMP/bin/php5/include/php/main/ php.h:38, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h: In function 'zend_ptr_stack_3_push': /Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:59: warning: cast to pointer from integer of different size /Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h: In function 'zend_ptr_stack_2_push': /Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:73: warning: cast to pointer from integer of different size /Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h: In function 'zend_ptr_stack_push': /Applications/MAMP/bin/php5/include/php/Zend/zend_ptr_stack.h:99: warning: cast to pointer from integer of different size In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend_globals.h:34, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_compile.h:319, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_modules.h:26, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_API.h:26, from /Applications/MAMP/bin/php5/include/php/main/ php.h:38, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h: At top level: /Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_object_value' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_object' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_object_value' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend_globals.h:35, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_compile.h:319, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_modules.h:26, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_API.h:26, from /Applications/MAMP/bin/php5/include/php/main/ php.h:38, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_object_handle' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:65: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:68: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:69: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_uint' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:70: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_object_value' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:71: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:72: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:74: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:81: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval' /Applications/MAMP/bin/php5/include/php/Zend/zend_objects_API.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_object_handlers' In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend_modules.h:26, from /Applications/MAMP/bin/php5/include/php/Zend/ zend_API.h:26, from /Applications/MAMP/bin/php5/include/php/main/ php.h:38, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:327: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_op_array' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:328: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_op_array' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:330: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:334: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:335: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:336: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:337: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:338: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:340: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:367: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unary_op_type' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:368: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:418: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:419: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_class_entry' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:420: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_class_entry' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:421: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:422: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:425: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:507: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:513: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_op_array' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:514: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_op_array' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:515: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_op_array' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:516: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:517: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:518: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:519: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:520: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:521: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:522: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:523: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:524: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:526: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:527: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:528: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:531: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:532: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:547: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_bool' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:548: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:549: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:561: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:562: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_bool' /Applications/MAMP/bin/php5/include/php/Zend/zend_compile.h:563: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend_API.h:26, from /Applications/MAMP/bin/php5/include/php/main/ php.h:38, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_modules.h:126: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'HashTable' In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend_API.h:27, from /Applications/MAMP/bin/php5/include/php/main/ php.h:38, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:74: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:76: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:82: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:85: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:86: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_list.h:88: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend_API.h:30, from /Applications/MAMP/bin/php5/include/php/main/ php.h:38, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'extern' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'extern' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h: In function 'safe_free_zval_ptr_rel': /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:69: error: 'executor_globals' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h: At top level: /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:74: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:76: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h: In function 'i_zend_is_true': /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:126: error: 'executor_globals' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h: At top level: /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:142: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:143: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h: In function 'zend_ptr_stack_clear_multiple': /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:148: error: 'executor_globals' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h: In function 'zend_ptr_stack_get_arg': /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:162: error: 'executor_globals' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h: At top level: /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:197: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:198: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:199: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:200: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:201: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_bool' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:203: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:204: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:205: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:206: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_class_entry' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:226: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:234: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:235: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'opcode_handler_t' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:243: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:244: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval' /Applications/MAMP/bin/php5/include/php/Zend/zend_execute.h:246: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' In file included from /Applications/MAMP/bin/php5/include/php/main/ php.h:38, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:171: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:172: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:173: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:174: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:177: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:188: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:189: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:190: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:192: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:193: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:197: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:198: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:199: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:200: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_module_entry' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:201: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_module_entry' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:202: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:203: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:204: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:206: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_class_entry' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:207: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_class_entry' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:208: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_class_entry' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:209: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:211: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:212: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:214: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:222: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_bool' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:223: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_bool' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:224: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_bool' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:225: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:226: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:227: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:228: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:229: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:230: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:231: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:232: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:233: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:234: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:236: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:237: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:238: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:239: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:240: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:241: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:242: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:244: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:245: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:246: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:247: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:248: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:249: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:250: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:251: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:253: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:254: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:255: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:256: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:257: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:258: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:259: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:261: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:263: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:265: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_class_entry' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:266: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:267: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:286: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:287: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:288: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:289: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:291: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:294: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:296: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:297: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:298: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:299: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:300: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:301: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:302: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:303: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:320: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:321: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:322: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:323: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:324: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:325: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:326: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:327: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:329: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:330: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:331: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:332: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:333: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:334: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:335: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:336: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:338: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:339: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:344: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:345: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:346: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:347: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:349: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:350: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:351: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:352: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:353: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:354: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:355: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:356: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:368: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:369: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:392: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'extern' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:402: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:407: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:412: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:414: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:417: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:420: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:422: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:426: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_API.h:427: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' In file included from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/main/php.h:86:1: warning: "assert" redefined In file included from /Applications/MAMP/bin/php5/include/php/Zend/ zend_operators.h:27, from /Applications/MAMP/bin/php5/include/php/Zend/ zend.h:681, from /Applications/MAMP/bin/php5/include/php/main/ php.h:34, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /usr/include/assert.h:84:1: warning: this is the location of the previous definition In file included from /Applications/MAMP/bin/php5/include/php/main/ php.h:383, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/main/php_output.h:100: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'extern' In file included from /Applications/MAMP/bin/php5/include/php/main/ fopen_wrappers.h:25, from /Applications/MAMP/bin/php5/include/php/main/ php.h:401, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/main/php_globals.h:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'struct' In file included from /Applications/MAMP/bin/php5/include/php/main/ php.h:405, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/TSRM/tsrm_virtual_cwd.h:162: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token In file included from /Applications/MAMP/bin/php5/include/php/main/ php.h:407, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/Zend/zend_constants.h:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_constants.h:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_constants.h:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_constants.h:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_constants.h:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_constants.h:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_constants.h:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' In file included from /Applications/MAMP/bin/php5/include/php/main/ php.h:414, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:36: /Applications/MAMP/bin/php5/include/php/main/php_reentrancy.h:57: error: expected ')' before '*' token In file included from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:37: /Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_class_entry' /Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_class_entry' /Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval' /Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval' /Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zval' /Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_exceptions.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' In file included from /Applications/MAMP/bin/php5/include/php/main/ php_ini.h:24, from /Applications/MAMP/bin/php5/include/php/ext/ mongo-1.0.0/mongo-1.0.0/mongo.c:38: /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:86: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:87: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:88: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:89: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:91: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:93: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:95: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:96: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:97: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:98: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:99: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:100: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:101: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:103: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:104: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'double' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:105: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:107: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:109: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:110: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:111: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:177: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:178: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:179: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:180: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:181: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:182: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:198: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/Zend/zend_ini.h:199: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:117: error: 'ZEND_DEBUG' undeclared here (not in a function) /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:140: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_module_entry' /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:146: error: 'OnUpdateLong' undeclared here (not in a function) /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:146: error: 'zend_ini_boolean_displayer_cb' undeclared here (not in a function) /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:148: error: 'display_link_numbers' undeclared here (not in a function) /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:150: error: 'OnUpdateString' undeclared here (not in a function) /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'zm_startup_mongo': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:257: warning: passing argument 2 of '__builtin___memcpy_chk' makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:257: warning: passing argument 2 of '__inline_memcpy_chk' makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'mongo_init_MongoExceptions': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:333: warning: cast to pointer from integer of different size /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:333: warning: assignment makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:339: warning: assignment makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:342: warning: assignment makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:345: warning: assignment makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'mongo_init_Mongo': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:352: warning: assignment makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'zim_Mongo___construct': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:384: warning: assignment makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'zim_Mongo_connect': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:407: warning: cast to pointer from integer of different size /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:408: warning: pointer/integer type mismatch in conditional expression /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:410: error: 'executor_globals' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:410: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:410: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:410: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:410: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:410: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:410: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:411: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:411: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:413: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:413: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:414: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:414: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:414: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:414: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:414: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:414: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'zim_Mongo_pairConnect': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:422: warning: cast to pointer from integer of different size /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:423: warning: pointer/integer type mismatch in conditional expression /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:427: error: 'executor_globals' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:427: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:427: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:427: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:427: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:427: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:427: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:428: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:428: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:430: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:430: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:431: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:431: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:431: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:431: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:431: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:431: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'zim_Mongo_connectUtil': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:457: warning: assignment makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:467: warning: assignment makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:470: warning: assignment makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'connect_already': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:491: warning: assignment makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:493: warning: assignment makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:494: warning: assignment makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:524: error: 'executor_globals' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:524: error: request for member 'persistent_list' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:546: warning: pointer/integer type mismatch in conditional expression /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:576: warning: pointer/integer type mismatch in conditional expression /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:577: warning: pointer/integer type mismatch in conditional expression /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:584: error: request for member 'persistent_list' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'getHost': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:612: warning: return makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:618: warning: pointer/integer type mismatch in conditional expression /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'get_host_and_port': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:653: warning: assignment makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'zim_Mongo_close': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:717: warning: initialization makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'zim_Mongo___toString': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:733: warning: initialization makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:734: warning: initialization makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:738: warning: initialization makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:743: warning: cast to pointer from integer of different size /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:751: warning: pointer/integer type mismatch in conditional expression /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'zim_Mongo_selectDB': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:768: error: 'executor_globals' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:768: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:768: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:768: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:768: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:768: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:768: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:769: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:769: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:771: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:771: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:772: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:772: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:772: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:772: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:772: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:772: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'zim_Mongo_selectCollection': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:787: warning: comparison between pointer and integer /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:788: warning: cast to pointer from integer of different size /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:794: warning: cast to pointer from integer of different size /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:803: error: 'executor_globals' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:803: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:803: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:803: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:803: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:804: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:804: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:806: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:806: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:807: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:807: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:807: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:807: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'zim_Mongo_dropDB': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:823: warning: comparison between pointer and integer /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:824: warning: cast to pointer from integer of different size /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'zim_Mongo_repairDB': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:850: warning: cast to pointer from integer of different size /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:858: warning: cast to pointer from integer of different size /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:865: error: 'executor_globals' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:865: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:865: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:865: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:865: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:865: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:865: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:866: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:866: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:868: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:868: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:869: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:869: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:869: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:869: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:869: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:869: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'run_err': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:878: warning: cast to pointer from integer of different size /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:879: warning: pointer/integer type mismatch in conditional expression /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:881: warning: cast to pointer from integer of different size /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:882: error: 'executor_globals' undeclared (first use in this function) /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:882: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:882: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:882: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:882: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:883: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:883: warning: passing argument 1 of 'zend_ptr_stack_push' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:885: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:885: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:886: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:886: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:886: error: request for member 'argument_stack' in something not a structure or union /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:886: warning: passing argument 1 of 'zend_ptr_stack_pop' from incompatible pointer type /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'get_master': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:959: warning: cast to pointer from integer of different size /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:961: warning: cast to pointer from integer of different size /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:964: warning: cast to pointer from integer of different size /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:966: warning: cast to pointer from integer of different size /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:971: warning: assignment makes pointer from integer without a cast /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:980: warning: cast to pointer from integer of different size /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:1003: warning: cast to pointer from integer of different size /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c: In function 'php_mongo_get_reply': /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:1080: warning: cast to pointer from integer of different size /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ mongo.c:1084: warning: cast to pointer from integer of different size lipo: can't figure out the architecture type of: /var/folders/MM/ MMfn9mo7Ea0rlaRov0unZE+++TI/-Tmp-//ccEuWgZT.out make: *** [mongo.lo] Error 1 On Nov 13, 1:11 am, Kristina Chodorow <krist...@xxxxxxxxx> wrote: > Could you paste (or attach) the entire output from running make? > > On Thu, Nov 12, 2009 at 7:39 PM, Charlie <charlie...@xxxxxxxxx> wrote: > > > I've downloaded a few releases of the PHP driver and tried manually > > installing, as well as installing from PECL via pecl install mongo but > > the process fails during make every time. > > > I'm on OS X 10.6 with PHP 5.2.10 (via MAMP).  phpize, ./configure seem > > to work OK. > > > These are some of the warnings and the last error message I get when > > running make: > > > /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ > > mongo.c:961: warning: cast to pointer from integer of different size > > /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ > > mongo.c:964: warning: cast to pointer from integer of different size > > /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ > > mongo.c:966: warning: cast to pointer from integer of different size > > /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ > > mongo.c:971: warning: assignment makes pointer from integer without a > > cast > > /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ > > mongo.c:980: warning: cast to pointer from integer of different size > > /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ > > mongo.c:1003: warning: cast to pointer from integer of different size > > /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ > > mongo.c: In function 'php_mongo_get_reply': > > /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ > > mongo.c:1080: warning: cast to pointer from integer of different size > > /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ > > mongo.c:1084: warning: cast to pointer from integer of different size > > lipo: can't figure out the architecture type of: /var/folders/MM/ > > MMfn9mo7Ea0rlaRov0unZE+++TI/-Tmp-//ccQ8VYFt.out > > make: *** [mongo.lo] Error 1 > > > There are many more warnings above that, if you want me to copy the > > entire output let me know. > > > Any ideas? > > > Thanks in advance --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "mongodb-user" group. To post to this group, send email to mongodb-user@xxxxxxxxxxxxxxxx To unsubscribe from this group, send email to mongodb-user+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en -~----------~----~----~----~------~----~------~--~---

Next Message by Thread:

Re: Cannot make PHP driver

Hasn't worked unfortunately - I get the following in my PHP logs when starting up with the mongo extension: [14-Nov-2009 13:51:00] PHP Warning: PHP Startup: mongo: Unable to initialize module Module compiled with module API=20090626, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=0, thread-safety=0 These options need to match in Unknown on line 0 On Nov 13, 3:45 pm, Kristina Chodorow <krist...@xxxxxxxxx> wrote: > Ah, I remember this.  People have had trouble before compiling with MAMP, as > it seems to be missing a bunch of PHP header files. > > I built a binary of the driver and put it > athttp://www.mongodb.org/download/attachments/590090/mongo.so, you should be > able to just put it in your extension directory and go.  Can you let me know > if that works for you? > > On Fri, Nov 13, 2009 at 8:45 AM, Charlie <charlie...@xxxxxxxxx> wrote: > > > Couldn't find an attach option so here it is below: > > > charlie:mongo-1.0.0 charlesdavison$ make > > /bin/sh /Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/ > > mongo-1.0.0/libtool --mode=compile cc  -I. -I/Applications/MAMP/bin/ > > php5/include/php/ext/mongo-1.0.0/mongo-1.0.0 -DPHP_ATOM_INC -I/ > > Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/mongo-1.0.0/ > > include -I/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/ > > mongo-1.0.0/main -I/Applications/MAMP/bin/php5/include/php/ext/ > > mongo-1.0.0/mongo-1.0.0 -I/Applications/MAMP/bin/php5/include/php -I/ > > Applications/MAMP/bin/php5/include/php/main -I/Applications/MAMP/bin/ > > php5/include/php/TSRM -I/Applications/MAMP/bin/php5/include/php/Zend - > > I/Applications/MAMP/bin/php5/include/php/ext -I/Applications/MAMP/bin/ > > php5/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2 -arch i386 - > > arch x86_64   -c /Applications/MAMP/bin/php5/include/php/ext/ > > mongo-1.0.0/mongo-1.0.0/mongo.c -o mongo.lo > >  cc -I. -I/Applications/MAMP/bin/php5/include/php/ext/mongo-1.0.0/ > > mongo-1.0.0 -DPHP_ATOM_INC -I/Applications/MAMP/bin/php5/include/php/ > > ext/mongo-1.0.0/mongo-1.0.0/include -I/Applications/MAMP/bin/php5/ > > include/php/ext/mongo-1.0.0/mongo-1.0.0/main -I/Applications/MAMP/bin/ > > php5/include/php/ext/mongo-1.0.0/mongo-1.0.0 -I/Applications/MAMP/bin/ > > php5/include/php -I/Applications/MAMP/bin/php5/include/php/main -I/ > > Applications/MAMP/bin/php5/include/php/TSRM -I/Applications/MAMP/bin/ > > php5/include/php/Zend -I/Applications/MAMP/bin/php5/include/php/ext -I/ > > Applications/MAMP/bin/php5/include/php/ext/date/lib -DHAVE_CONFIG_H -g > > -O2 -arch i386 -arch x86_64 -c /Applications/MAMP/bin/php5/include/php/ > > ext/mongo-1.0.0/mongo-1.0.0/mongo.c  -fno-common -DPIC -o .libs/ > > mongo.o > > In file included from /Applications/MAMP/bin/php5/include/php/main/ > > php.h:34, > >                 from /Applications/MAMP/bin/php5/include/php/ext/ > > mongo-1.0.0/mongo-1.0.0/mongo.c:36: > > /Applications/MAMP/bin/php5/include/php/Zend/zend.h:53:26: error: > > zend_config.h: No such file or directory > > In file included from /Applications/MAMP/bin/php5/include/php/Zend/ > > zend_alloc.h:27, > >                 from /Applications/MAMP/bin/php5/include/php/Zend/ > > zend.h:242, > >                 from /Applications/MAMP/bin/php5/include/php/main/ > > php.h:34, > >                 from /Applications/MAMP/bin/php5/include/php/ext/ > > mongo-1.0.0/mongo-1.0.0/mongo.c:36: > > /Applications/MAMP/bin/php5/include/php/Zend/../TSRM/TSRM.h:20:26: > > error: tsrm_config.h: No such file or directory > > In file included from /Applications/MAMP/bin/php5/include/php/Zend/ > > zend.h:242, > >                 from /Applications/MAMP/bin/php5/include/php/main/ > > php.h:34, > >                 from /Applications/MAMP/bin/php5/include/php/ext/ > > mongo-1.0.0/mongo-1.0.0/mongo.c:36: > > /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:41: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'char' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:43: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'void' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:44: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'void' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:45: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'void' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:46: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'void' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:47: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'void' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:48: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'void' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:49: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'void' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:50: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'void' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:51: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'char' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:52: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'char' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:53: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'size_t' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h: In function > > '__zend_calloc': > > /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:91: warning: > > initialization makes pointer from integer without a cast > > /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h: At top > > level: > > /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:128: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'int' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:130: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'void' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:131: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'void' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:132: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'int' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:145: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'size_t' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:146: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'size_t' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:193: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_mm_heap' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:194: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'void' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:195: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'void' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:196: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'void' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:197: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'void' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:198: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'size_t' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:232: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_mm_heap' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:233: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'zend_mm_heap' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_alloc.h:234: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before > > 'zend_mm_storage' > > In file included from /Applications/MAMP/bin/php5/include/php/main/ > > php.h:34, > >                 from /Applications/MAMP/bin/php5/include/php/ext/ > > mongo-1.0.0/mongo-1.0.0/mongo.c:36: > > /Applications/MAMP/bin/php5/include/php/Zend/zend.h:265:2: error: > > #error "Unknown SIZEOF_LONG" > > In file included from /Applications/MAMP/bin/php5/include/php/Zend/ > > zend.h:276, > >                 from /Applications/MAMP/bin/php5/include/php/main/ > > php.h:34, > >                 from /Applications/MAMP/bin/php5/include/php/ext/ > > mongo-1.0.0/mongo-1.0.0/mongo.c:36: > > /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:39: error: > > expected declaration specifiers or '...' before '*' token > > /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:39: error: > > 'ulong' declared as function returning a function > > /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:49: error: > > field 'h' declared as a function > > /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:64: error: > > field 'nNextFreeElement' declared as a function > > /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:82: error: > > field 'h' declared as a function > > /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:93: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'int' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:94: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'int' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:95: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'void' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:96: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'void' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:101: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'int' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:107: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'int' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:113: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'int' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:119: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'int' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:131: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'void' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:132: error: > > expected '=', ',', ';', 'asm' or '__attribute__' before 'void' > > /Applications/MAMP/bin/php5/include/php/Zend/zend_hash.h:133: > > ... > > read more » --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "mongodb-user" group. To post to this group, send email to mongodb-user@xxxxxxxxxxxxxxxx To unsubscribe from this group, send email to mongodb-user+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en -~----------~----~----~----~------~----~------~--~---

Web Hosting Reviews from OSDir.com Sister Site iBizWebHosting.com

Home | News | Patents | Sitemap | FAQ | advertise | OSDir is an Inevitable website. GBiz & git.net are too!

Advertising by