[Xapian-devel] Xapian Binding compile error in Windows XP using CygWin
Lefteris Koumakis
koumakis at gmail.com
Thu Dec 22 16:02:05 GMT 2005
Yes the version is 0.9.2
Ok the first errors (a part of it).
make all-recursive
make[1]: Entering directory `/cygdrive/d/AutomaticTextAnalysis-1.3-rc1
/xapian-bindings'
Making all in python
make[2]: Entering directory `/cygdrive/d/AutomaticTextAnalysis-1.3-rc1
/xapian-bindings/python'
make all-recursive
make[3]: Entering directory `/cygdrive/d/AutomaticTextAnalysis-1.3-rc1
/xapian-bindings/python'
Making all in docs
make[4]: Entering directory `/cygdrive/d/AutomaticTextAnalysis-1.3-rc1
/xapian-bindings/python/docs'
Making all in examples
make[5]: Entering directory `/cygdrive/d/AutomaticTextAnalysis-1.3-rc1
/xapian-bindings/python/docs/examples'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/cygdrive/d/AutomaticTextAnalysis-1.3-rc1
/xapian-bin
dings/python/docs/examples'
make[5]: Entering directory `/cygdrive/d/AutomaticTextAnalysis-1.3-rc1
/xapian-bi
ndings/python/docs'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/cygdrive/d/AutomaticTextAnalysis-1.3-rc1
/xapian-bin
dings/python/docs'
make[4]: Leaving directory `/cygdrive/d/AutomaticTextAnalysis-1.3-rc1
/xapian-bin
dings/python/docs'
make[4]: Entering directory `/cygdrive/d/AutomaticTextAnalysis-1.3-rc1
/xapian-bi
ndings/python'
/bin/sh ../libtool --tag=CXX --mode=link g++ -Wall -Wno-unused
-Wno-uninitialize
d -g -O2 -I/usr/local/include -o _xapian.la -rpath
/usr/lib/python2.4/site-pac
kages -avoid-version -module -no-undefined xapian_wrap.lo
-Wl,--enable-runtime-p
seudo-reloc /usr/local/lib/libxapian.la
rm -fr .libs/_xapian.dll.a
g++ -shared -nostdlib .libs/xapian_wrap.o /usr/local/lib/libxapian.dll.a
-L/u
sr/lib/gcc/i686-pc-cygwin/3.4.4 -L/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../..
-ls
tdc++ -lgcc -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32 -lgcc
-Wl,--enab
le-runtime-pseudo-reloc -o .libs/_xapian.dll -Wl,--image-base=0x10000000
-Wl,--o
ut-implib,.libs/_xapian.dll.a
Creating library file: .libs/_xapian.dll.a
.libs/xapian_wrap.o: In function `PySwigObject_repr':
/cygdrive/d/AutomaticTextAnalysis-1.3-rc1
/xapian-bindings/python/modern/xapian_w
rap.cc:663: undefined reference to `_PyString_FromFormat'
.libs/xapian_wrap.o: In function `PySwigObject_str':
/cygdrive/d/AutomaticTextAnalysis-1.3-rc1
/xapian-bindings/python/modern/xapian_w
rap.cc:671: undefined reference to `_PyString_FromString'
.libs/xapian_wrap.o: In function `PySwigObject_oct':
/cygdrive/d/AutomaticTextAnalysis-1.3-rc1
/xapian-bindings/python/modern/xapian_w
rap.cc:690: undefined reference to `_PyString_FromString'
/cygdrive/d/AutomaticTextAnalysis-1.3-rc1
/xapian-bindings/python/modern/xapian_w
rap.cc:689: undefined reference to `_PyOS_snprintf'
/cygdrive/d/AutomaticTextAnalysis-1.3-rc1
/xapian-bindings/python/modern/xapian_w
rap.cc:690: undefined reference to `_PyString_FromString'
.libs/xapian_wrap.o: In function `PySwigObject_hex':
/cygdrive/d/AutomaticTextAnalysis-1.3-rc1
/xapian-bindings/python/modern/xapian_w
rap.cc:697: undefined reference to `_PyOS_snprintf'
/cygdrive/d/AutomaticTextAnalysis-1.3-rc1
/xapian-bindings/python/modern/xapian_w
rap.cc:698: undefined reference to `_PyString_FromString'
.libs/xapian_wrap.o: In function `PySwigObject_GetType':
/cygdrive/d/AutomaticTextAnalysis-1.3-rc1
/xapian-bindings/python/modern/xapian_w
rap.cc:797: undefined reference to `__imp__PyType_Type'
.libs/xapian_wrap.o: In function `PySwigPacked_repr':
/cygdrive/d/AutomaticTextAnalysis-1.3-rc1
/xapian-bindings/python/modern/xapian_w
rap.cc:864: undefined reference to `_PyString_FromFormat'
/cygdrive/d/AutomaticTextAnalysis-1.3-rc1
/xapian-bindings/python/modern/xapian_w
rap.cc:866: undefined reference to `_PyString_FromFormat'
.libs/xapian_wrap.o: In function `PySwigPacked_str':
/cygdrive/d/AutomaticTextAnalysis-1.3-rc1
/xapian-bindings/python/modern/xapian_w
rap.cc:875: undefined reference to `_PyString_FromFormat'
/cygdrive/d/AutomaticTextAnalysis-1.3-rc1
/xapian-bindings/python/modern/xapian_w
rap.cc:877: undefined reference to `_PyString_FromFormat'
.libs/xapian_wrap.o: In function `PySwigPacked_GetType':
/cygdrive/d/AutomaticTextAnalysis-1.3-rc1
/xapian-bindings/python/modern/xapian_w
rap.cc:949: undefined reference to `__imp__PyType_Type'
.libs/xapian_wrap.o: In function `SWIG_Python_TypeError':
/cygdrive/d/AutomaticTextAnalysis-1.3-rc1
/xapian-bindings/python/modern/xapian_w
rap.cc:1023: undefined reference to `__imp__PyExc_TypeError'
/cygdrive/d/AutomaticTextAnalysis-1.3-rc1
/xapian-bindings/python/modern/xapian_w
rap.cc:1023: undefined reference to `_PyErr_Format'
/cygdrive/d/AutomaticTextAnalysis-1.3-rc1
/xapian-bindings/python/modern/xapian_w
rap.cc:1032: undefined reference to `_PyObject_Str'
/cygdrive/d/AutomaticTextAnalysis-1.3-rc1
/xapian-bindings/python/modern/xapian_w
rap.cc:1033: undefined reference to `_PyString_AsString'
/cygdrive/d/AutomaticTextAnalysis-1.3-rc1
/xapian-bindings/python/modern/xapian_w
rap.cc:1035: undefined reference to `__imp__PyExc_TypeError'
/cygdrive/d/AutomaticTextAnalysis-1.3-rc1
/xapian-bindings/python/modern/xapian_w
rap.cc:1035: undefined reference to `_PyErr_Format'
/cygdrive/d/AutomaticTextAnalysis-1.3-rc1
/xapian-bindings/python/modern/xapian_w
rap.cc:1045: undefined reference to `__imp__PyExc_TypeError'
/cygdrive/d/AutomaticTextAnalysis-1.3-rc1
/xapian-bindings/python/modern/xapian_w
rap.cc:1045: undefined reference to `_PyErr_Format'
/cygdrive/d/AutomaticTextAnalysis-1.3-rc1
/xapian-bindings/python/modern/xapian_w
rap.cc:1047: undefined reference to `__imp__PyExc_TypeError'
/cygdrive/d/AutomaticTextAnalysis-1.3-rc1
/xapian-bindings/python/modern/xapian_w
rap.cc:1047: undefined reference to `_PyErr_Format'
Olly Betts <olly <at> survex.com> writes:
>
> On Thu, Dec 22, 2005 at 03:20:25PM +0000, Koum wrote:
> > I'm new with the Xapian and I'm trying to install it in Windows XP SP2.
> > I'm using CygWin (the full version).
> > Have already compiled the xapian-core, using a change found in gmane for
the
> > file safewindows.h
>
> So you're using version 0.9.2 I take it?
>
> > In cygwin path usr/local/ have the xapian lib etc.
> >
> > For the binding the ./configure command passes ok.
> > when the make starts I get the folowing :
> > ....
> > MANY ERRORS at xapian_wrap.cc
> > .....
> > .....
> > /cygdrive/d/AutomaticTextAnalysis-1.3-rc1/xapian-
bindings/python/modern/xapian_w
> > rap.cc:1661: undefined reference to `_PyInt_AsLong'
> > .libs/xapian_wrap.o: In function `swig_varlink_repr':
>
> Generally it's the *first* errors which are the most interesting. Later
> ones are often caused by a cascade effect from the compiler failing to
> recover so are often red herrings.
>
> Can you send the full output, or at least the top part?
>
> Cheers,
> Olly
>
On 12/22/05, Olly Betts <olly at survex.com> wrote:
>
> On Thu, Dec 22, 2005 at 03:20:25PM +0000, Koum wrote:
> > I'm new with the Xapian and I'm trying to install it in Windows XP SP2.
> > I'm using CygWin (the full version).
> > Have already compiled the xapian-core, using a change found in gmane for
> the
> > file safewindows.h
>
> So you're using version 0.9.2 I take it?
>
> > In cygwin path usr/local/ have the xapian lib etc.
> >
> > For the binding the ./configure command passes ok.
> > when the make starts I get the folowing :
> > ....
> > MANY ERRORS at xapian_wrap.cc
> > .....
> > .....
> > /cygdrive/d/AutomaticTextAnalysis-1.3-rc1
> /xapian-bindings/python/modern/xapian_w
> > rap.cc:1661: undefined reference to `_PyInt_AsLong'
> > .libs/xapian_wrap.o: In function `swig_varlink_repr':
>
> Generally it's the *first* errors which are the most interesting. Later
> ones are often caused by a cascade effect from the compiler failing to
> recover so are often red herrings.
>
> Can you send the full output, or at least the top part?
>
> Cheers,
> Olly
>
--
Lefteris.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20051222/ee13b816/attachment.html>
More information about the Xapian-devel
mailing list