! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfwm4-4.0.6 ./configure --enable-debug option does not work (undefined refere...
Status:
RESOLVED: WONTFIX

Comments

Description cscm 2004-08-03 09:49:02 CEST
Hi Olivier,

I'am trying to build xfce with debug informations.
I've run the configure script with the --enable-debug option:

$ ./configure --enable-debug --prefix=/usr
$ make

Build process failed with the fallow errors :

distcc -g -O2 -g -Wall -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
-DGTK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -o xfwm4
xfwm4-client.o xfwm4-events.o xfwm4-frame.o xfwm4-hints.o xfwm4-keyboard.o
xfwm4-main.o xfwm4-menu.o xfwm4-misc.o xfwm4-mypixmap.o xfwm4-mywindow.o
xfwm4-parserc.o xfwm4-session.o xfwm4-settings.o xfwm4-startup_notification.o
xfwm4-spinning_cursor.o xfwm4-tabwin.o xfwm4-workspaces.o -Wl,--export-dynamic
-L/usr/X11R6/lib /usr/lib/libstartup-notification-1.so
/usr/lib/libxfce4mcs-client.so /usr/lib/libxfcegui4.so -lXinerama -lXext
/usr/lib/libgtk-x11-2.0.so /usr/lib/libxfce4util.so /usr/lib/libgdk-x11-2.0.so
/usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm
/usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so
/usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl
/usr/lib/libglib-2.0.so -lSM -lICE -lXpm -lXrandr /usr/lib/libXrender.so -lX11
xfwm4-main.o(.text+0x4d4): In function `initialize':
//main.c:263: undefined reference to `gtk_widget_push_visual'
xfwm4-main.o(.text+0x4d9)://main.c:264: undefined reference to
`gdk_rgb_get_cmap'
xfwm4-main.o(.text+0x5b5)://main.c:274: undefined reference to
`gdk_rgb_get_cmap'
xfwm4-settings.o(.text+0x118f): In function `loadTheme':
//settings.c:498: undefined reference to `gdk_rgb_get_cmap'
xfwm4-settings.o(.text+0x12ca)://settings.c:549: undefined reference to
`gdk_rgb_get_cmap'
xfwm4-settings.o(.text+0x20f0)://settings.c:543: undefined reference to
`gdk_rgb_get_cmap'
xfwm4-settings.o(.text+0x21e7)://settings.c:492: more undefined references to
`gdk_rgb_get_cmap' follow
collect2: ld returned 1 exit status
distcc[9188] ERROR: compile (null) on localhost failed
make[2]: *** [xfwm4] Error 1
make[2]: Leaving directory `/goinfre/xfwm4-4.0.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/goinfre/xfwm4-4.0.6'
make: *** [all] Error 2
Comment 1 cscm 2004-08-03 09:49:04 CEST
Additional information:

Systeme Debian GNU/Linux "Sarge" Linux 2.4

libgtk2.0-dev 2.4.3-3

Versions of packages xfwm4 depends on:
ii libatk1.0-0 1.6.1-2 The ATK accessibility toolkit
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
ii libglib2.0-0 2.4.2-1 The GLib library of C routines
ii libgtk2.0-0 2.4.3-3 The GTK+ graphical user interface
ii libice6 4.3.0.dfsg.1-4 Inter-Client Exchange library
ii libpango1.0-0 1.4.0-4 Layout and rendering of internatio
ii libsm6 4.3.0.dfsg.1-4 X Window System Session Management
ii libstartup-notification0 0.6-2 library for program launch feedbac
ii libx11-6 4.3.0.dfsg.1-4 X Window System protocol client li
ii libxext6 4.3.0.dfsg.1-4 X Window System miscellaneous exte
ii libxfce4mcs-client-1 4.0.6-1 Client library for Xfce4 configure
ii libxfce4util-1 4.0.6-1 Utility functions library for Xfce
ii libxfcegui4-1 4.0.6-1 Basic GUI C functions for Xfce4
ii libxpm4 4.3.0.dfsg.1-4 X pixmap library
ii libxrandr2 4.3.0.dfsg.1-4 X Window System Resize, Rotate and
ii libxrender1 0.8.3-7 X Rendering Extension client libra
ii xlibs 4.3.0.dfsg.1-4 X Window System client libraries m
Comment 2 Jasper Huijsmans editbugs 2004-08-19 19:49:04 CEST
If you simply want debugging symbols, it's better to set CFLAGS manually, e.g:

CFLAGS="-O2 -g3" ./configure && make && make install

The above will probably do what you want, hopefully without failing to compile.
Comment 3 Jasper Huijsmans editbugs 2004-09-21 09:44:13 CEST
I think this is a WONTFIX, since it's for 4.0.6
Comment 4 Jasper Huijsmans editbugs 2004-09-25 20:55:03 CEST
This bug is not important enough to fix on the old stable branch. There will be
a new stable branch soon.
Comment 5 Brian J. Tarricone (not reading bugmail) 2004-10-12 22:25:28 CEST
mass reassign from zz-do-not-use to general, so i can remove the zz-do-not-use
component.  sorry for the spam, search for this string to filter these:
fis7cldoq35p3kjdu74emc

Bug #285

Reported by:
cscm
Reported on: 2004-08-03
Last modified on: 2009-07-15

People

Assignee:
Olivier Fourdan
CC List:
0 users

Version

Attachments

Additional information