logo       

Re: Re: Xapian Binding compile error in Windows XP using CygWin: msg#00015

search.xapian.devel

Subject: Re: Re: Xapian Binding compile error in Windows XP using CygWin

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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise