From: SourceForge.net <no...@so...> - 2007-10-16 14:28:35
|
Bugs item #1805122, was opened at 2007-09-30 07:00 Message generated for change (Comment added) made by sf-robot You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=118378&aid=1805122&group_id=18378 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed Resolution: Accepted Priority: 5 Private: No Submitted By: helch (helch) Assigned to: Romain Liévin (roms) Summary: compile error with gtk+-2.12 Initial Comment: I can't compile tilp2-1.0.7 anymore when using gtk+-2.12.0 (gentoo version x11-libs/gtk+-2.12.0-r2). It complied with gtk+-2.10.14. Here's the output: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -I/usr/include/tilp2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/tilp2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/tilp2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/tilp2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/kde/3.5/include -I/usr/qt/3/include -DSHARE_DIR=\"/usr/share/tilp2\" -DLOCALEDIR=\"/usr/share/locale\" -DSYSCONFDIR=\"/etc\" -DGTK_DISABLE_DEPRECATED -DQT_THREAD_SUPPORT -D_REENTRANT -Wall -march=k8 -pipe -O2 -D__LINUX__ -fvisibility=hidden -DGTK_DISABLE_DEPRECATED -MT tilp-filesel.o -MD -MP -MF .deps/tilp-filesel.Tpo -c -o tilp-filesel.o `test -f 'filesel.c' || echo './'`filesel.c mv -f .deps/tilp-dnd.Tpo .deps/tilp-dnd.Po x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -I/usr/include/tilp2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/tilp2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/tilp2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/tilp2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/kde/3.5/include -I/usr/qt/3/include -DSHARE_DIR=\"/usr/share/tilp2\" -DLOCALEDIR=\"/usr/share/locale\" -DSYSCONFDIR=\"/etc\" -DGTK_DISABLE_DEPRECATED -DQT_THREAD_SUPPORT -D_REENTRANT -Wall -march=k8 -pipe -O2 -D__LINUX__ -fvisibility=hidden -DGTK_DISABLE_DEPRECATED -MT tilp-gtk_gif.o -MD -MP -MF .deps/tilp-gtk_gif.Tpo -c -o tilp-gtk_gif.o `test -f 'gtk_gif.c' || echo './'`gtk_gif.c mv -f .deps/tilp-gtk_gif.Tpo .deps/tilp-gtk_gif.Po x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -I/usr/include/tilp2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/tilp2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/tilp2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/tilp2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/kde/3.5/include -I/usr/qt/3/include -DSHARE_DIR=\"/usr/share/tilp2\" -DLOCALEDIR=\"/usr/share/locale\" -DSYSCONFDIR=\"/etc\" -DGTK_DISABLE_DEPRECATED -DQT_THREAD_SUPPORT -D_REENTRANT -Wall -march=k8 -pipe -O2 -D__LINUX__ -fvisibility=hidden -DGTK_DISABLE_DEPRECATED -MT tilp-gtk_update.o -MD -MP -MF .deps/tilp-gtk_update.Tpo -c -o tilp-gtk_update.o `test -f 'gtk_update.c' || echo './'`gtk_update.c filesel.c:69: error: expected ')' before '*' token filesel.c: In function 'create_fsel_1': filesel.c:92: warning: implicit declaration of function 'gtk_file_selection_new' filesel.c:92: warning: assignment makes pointer from integer without a cast filesel.c:96: warning: implicit declaration of function 'gtk_file_selection_set_filename' filesel.c:96: warning: implicit declaration of function 'GTK_FILE_SELECTION' filesel.c:100: warning: implicit declaration of function 'gtk_file_selection_complete' filesel.c:102: error: invalid type argument of '->' filesel.c:102: error: 'store_filename' undeclared (first use in this function) filesel.c:102: error: (Each undeclared identifier is reported only once filesel.c:102: error: for each function it appears in.) filesel.c:105: error: invalid type argument of '->' filesel.c:109: error: invalid type argument of '->' filesel.c:115: error: invalid type argument of '->' filesel.c: At top level: filesel.c:372: error: expected ')' before '*' token filesel.c: In function 'create_fsels_1': filesel.c:395: warning: assignment makes pointer from integer without a cast filesel.c:396: warning: implicit declaration of function 'gtk_file_selection_set_select_multiple' filesel.c:406: error: invalid type argument of '->' filesel.c:406: error: 'store_filenames' undeclared (first use in this function) filesel.c:409: error: invalid type argument of '->' filesel.c:413: error: invalid type argument of '->' filesel.c:419: error: invalid type argument of '->' make[2]: *** [tilp-filesel.o] Error 1 make[2]: *** Waiting for unfinished jobs.... mv -f .deps/tilp-gtk_update.Tpo .deps/tilp-gtk_update.Po make[2]: Leaving directory `/var/tmp/portage/sci-calculators/tilp2-1.07/work/tilp2-1.07/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sci-calculators/tilp2-1.07/work/tilp2-1.07' make: *** [all] Error 2 configure was: ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-kde --with-xinerama --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu # uname -a Linux powermachine 2.6.22-gentoo-r8 #1 SMP Thu Sep 27 20:59:38 CEST 2007 x86_64 AMD Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux ---------------------------------------------------------------------- >Comment By: SourceForge Robot (sf-robot) Date: 2007-10-16 07:28 Message: Logged In: YES user_id=1312539 Originator: NO This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker). ---------------------------------------------------------------------- Comment By: Romain Liévin (roms) Date: 2007-10-01 03:03 Message: Logged In: YES user_id=136160 Originator: NO It seems this file selector has been deprecated in this release of GTK: <<A number of interfaces that have been superseded by newer interfaces for a long time have finally been deprecated. This includes gtk_widget_ref/unref(), gtk_rc_style_ref/unref() and the old file selector.>> Thus, I have to fix it. In the meanwhile, you can try and edit filesel.c and add this line "#undef GTK_DISABLE_DEPRECATED" just after line 43. Redo a 'make'. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=118378&aid=1805122&group_id=18378 |