On Fri, 16 Jul 2004 13:02:33 -0600 (MDT) Matthew Kettlewell <[EMAIL PROTECTED]> wrote:

MK> I saw in the archives that others are also getting the SWIG_TypeQuery
MK> and SWIG_NewPointerObj linking errors, but I didn't see any resolution,
MK> so I thought to add a bit of info.
MK> 
MK> I'm using last nights CVS of wxWidgets and Mahogany, Python 2.3.4, Swig
MK> 1.3.21 on a Linux 2.4.20 kernel

 Thanks, this is useful because it does mean that your swig version is
recent enough. It would still be interesting if using --without-swig
doesn't solve the problem for you by chance, could you please try it?

MK> The error seems to be pointing to the file PythonHelper.cpp and is
MK> referencing the externs for SWIG_TypeQuery and SWIG_NewPointerObj.
MK> I'm not sure where the original defs for these are,

 In fact they're present in all swig-generated files but are usually static
and are only extern #ifdef SWIG_GLOBAL. Exactly one swig-generated file
(swiglib.cpp) is compiled with this symbol on so it should contain the
definitions of these symbols.

MK> Also, (Relevance unknown).... There was a warning in PythonHelper.cpp
MK> that C_POSIX was redefined  (the same file that won't link in).

 I don't think it's relevant. Including Python headers sometimes results in
this.

MK> I'll try a few things here, but not being familiar with the code, I'll
MK> be slow, so stop me quick if you solve this :)

 I'd appreciate if you could look at swiglib.cpp generated by your swig
and grep it for SWIG_TypeQuery. If you can't make out why is it not
defined, just send the generated file to me and I'll have a look at it (or,
if worse comes to worst, I can always update to 1.3.21 which is in Debian
unstable...).

 Thanks!
VZ



-------------------------------------------------------
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
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to