Closed Bug 163792 Opened 23 years ago Closed 23 years ago

MOZILLA_1_1b_RELEASE and GTK+ 2.0.6: nsWindow.cpp error

Categories

(Core :: XUL, defect)

x86
Linux
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: fredlwm+others, Assigned: blizzard)

Details

Hi. There were some problems until the fatal error. 1- configure used glib-config, which is from 1.2.10. I have 1.2.10 and 2.0.6. 2- configure failed and I had to symlink libIDL-config-2 to libIDL-config. 3- I had to cvs co -r MOZILLA_1_1b_RELEASE mozilla/other-licenses because make failed. I thought the first and fresh checkout would do it. 4- make failed and I had to create symlinks for libIDL2 libraries. Next time I won't --disable-libIDLtest. 5- make failed and I just made a symlink to /usr/include for expat.h. 6- make finally failed: nsWindow.cpp c++ -o nsWindow.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DOJI -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/gfx -I../../../dist/include/pref -I../../../dist/include/dom -I../../../dist/include/accessibility -I../../../dist/include/xremoteservice -I../../../dist/include/widget -I../../../dist/include -I/home/fredlwm/objdir/dist/include/nspr -I/usr/local/src/CVS/X11/mozilla/widget/src/gtk2/../xpwidgets -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -frtti -fexceptions -Wall -Wconversion -Wpointer-arith -Wbad-function-cast -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O3 -march=athlon -mcpu=athlon -I/usr/X11R6/GNOME/include/glib-2.0 -I/usr/X11R6/GNOME/lib/glib-2.0/include -I/usr/X11R6/GNOME/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/GNOME/include/gtk-2.0 -I/usr/X11R6/GNOME/include/atk-1.0 -I/usr/X11R6/GNOME/lib/gtk-2.0/include -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../config-defs.h -Wp,-MD,.deps/nsWindow.pp /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp In file included from /usr/include/c++/3.2/backward/new.h:33, from ../../../dist/include/string/nsBufferHandleUtils.h:36, from ../../../dist/include/string/nsSharableString.h:35, from ../../../dist/include/string/nsPromiseFlatString.h:28, from ../../../dist/include/string/nsString2.h:70, from ../../../dist/include/string/nsString.h:54, from ../../../dist/include/widget/nsIWidget.h:49, from /usr/local/src/CVS/X11/mozilla/widget/src/xpwidgets/nsBaseWidget.h:41, from /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsCommonWidget.h:42, from /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.h:41, from /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:39: /usr/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated. /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp: In destructor `virtual nsWindow::~nsWindow()': /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:162: `gWidgetLog' undeclared (first use this function) /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:162: (Each undeclared identifier is reported only once for each function it appears in.) /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:162: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:162: `PR_LOG' undeclared (first use this function) /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp: In member function `virtual nsresult nsWindow::Destroy()': /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:209: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp: In member function `virtual nsresult nsWindow::SetModal(int)': /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:284: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:284: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp: In member function `virtual nsresult nsWindow::Move(int, int)': /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:345: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:345: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:345: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp: In member function `virtual nsresult nsWindow::SetSizeMode(int)': /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:381: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:381: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp: In member function `virtual nsresult nsWindow::SetFocus(int)': /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:425: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:472: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp: In member function `virtual nsresult nsWindow::GetScreenBounds(nsRect&)': /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:500: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:500: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:500: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:500: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:500: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:500: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp: In member function `virtual nsresult nsWindow::Invalidate(int)': /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:581: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:581: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:581: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:581: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:581: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp: In member function `virtual nsresult nsWindow::Invalidate(const nsRect&, int)': /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:603: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:603: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:603: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:603: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:603: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp: In member function `virtual nsresult nsWindow::InvalidateRegion(const nsIRegion*, int)': /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:625: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:625: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:625: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:625: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:625: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:632: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp: In member function `virtual nsresult nsWindow::WidgetToScreen(const nsRect&, nsRect&)': /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:775: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:775: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:779: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:779: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp: In member function `virtual nsresult nsWindow::CaptureMouse(int)': /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:834: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp: In member function `virtual nsresult nsWindow::CaptureRollupEvents(nsIRollupListener*, int, int)': /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:859: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp: In member function `virtual nsresult nsWindow::GetAttention()': /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:883: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp: In member function `gboolean nsWindow::OnExposeEvent(GtkWidget*, GdkEventExpose*)': /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:913: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:913: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:926: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:926: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:926: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:926: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:926: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:926: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp: In member function `gboolean nsWindow::OnConfigureEvent(GtkWidget*, GdkEventConfigure*)': /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:957: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:957: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:957: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:957: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:957: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp: In member function `void nsWindow::OnSizeAllocate(GtkWidget*, GtkAllocation*)': /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:983: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:983: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:983: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:983: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:983: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp: In member function `void nsWindow::OnEnterNotifyEvent(GtkWidget*, GdkEventCrossing*)': /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:1020: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp: In member function `void nsWindow::OnLeaveNotifyEvent(GtkWidget*, GdkEventCrossing*)': /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:1035: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp: In member function `void nsWindow::OnWindowStateEvent(GtkWidget*, GdkEventWindowState*)': /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:1302: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:1302: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:1302: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp: In member function `nsresult nsWindow::NativeCreate(nsIWidget*, void*, const nsRect&, nsEventStatus (*)(nsGUIEvent*), nsIDeviceContext*, nsIAppShell*, nsIToolkit*, nsWidgetInitData*)': /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:1434: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:1434: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:1449: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:1449: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:1549: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:1552: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:1552: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:1552: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:1558: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:1558: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:1566: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:1566: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:1566: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:1566: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp: In member function `virtual void nsWindow::NativeResize(int, int, int)': /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:1579: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:1579: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:1579: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp: In member function `virtual void nsWindow::NativeResize(int, int, int, int, int)': /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:1607: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:1607: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:1607: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:1607: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:1607: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp: In member function `void nsWindow::GrabPointer()': /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:1684: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp: In member function `void nsWindow::GrabKeyboard()': /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:1717: warning: left-hand operand of comma expression has no effect /usr/local/src/CVS/X11/mozilla/widget/src/gtk2/nsWindow.cpp:1746: warning: left-hand operand of comma expression has no effect make[4]: *** [nsWindow.o] Error 1 make[4]: Leaving directory `/home/fredlwm/objdir/widget/src/gtk2' make[3]: *** [libs] Error 2 make[3]: Leaving directory `/home/fredlwm/objdir/widget/src' make[2]: *** [libs] Error 2 make[2]: Leaving directory `/home/fredlwm/objdir/widget' make[1]: *** [tier_9] Error 2 make[1]: Leaving directory `/home/fredlwm/objdir' make: *** [default] Error 2 My .mozconfig: # sh # Build configuration script # # See http://www.mozilla.org/build/unix.html for build instructions. # # Options for 'configure' (same as command-line options). ac_add_options --prefix=/usr/X11R6/GNOME # ac_add_options --localstatedir=/var # --with-pthreads ac_add_options --with-system-jpeg ac_add_options --with-system-zlib ac_add_options --with-system-png # ac_add_options --with-system-mng ac_add_options --enable-default-toolkit=gtk2 ac_add_options --disable-gtktest ac_add_options --disable-mailnews ac_add_options --disable-ldap ac_add_options --disable-freetypetest ac_add_options --enable-xft ac_add_options --disable-xprint ac_add_options --enable-crypto ac_add_options --disable-jsd # --enable-java-supplement ac_add_options --disable-bidi ac_add_options --disable-accessibility ac_add_options --enable-plaintext-editor-only # --enable-extensions # --disable-mathml ac_add_options --enable-svg ac_add_options --disable-installer ac_add_options --disable-tests ac_add_options --disable-debug ac_add_options --enable-optimize='-O3 -march=athlon -mcpu=athlon' ac_add_options --disable-dtd-debug ac_add_options --disable-logging ac_add_options --enable-reorder ac_add_options --disable-double-buffer ac_add_options --enable-strip ac_add_options --enable-elf-dynstr-gc # --enable-old-abi-compat-wrappers ac_add_options --enable-xterm-updates ac_add_options --disable-verbose-config-defs ac_add_options --disable-pedantic ac_add_options --enable-cpp-rtti ac_add_options --enable-cpp-exceptions ac_add_options --disable-libIDLtest # ac_add_options --disable-glibtest # ac_add_options --disable-xul mk_add_options BUILD_OFFICIAL=1 BUILD_OFFICIAL=1 mk_add_options MOZILLA_OFFICIAL=1 MOZILLA_OFFICIAL=1 mk_add_options MOZ_INTERNAL_LIBART_LGPL=1 MOZ_INTERNAL_LIBART_LGPL=1
gtk2 -> xpwidgets
Assignee: seawood → jaggernaut
Component: Build Config → XP Toolkit/Widgets
QA Contact: granrose → jrgm
-> blizzard
Assignee: jaggernaut → blizzard
Frédéric, are you still experiencing this problem? I've been building mozilla with gtk2 for a few months with no problems like this.
This is old. Marking WORKSFORME.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.