To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=110833 Issue #|110833 Summary|extensions: npwrap.cxx does not compile without GTK Component|framework Version|OOO320m14 Platform|PC URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|PATCH Priority|P3 Subcomponent|code Assigned to|mh Reported by|pmladek
------- Additional comments from pmla...@openoffice.org Tue Apr 13 08:44:23 +0000 2010 ------- People see the following error, when compiling without GTK: --- cut --- Compiling: extensions/source/plugin/unx/npwrap.cxx ccache g++ -fmessage-length=0 -c -Os -fno-strict-aliasing -DENABLE_LAYOUT_EXPERIMENTAL=0 -DSYSTEM_MOZILLA -DXP_UNIX -I/usr/include/xulrunner-1.9/stable -I. -I../../../unxlngi6.pro/inc/plunx -I/mnt/sdb2/RPM/BUILD/ooo-build-3.2.0.9/build/ooo320-m12/solver/320/unxlngi6.pro/inc/mozilla/plugin -I/mnt/sdb2/RPM/BUILD/ooo-build-3.2.0.9/build/ooo320-m12/solver/320/unxlngi6.pro/inc/mozilla/java -I/mnt/sdb2/RPM/BUILD/ooo-build-3.2.0.9/build/ooo320-m12/solver/320/unxlngi6.pro/inc/mozilla/nspr -I../inc -I../../../inc/pch -I../../../inc -I../../../unx/inc -I../../../unxlngi6.pro/inc -I. -I/mnt/sdb2/RPM/BUILD/ooo-build-3.2.0.9/build/ooo320-m12/solver/320/unxlngi6.pro/inc/stl -I/mnt/sdb2/RPM/BUILD/ooo-build-3.2.0.9/build/ooo320-m12/solver/320/unxlngi6.pro/inc/external -I/mnt/sdb2/RPM/BUILD/ooo-build-3.2.0.9/build/ooo320-m12/solver/320/unxlngi6.pro/inc -I/mnt/sdb2/RPM/BUILD/ooo-build-3.2.0.9/build/ooo320-m12/solenv/unxlngi6/inc -I/mnt/sdb2/RPM/BUILD/ooo-build-3.2.0.9/build/ooo320-m12/solenv/inc -I/mnt/sdb2/RPM/BUILD/ooo-build-3.2.0.9/build/ooo320-m12/res -I/mnt/sdb2/RPM/BUILD/ooo-build-3.2.0.9/build/ooo320-m12/solver/320/unxlngi6.pro/inc/stl -I/mnt/sdb2/RPM/BUILD/ooo-build-3.2.0.9/build/ooo320-m12/solenv/inc/Xp31 -I/usr/lib/jvm/jdk/include -I/usr/lib/jvm/jdk/include/linux -I/usr/lib/jvm/jdk/include/native_threads/include -I/opt/kde/include -I/mnt/sdb2/RPM/BUILD/ooo-build-3.2.0.9/build/ooo320-m12/solver/320/unxlngi6.pro/inc/offuh -I. -I../../../res -I. -pipe -mtune=pentiumpro -fvisibility-inlines-hidden -Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -DNPTL -DGLIBC=2 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -DX86 -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/include/c++/4.4.3 -DSUPD=320 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DENABLE_LAYOUT=1 -DGSTREAMER -DCUI -DSOLAR_JAVA -DOJI -fexceptions -fno-enforce-eh-specs -DEXCEPTIONS_ON -o ../../../unxlngi6.pro/obj/npwrap.o /mnt/sdb2/RPM/BUILD/ooo-build-3.2.0.9/build/ooo320-m12/extensions/source/plugin/unx/npwrap.cxx /mnt/sdb2/RPM/BUILD/ooo-build-3.2.0.9/build/ooo320-m12/extensions/source/plugin/unx/npwrap.cxx: In function 'int main(int, char**)': /mnt/sdb2/RPM/BUILD/ooo-build-3.2.0.9/build/ooo320-m12/extensions/source/plugin/unx/npwrap.cxx:488: error: 'xt_polling_timer_id' was not declared in this scope /mnt/sdb2/RPM/BUILD/ooo-build-3.2.0.9/build/ooo320-m12/extensions/source/plugin/unx/npwrap.cxx:488: error: 'g_source_remove' was not declared in this scope dmake: Error code 1, while making '../../../unxlngi6.pro/obj/npwrap.obj' ERROR: Error 65280 occurred while making /usr/src/RPM/BUILD/ooo-build-3.2.0.9/build/ooo320-m12/extensions/source/plugin/unx rmdir /tmp/2yQliUWpEx --- cut --- See http://bugs.gentoo.org/show_bug.cgi?id=306181 http://lists.freedesktop.org/archives/ooo-build/2010-April/000819.html I'll attach a simple diff that will add the missing #ifdef ENABLE_GTK on one more location. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@framework.openoffice.org For additional commands, e-mail: issues-h...@framework.openoffice.org --------------------------------------------------------------------- To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org