Closed Bug 132596 Opened 23 years ago Closed 23 years ago

Problem compiling mozilla 0.9.9

Categories

(SeaMonkey :: Build Config, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 130725

People

(Reporter: pierre, Assigned: netscape)

Details

Hi,

I try to compile mozilla-0.9.9 on my linux slackware 8 with gcc-3.0.4
there was no problem with the configure, but for the make i got this :

[...]
gmake[4]: Entering directory `/tmp/mozilla/gfx/src/qt'
nsGfxFactoryQT.cpp
c++ -o nsGfxFactoryQT.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DOJI
-D_IMPL_NS_GFXNONXP -D_BSD_SOURCE -I./. -I./..  -I../../../dist/include/xpcom
-I../../../dist/include/string -I../../../dist/include/widget
-I../../../dist/include/view -I../../../dist/include/gfx2
-I../../../dist/include/uconv -I../../../dist/include/pref
-I../../../dist/include/dom -I../../../dist/include/util
-I../../../dist/include/js -I../../../dist/include/appshell
-I../../../dist/include/mozcomps -I../../../dist/include/windowwatcher
-I../../../dist/include/unicharutil -I../../../dist/include/intl
-I../../../dist/include/locale -I../../../dist/include/gfx
-I../../../dist/include -I/tmp/mozilla/dist/include/nspr     
-I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include -fno-rtti -fno-exceptions
-Wall -Wconversion -Wpointer-arith -Wbad-function-cast -Wcast-align
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -pedantic -Wno-long-long
-fshort-wchar -pthread -pipe  -DDEBUG -D_DEBUG -DDEBUG_root -DTRACING -g -O
-I/usr/local/qt/include -DQT_GENUINE_STR  -I/usr/X11R6/include -DMOZILLA_CLIENT
-include ../../../config-defs.h -Wp,-MD,.deps/nsGfxFactoryQT.pp nsGfxFactoryQT.cpp
In file included from nsRenderingContextQT.h:43,
                 from nsGfxFactoryQT.cpp:47:
../../../dist/include/gfx/nsIRenderingContext.h:716: warning: `virtual nsresult 
   nsIRenderingContext::DrawImage(nsIImage*, const nsRect&, const nsRect&)' was 
   hidden
../../../dist/include/gfx/nsRenderingContextImpl.h:132: warning:   by `virtual 
   nsresult nsRenderingContextImpl::DrawImage(imgIContainer*, const nsRect*, 
   const nsPoint*)'
../../../dist/include/gfx/nsIRenderingContext.h:709: warning: `virtual nsresult 
   nsIRenderingContext::DrawImage(nsIImage*, const nsRect&)' was hidden
../../../dist/include/gfx/nsRenderingContextImpl.h:132: warning:   by `virtual 
   nsresult nsRenderingContextImpl::DrawImage(imgIContainer*, const nsRect*, 
   const nsPoint*)'
../../../dist/include/gfx/nsIRenderingContext.h:703: warning: `virtual nsresult 
   nsIRenderingContext::DrawImage(nsIImage*, int, int, int, int)' was hidden
../../../dist/include/gfx/nsRenderingContextImpl.h:132: warning:   by `virtual 
   nsresult nsRenderingContextImpl::DrawImage(imgIContainer*, const nsRect*, 
   const nsPoint*)'
../../../dist/include/gfx/nsIRenderingContext.h:693: warning: `virtual nsresult 
   nsIRenderingContext::DrawImage(nsIImage*, int, int)' was hidden
../../../dist/include/gfx/nsRenderingContextImpl.h:132: warning:   by `virtual 
   nsresult nsRenderingContextImpl::DrawImage(imgIContainer*, const nsRect*, 
   const nsPoint*)'
In file included from nsGfxFactoryQT.cpp:47:
../../../dist/include/gfx/nsRenderingContextImpl.h:132: warning: `virtual 
   nsresult nsRenderingContextImpl::DrawImage(imgIContainer*, const nsRect*, 
   const nsPoint*)' was hidden
nsRenderingContextQT.h:190: warning:   by `virtual nsresult 
   nsRenderingContextQT::DrawImage(nsIImage*, const nsRect&, const nsRect&)'
../../../dist/include/gfx/nsRenderingContextImpl.h:134: warning: `virtual 
   nsresult nsRenderingContextImpl::DrawTile(imgIContainer*, int, int, const 
   nsRect*)' was hidden
nsRenderingContextQT.h:195: warning:   by `virtual nsresult 
   nsRenderingContextQT::DrawTile(nsIImage*, int, int, const nsRect&)'
In file included from nsGfxFactoryQT.cpp:48:
../../../dist/include/gfx/nsIDeviceContextSpecPS.h:120: warning: `virtual 
   nsresult nsIDeviceContextSpecPS::GetCommand(const char**)' was hidden
nsDeviceContextSpecQT.h:100: warning:   by `virtual nsresult 
   nsDeviceContextSpecQT::GetCommand(char**)'
../../../dist/include/gfx/nsIDeviceContextSpecPS.h:128: warning: `virtual 
   nsresult nsIDeviceContextSpecPS::GetPrinterName(const char**)' was hidden
nsDeviceContextSpecQT.h:84: warning:   by `virtual nsresult 
   nsDeviceContextSpecQT::GetPrinterName(char**)'
../../../dist/include/gfx/nsIDeviceContextSpecPS.h:144: warning: `virtual 
   nsresult nsIDeviceContextSpecPS::GetPath(const char**)' was hidden
nsDeviceContextSpecQT.h:102: warning:   by `virtual nsresult 
   nsDeviceContextSpecQT::GetPath(char**)'
nsGfxFactoryQT.cpp: In function `nsresult 
   nsDeviceContextSpecQTConstructor(nsISupports*, const nsIID&, void**)':
nsGfxFactoryQT.cpp:64: cannot allocate an object of type 
   `nsDeviceContextSpecQT'
nsGfxFactoryQT.cpp:64:   because the following virtual functions are abstract:
../../../dist/include/gfx/nsIDeviceContextSpecPS.h:120: 	virtual nsresult 
   nsIDeviceContextSpecPS::GetCommand(const char**)
../../../dist/include/gfx/nsIDeviceContextSpecPS.h:128: 	virtual nsresult 
   nsIDeviceContextSpecPS::GetPrinterName(const char**)
../../../dist/include/gfx/nsIDeviceContextSpecPS.h:144: 	virtual nsresult 
   nsIDeviceContextSpecPS::GetPath(const char**)
../../../dist/include/gfx/nsIDeviceContextSpecPS.h:157: 	virtual nsresult 
   nsIDeviceContextSpecPS::GetPageSizeInTwips(PRInt32*, PRInt32*)
nsGfxFactoryQT.cpp:64: warning: `nsDeviceContextSpecQT*inst' might be used 
   uninitialized in this function
nsGfxFactoryQT.cpp: In function `nsresult 
   nsScriptableRegionConstructor(nsISupports*, const nsIID&, void**)':
nsGfxFactoryQT.cpp:75: warning: `nsIScriptableRegion*inst' might be used 
   uninitialized in this function
gmake[4]: *** [nsGfxFactoryQT.o] Error 1
gmake[4]: Leaving directory `/tmp/mozilla/gfx/src/qt'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/tmp/mozilla/gfx/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/tmp/mozilla/gfx'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/tmp/mozilla'
gmake: *** [default] Error 2


I configured with --enable-toolkit-qt


It would be great if you could help me with this !

Best regards,

Pierre.
It sounds like someone just didn't update the QT port when the print interfaces
changed...  ccing likely culprits.

*** This bug has been marked as a duplicate of 130725 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
verified duplicate.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.