Good morning, Since a few week, I cannot compile mozilla from sources. g++ returns an error with the default configuration at c++ -o nsBulletinBoardLayout.o... The last lines of the output of the make are : ../../../../dist/include/nsISelection.h:24: redefinition of `class nsISelection' ../../../base/public/nsISelection.h:71: previous definition here ../../../../dist/include/nsISelection.h:83: conflicting types for `void __vt_12nsISelection' ../../../base/public/nsISelection.h:71: previous declaration as `int (* const nsISelection::__vt_12nsISelection)(...)' ../../../../dist/include/nsISelection.h:83: confused by earlier errors, bailing out make: *** [nsBulletinBoardLayout.o] Error 1 make: Leaving directory `/export/perceval/pelles/bertrand/mozilla-en-cours/mozilla/layout/xul/base/src' make: *** [install] Error 2 make: Leaving directory `/export/perceval/pelles/bertrand/mozilla-en-cours/mozilla/layout/xul/base' make: *** [install] Error 2 make: Leaving directory `/export/perceval/pelles/bertrand/mozilla-en-cours/mozilla/layout/xul' make: *** [install] Error 2 make: Leaving directory `/export/perceval/pelles/bertrand/mozilla-en-cours/mozilla/layout' make: *** [install] Error 2 I think that it is a C++ problem, but I don't know this language. Regards, JKB
Have you taken a look at the build pages yet? If not, it is located here: http://mozilla.org/build/unix.html Also, make sure tinderbox is showing green for the platform that you're trying to build on. This page contains that info. http://tinderbox.mozilla.org/showbuilds.cgi?tree=SeaMonkey (ps. this is not an installer issue)
bertrand, which versions of gcc, binutils & glibc are you using? msw, any ideas?
my builds as of Oct 17 with my gcc 2.96 snapshot work, egcs 1.1.2 should work as well.
verified that a fresh pull works on 2.96, I'll check agains egcs 1.1.2 next.
email@example.com - is this still working for you? Gerv
yes, this seems to be working fine on egcs 1.1.2 and gcc 2.96 (cvs)
Marking as WORKSFORME as per users comments. Reopen if you continue to see this problem.