Building Mahogany still fails...: undefined reference to `SWIG_TypeQuery'

Martin Jost <[email protected]>
Newsgroups gmane.mail.mahogany.devel
Organization little
Message-ID <[email protected]>
Hello,

thanks for the tipp concerning Navigate.
It turned out to be pure user stupidity .... I had a new (CVS) version of Wxwidgets installed, but had M configured against the old one.

Now I can compile, but the link step fails:
Python/PythonHelp.o(.text+0x8c3): In function `PythonFunction(char const*, void*, char const*, char const*, void*)':
: undefined reference to `SWIG_TypeQuery'
Python/PythonHelp.o(.text+0x8d2): In function `PythonFunction(char const*, void*, char const*, char const*, void*)':
: undefined reference to `SWIG_NewPointerObj'
collect2: ld returned 1 exit status

Guess I could just disable python on config. But I suppose it's supposed to work ?

I have Python 2.3.3 on SuSe Linux 9.1
This is the excerpt from config.log:

configure:3764: checking for Python.h (2.3)
configure:3781: gcc -E -I. -DNO_IDEA -DNO_DSA -DOPENSSL_NO_KRB5  conftest.c >/dev/null 2>conftest.out
configure:3777:33: Python.h: No such file or directory
configure: failed program was:
#line 3776 "configure"
#include "confdefs.h"
             #include <Python.h>
configure:3781: gcc -E -I/pd/mahogany0.66cvs/include/python2.3 -DNO_IDEA -DNO_DSA -DOPENSSL_NO_KRB5  conftest.c
 >/dev/null 2>conftest.out
configure:3777:33: Python.h: No such file or directory
configure: failed program was:
#line 3776 "configure"
#include "confdefs.h"
             #include <Python.h>
configure:3781: gcc -E -I/usr/include/python2.3 -DNO_IDEA -DNO_DSA -DOPENSSL_NO_KRB5  conftest.c >/dev/null 2>c
onftest.out
[...]
configure:4804: gcc -o conftest   -I/usr/include/python2.3 -DNO_IDEA -DNO_DSA -DOPENSSL_NO_KRB5  -I/pd/wxGTK_cv
s3/lib/wx/include/gtk-2.5 -I/pd/wxGTK_cvs3/include -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_L
ARGE_FILES  conftest.c -lpam  -lresolv -lcrypt -ldl  1>&5

Any hints ?

Martin

(I will try a cvs update of mahogany, bt cvs is still problematic (timeouts))




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.