Re: problem compiling gtk with xft
Jason Corbett <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.gtk |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
Sorry, forgot the non-quiet compiler error output: make[1]: Entering directory `/usr/src/packages/BUILD/mozilla/gfx/src/gtk' nsGfxFactoryGTK.cpp /opt/gcc-2.95.3/bin/g++ -o nsGfxFactoryGTK.o -c -DNATIVE_THEME_SUPPORT -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DOJI -D_BSD_SOURCE -DUSE_POSTSCRIPT -I./. -I./.. -I./../shared -I./../x11shared -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/widget -I../../../dist/include/view -I../../../dist/include/util -I../../../dist/include/pref -I../../../dist/include/uconv -I../../../dist/include/unicharutil -I../../../dist/include/locale -I../../../dist/include/necko -I../../../dist/include/content -I../../../dist/include/layout -I../../../dist/include/imglib2 -I../../../dist/include/gfx -I../../../dist/include -I/usr/src/packages/BUILD/mozilla/dist/include/nspr -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -pedantic -Wno-long-long -pthread -pipe -DNDEBUG -DTRIMMED -O -I/usr/include/Xft2 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsGfxFactoryGTK.pp nsGfxFactoryGTK.cpp In file included from nsGfxFactoryGTK.cpp:65: nsFontMetricsXft.h:248: syntax error before `*' nsGfxFactoryGTK.cpp: In function `nsresult nsScriptableRegionConstructor(nsISupports *, const nsIID &, void **)': nsGfxFactoryGTK.cpp:171: warning: `class nsIScriptableRegion * inst' might be used uninitialized in this function make[1]: *** [nsGfxFactoryGTK.o] Error 1 make[1]: Leaving directory `/usr/src/packages/BUILD/mozilla/gfx/src/gtk' make: *** [all] Error 2 Jason Corbett wrote: > Hello I'm using suse 8.1, and want xft, so I am compiling the redhat 8 > xft src rpm. I had to add xft to pkg-config (it wasn't in suse's > pkg-config). I get an error however during compile, and it appears to > be somewhere in the gtk portion. Here's the output of the compile. By > the way it's a gcc 3 compiler. > > Jason Corbett > > In the directory /usr/src/packages/BUILD/mozilla/gfx/src/gtk > The following command failed to execute properly: > c++ -o nsGfxFactoryGTK.o -c -DNATIVE_THEME_SUPPORT -DOSTYPE="Linux2.4" > -DOSARCH="Linux" -DOJI -D_BSD_SOURCE -DUSE_POSTSCRIPT -I./. -I./.. > -I./../shared -I./../x11shared -I../../../dist/include/xpcom > -I../../../dist/include/string -I../../../dist/include/widget > -I../../../dist/include/view -I../../../dist/include/util > -I../../../dist/include/pref -I../../../dist/include/uconv > -I../../../dist/include/unicharutil -I../../../dist/include/locale > -I../../../dist/include/necko -I../../../dist/include/content > -I../../../dist/include/layout -I../../../dist/include/imglib2 > -I../../../dist/include/gfx -I../../../dist/include > -I/usr/src/packages/BUILD/mozilla/dist/include/nspr -I/usr/X11R6/include > -fPIC -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion > -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth > -Wno-ctor-dtor-privacy -pedantic -Wno-long-long -fshort-wchar -pthread > -pipe -DNDEBUG -DTRIMMED -O -I/usr/include/Xft2 -I/usr/include/freetype2 > -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 > -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/X11R6/include > -DMOZILLA_CLIENT -include ../../../mozilla-config.h > -Wp,-MD,.deps/nsGfxFactoryGTK.pp nsGfxFactoryGTK.cpp > make[3]: *** [nsGfxFactoryGTK.o] Error 1 > make[2]: *** [libs] Error 2 > make[1]: *** [libs] Error 2 > make: *** [libs] Error 2 > Bad exit status from /var/tmp/rpm-tmp.66308 (%build) >