[Xapian-discuss] Error on ./configure process with Xapian-bindings-0.9.6

Sebi sebi_petreanu at yahoo.com
Mon Sep 18 21:57:41 BST 2006


make PHP_INC="-Ic:/php-5.1.6 -Ic:/php-5.1.6/main -Ic:/php-5.1.6/TSRM -Ic:/php-5.1.6/Zend" PHP_LIBS="-Lc:/php5/dev -lphp5ts" PHP_EXTENSION_DIR=c:/php5/ext 
CPPFLAGS="-DZEND_WIN32 -DPHP_WIN32 -DZEND_DEBUG=0"

This produces the following errors

In file included from c:/php-5.1.6/Zend/zend.h:44,
                 from xapian_wrap.cc:706:
c:/php-5.1.6/Zend/zend_config.w32.h:33:20: crtdbg.h: No such file or directory
In file included from c:/php-5.1.6/Zend/zend.h:246,
                 from xapian_wrap.cc:706:
c:/php-5.1.6/Zend/zend_hash.h: In function `ulong zend_inline_hash_func(char*, uint)':
c:/php-5.1.6/Zend/zend_hash.h:270: error: `__assume' undeclared (first use this function)
c:/php-5.1.6/Zend/zend_hash.h:270: error: (Each undeclared identifier is reported only once for each function it appears in.)
In file included from c:/php-5.1.6/main/php.h:49,
                 from xapian_wrap.cc:708:
c:/php-5.1.6/main/win95nt.h: At global scope:
c:/php-5.1.6/main/win95nt.h:56: error: conflicting declaration 'typedef long int pid_t'
c:/devel/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/sys/types.h:75: error: 'pid_t' has a previous declaration as `typedef _pid_t pid_t'
c:/php-5.1.6/main/win95nt.h:56: error: declaration of `typedef long int pid_t'
c:/devel/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/sys/types.h:75: error: conflicts with previous declaration `typedef _pid_t pid_t'
c:/php-5.1.6/main/win95nt.h:56: error: declaration of `typedef long int pid_t'
c:/devel/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/sys/types.h:75: error: conflicts with previous declaration `typedef _pid_t pid_t'

I searched for crtdbg.h hader and there is no such file in Mingw. Also i did not find a header for __assume which is included in MINGW. Maybe __assume is included into crtdbg.h.  What do you know about  this header? I search with google but nothing interesting.

Thank you.



 			
---------------------------------
Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business.


More information about the Xapian-discuss mailing list