I have encountered a puzzling error while trying to compile kdelibs-3.2.0: 8<---------------------------------------------------------------------- Making all in kdefx make[2]: Entering directory `/usr/local/src/kde-3.2/kdelibs-3.2.0/kdefx' if /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I../kio/kssl -I../dcop -I../libltdl -I../kdefx -I../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I.. -I/usr/local/qt/include -I/usr/X11R6/include -I/usr/local/kde/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT kpixmap.lo -MD -MP -MF ".deps/kpixmap.Tpo" \ -c -o kpixmap.lo `test -f 'kpixmap.cpp' || echo './'`kpixmap.cpp; \ then mv -f ".deps/kpixmap.Tpo" ".deps/kpixmap.Plo"; \ else rm -f ".deps/kpixmap.Tpo"; exit 1; \ fi if /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I../kio/kssl -I../dcop -I../libltdl -I../kdefx -I../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I.. -I/usr/local/qt/include -I/usr/X11R6/include -I/usr/local/kde/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT kpixmapsplitter.lo -MD -MP -MF ".deps/kpixmapsplitter.Tpo" \ -c -o kpixmapsplitter.lo `test -f 'kpixmapsplitter.cpp' || echo './'`kpixmapsplitter.cpp; \ then mv -f ".deps/kpixmapsplitter.Tpo" ".deps/kpixmapsplitter.Plo"; \ else rm -f ".deps/kpixmapsplitter.Tpo"; exit 1; \ fi if /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I../kio/kssl -I../dcop -I../libltdl -I../kdefx -I../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I.. -I/usr/local/qt/include -I/usr/X11R6/include -I/usr/local/kde/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT kpixmapeffect.lo -MD -MP -MF ".deps/kpixmapeffect.Tpo" \ -c -o kpixmapeffect.lo `test -f 'kpixmapeffect.cpp' || echo './'`kpixmapeffect.cpp; \ then mv -f ".deps/kpixmapeffect.Tpo" ".deps/kpixmapeffect.Plo"; \ else rm -f ".deps/kpixmapeffect.Tpo"; exit 1; \ fi if /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I../kio/kssl -I../dcop -I../libltdl -I../kdefx -I../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I.. -I/usr/local/qt/include -I/usr/X11R6/include -I/usr/local/kde/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT kimageeffect.lo -MD -MP -MF ".deps/kimageeffect.Tpo" \ -c -o kimageeffect.lo `test -f 'kimageeffect.cpp' || echo './'`kimageeffect.cpp; \ then mv -f ".deps/kimageeffect.Tpo" ".deps/kimageeffect.Plo"; \ else rm -f ".deps/kimageeffect.Tpo"; exit 1; \ fi if /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I../kio/kssl -I../dcop -I../libltdl -I../kdefx -I../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I.. -I/usr/local/qt/include -I/usr/X11R6/include -I/usr/local/kde/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT kdrawutil.lo -MD -MP -MF ".deps/kdrawutil.Tpo" \ -c -o kdrawutil.lo `test -f 'kdrawutil.cpp' || echo './'`kdrawutil.cpp; \ then mv -f ".deps/kdrawutil.Tpo" ".deps/kdrawutil.Plo"; \ else rm -f ".deps/kdrawutil.Tpo"; exit 1; \ fi /usr/local/qt/bin/moc ./kstyle.h -o kstyle.moc if /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I../kio/kssl -I../dcop -I../libltdl -I../kdefx -I../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I.. -I/usr/local/qt/include -I/usr/X11R6/include -I/usr/local/kde/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT kstyle.lo -MD -MP -MF ".deps/kstyle.Tpo" \ -c -o kstyle.lo `test -f 'kstyle.cpp' || echo './'`kstyle.cpp; \ then mv -f ".deps/kstyle.Tpo" ".deps/kstyle.Plo"; \ else rm -f ".deps/kstyle.Tpo"; exit 1; \ fi kstyle.cpp: In member function `virtual int KStyle::pixelMetric(QStyle::PixelMetric, const QWidget*) const': kstyle.cpp:975: `PM_MenuBarItemSpacing' undeclared (first use this function) kstyle.cpp:975: (Each undeclared identifier is reported only once for each function it appears in.) kstyle.cpp:978: `PM_ToolBarItemSpacing' undeclared (first use this function) make[2]: *** [kstyle.lo] Error 1 make[2]: Leaving directory `/usr/local/src/kde-3.2/kdelibs-3.2.0/kdefx' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/kde-3.2/kdelibs-3.2.0' make: *** [all] Error 2 ---------------------------------------------------------------------->8 The offending lines in kstyle.cpp are as follows: 8<---------------------------------------------------------------------- #if QT_VERSION >= 0x030300 case PM_MenuBarItemSpacing: return 3; case PM_ToolBarItemSpacing: return 0; #endif ---------------------------------------------------------------------->8 I am using Qt version 3.3, but I can find neither PM_MenuBarItemSpacing nor PM_ToolBarItemSpacing anywhere on my system. I cannot find them referenced in the qt documentation or even on the internet. Do these exist? Commenting out the above-pasted block of code allows for a successful compile, but I am by no means an expert and am obviously not comfortable with this solution. Can anyone offer any advice? Thanks in advance. John Stahara AMSRD-TAR-N john.stahara@us.army.mil >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<