[uClibc]Mozilla once more

Fredrik Johnsson fredrikj at orestad-linux.se
Tue Aug 27 12:46:59 UTC 2002


Hi!
I'm aware that mozilla is on the "not working" of uClibc though is would be 
intresting to get it working.

Unfortunetly for me I'm not very experienced in c/c++ development (learning 
though) so I hope someone here could enlighten me to what the problem is.

This is the error I get when compiling with the uClibc wrapper (0.9.14).

In file included from ../../dist/include/xpcom/nsMemory.h:41,
                 from ../../dist/include/xpcom/nsCppSharedAllocator.h:4,
                 from ../../dist/include/xpcom/nsCRT.h:45,
                 from nsAString.cpp:27:
../../dist/include/xpcom/nsIMemory.h:23: warning: `NS_MMR' redefined
../../dist/include/xpcom/nsIMemory.h:19: warning: this is the location of the 
previous definition
In file included from ../../dist/include/xpcom/nsMemory.h:41,
                 from ../../dist/include/xpcom/nsCppSharedAllocator.h:4,
                 from ../../dist/include/xpcom/nsCRT.h:45,
                 from nsAString.cpp:27:
../../dist/include/xpcom/nsIMemory.h: In function `static const struct nsIID & 
nsIMemory::GetIID()':
../../dist/include/xpcom/nsIMemory.h:57: `_IID' undeclared (first use this 
function)
../../dist/include/xpcom/nsIMemory.h:57: (Each undeclared identifier is 
reported only once
../../dist/include/xpcom/nsIMemory.h:57: for each function it appears in.)
../../dist/include/xpcom/nsIMemory.h:57: parse error before `{'
../../dist/include/xpcom/nsIMemory.h:57: warning: control reaches end of 
non-void function `nsIMemory::GetIID()'
../../dist/include/xpcom/nsIMemory.h: At top level:
../../dist/include/xpcom/nsIMemory.h:57: parse error at end of saved function 
text

And this is the mozconfig file:
ac_add_options --with-system-zlib=/usr/local/toolchain/lib
ac_add_options --enable-toolkit-gtk
ac_add_options --disable-mailnews
ac_add_options --disable-ldap
ac_add_options --disable-freetype2
ac_add_options --disable-postscript
ac_add_options --disable-xprint
ac_add_options --disable-jsd
ac_add_options --disable-bidi
ac_add_options --disable-accessibility
ac_add_options --enable-plaintext-editor-only
ac_add_options --disable-mathml
ac_add_options --disable-activex
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-dtd-debug
ac_add_options --disable-logging
ac_add_options --disable-double-buffer
ac_add_options --enable-strip
ac_add_options --enable-long-long-warning


-- 
Mvh Fredrik Johnsson
Email: fredrikj at orestad-linux.se
Url: http://www.orestad-linux.net




More information about the uClibc mailing list