Re: Firefox build problem: GetVisibility__C7nsIView undefined (Linux/PPC)

Dan Nicholson <[email protected]> Fri, 28 Oct 2005 06:51:07 -0700
Newsgroups gmane.comp.mozilla.devel.unix
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Steve Summit wrote:
> I just built Firefox 1.0.7 for PPC/Linux, and the build was
> successful, but when I try to start it up, I get:
> 
> 	/usr/local/lib/firefox-1.0.7/firefox-bin: error while loading shared libraries:
> 	/usr/local/lib/firefox-1.0.7/components/libdocshell.so: undefined symbol: GetVisibility__C7nsIView
> 
> I can see that the symbol is (weakly) defined in libgklayout.so:
> 
> 	$ nm libgklayout.so | grep GetVisibility__C7nsIView
> 	00c50f9c W GetVisibility__C7nsIView

That's pretty odd.  It's been a while since I built 1.0x on Linux, but 
when I look at the one on FC3, there are no symbols listed in 
libdocshell.so or libgklayout.so.  That's probably because the build 
without debugging (--disable-debug).

I looked at a build log from 1.0.6.  libdocshell isn't linked to 
libgklayout, and all the symbols are stripped since I disable debugging, 
too.

> This was (I thought) a perfectly straightforward build, analogous
> to the one I did for 1.0.1 or so and had no problems with.
> The only thing I did differently this time, I think, was to add 
> "ac_add_options --disable-tests" to my .mozconfig file.  (Perhaps
> I'll try it again without that, but at two hours per build, idle
> experimentation is forbidding.)

I doubt --disable-tests is the culprit unless it just happens to trigger 
a bug in the build system.  Are you building with debugging?  Could you 
post your mozconfig file?

> Any suggestions?

Sorry, wish I did.

--
Dan