[Xapian-devel] Re: Xapian Binding compile error in Windows XP using CygWin
Olly Betts
olly at survex.com
Sat Dec 24 18:52:34 GMT 2005
On Fri, Dec 23, 2005 at 02:31:44PM +0000, Koum wrote:
> In file included from c:/Python24/include/Python.h:82,
> from modern/xapian_wrap.cc:40:
> c:/Python24/include/intobject.h:41: error: `__int64' does not name a type
> In file included from c:/Python24/include/Python.h:84,
> from modern/xapian_wrap.cc:40:
> c:/Python24/include/longobject.h:37: error: `__int64' was not declared in this s
> cope
> c:/Python24/include/longobject.h:39: error: `__int64' does not name a type
Hmm, __int64 is the MSVC name for a 64 bit integer type - GCC calls
this "long long". Was your Python compiled with MSVC?
You can probably work around this by running make like so:
make CPPFLAGS=-DPY_LONG_LONG="long long"
Though there may be other similar problems.
Cheers,
Olly
More information about the Xapian-devel
mailing list