I've found that mozilla/gfx/src/qt/nsDeviceContextSpecQT.cpp
contains an undefined reference ('aChromeURL') at line 193:
rv = wwatch->OpenWindow(parent, aChromeURL,
This was introduced somewhere after the 0.9.7 build.
Indeed, the offending line in the 0.9.7 sources:
rv = wwatch->OpenWindow(parent,
"chrome://global/content/printdialog.xul",
Obviously the build fails unless aChromeURL is defined.
So I got most recent source by CVS and added the following line to
mozilla/gfx/src/qt/nsDeviceContextSpecQT.h :
#define aChromeURL "chrome://global/content/printdialog.xul"
Now mozilla builds successfully!
Is this a mozilla bug or should aChromeURL be defined somewhere else?
Please note that I'm not familiar with the mozilla source.
I have configured with:
--with-qtdir=/usr/lib/qt2
--enable-toolkit-qt
--disable-debug
--enable-optimize
Compiled under Linux 2.4.17, SuSE 7.3.
Please post if you have any additional questions!
Regards, Walter