Dear sir,
I have got the source code of mozilla (mozilla-source-M18.tar.gz) lesstif
(lesstif-current.tar.gz) and also
tools needed for building.
After unzipping mozilla and lestif, I have tried the following way:
1. Access the Mozilla source directory, and type
autoconf -l build/autoconf
2 . go to the directory of mozilla/configure
and I enable "with-motif"
./configure --with-motif
3. gmake
and the following message appeared, I
don't know how to solve this problem,
could you tell me what's wrong with it please, thanks!
David
nsGfxFactoryMotif.cpp:106: cannot allocate an object of type `nsFontMetricsMotif'
nsGfxFactoryMotif.cpp:106: since the following virtual functions are abstract:
nsGfxFactoryMotif.cpp:106: nsresult nsIFontMetrics::GetNormalLineHeight(nscoord
&)
nsGfxFactoryMotif.cpp:106: nsresult nsIFontMetrics::GetEmHeight(nscoord &)
nsGfxFactoryMotif.cpp:106: nsresult nsIFontMetrics::GetEmAscent(nscoord &)
nsGfxFactoryMotif.cpp:106: nsresult nsIFontMetrics::GetEmDescent(nscoord &)
nsGfxFactoryMotif.cpp:106: nsresult nsIFontMetrics::GetMaxHeight(nscoord &)
nsGfxFactoryMotif.cpp:109: cannot allocate an object of type `nsDeviceContextMotif'
nsGfxFactoryMotif.cpp:109: since the following virtual functions are abstract:
nsGfxFactoryMotif.cpp:109: nsresult nsIDeviceContext::GetRect(struct nsRect &)
nsGfxFactoryMotif.cpp:112: cannot allocate an object of type `nsRenderingContextMotif'
nsGfxFactoryMotif.cpp:112: since the following virtual functions are abstract:
nsGfxFactoryMotif.cpp:112: nsresult nsIRenderingContext::DrawStdLine(nscoord,
nscoord, nscoord, nscoord)
nsGfxFactoryMotif.cpp:112: nsresult nsIRenderingContext::RasterPolygon(const
struct nsPoint *, PRInt32)
nsGfxFactoryMotif.cpp:112: nsresult nsIRenderingContext::FillStdPolygon(const
struct nsPoint *, PRInt32)
nsGfxFactoryMotif.cpp:112: nsresult nsIRenderingContext::DrawPath(struct
nsPathPoint *, PRInt32)
nsGfxFactoryMotif.cpp:112: nsresult nsIRenderingContext::FillPath(struct
nsPathPoint *, PRInt32)
nsGfxFactoryMotif.cpp:112: nsresult nsIRenderingContext::DrawTile(class nsIImage
*, nscoord, nscoord, const
struct nsRect &)
gmake[3]: *** [nsGfxFactoryMotif.o] Error 1
gmake[3]: Leaving directory `/home/david/mozilla/gfx/src/motif'
gmake[2]: *** [install] Error 2
gmake[2]: Leaving directory `/home/david/mozilla/gfx/src'
gmake[1]: *** [install] Error 2
gmake[1]: Leaving directory `/home/david/mozilla/gfx'
gmake: *** [install] Error 2