Re: PyXPCOM compilation problem on branch MOZILLA_1_0_0_BRANCH

Mark Hammond <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xpcom
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
David Desmarest wrote:
...

> Thanks for that fix :-) But I got another problem at the runtime. When 
> the _xpcommodule.so is loading, the following message appears :
> /usr/lib/python2.1/site-packages/xpcom/_xpcommodule.so: undefined 
> symbol: InitType__13Py_nsIVariantP7_object
> 
> I compiled this module with makefile.stupid.linux where I changed all 
> the variables for my python environment. Is it the good way ? Is pyxpcom 
> integrated in mozilla build system ?
> 
> I work with mozilla-source-1.0.tar.gz sources.

[*sigh* - this was posted and mailed without any indication of such, so 
I replied by mail only.  Manually copying the reply here too.]

The .stupid makefiles are kinda out of date now.

Check out bug http://bugzilla.mozilla.org/show_bug.cgi?id=129216, and 
apply the latest patch there to the Mozilla build tree.  Follow the 
other instructions, and you should find that it builds just fine.

Alternatively, I assume that the makefile is missing PyIVariant.cpp - 
you could just add that.

Mark.
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.