[Xfce-bugs] [XFCE 0000285]: xfwm4-4.0.6 ./configure --enable-debug option does not work (undefined reference)

xfce-bugs at xfce.org xfce-bugs at xfce.org
Thu Aug 19 21:49:04 CEST 2004


A BUGNOTE has been added to this bug.
=======================================================================
http://bugs.xfce.org/view_bug_page.php?f_id=0000285
=======================================================================
Reporter:                   cscm
Handler:                    
=======================================================================
Project:                    XFCE
Bug ID:                     0000285
Category:                   other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
=======================================================================
Date Submitted:             2004-08-03 09:49 GMT
Last Modified:              2004-08-19 19:49 GMT
=======================================================================
Summary:                    xfwm4-4.0.6 ./configure --enable-debug option does not work (undefined reference)
Description: 
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
=======================================================================

-----------------------------------------------------------------------
 huysmans - 2004-08-19 19:49 GMT 
-----------------------------------------------------------------------
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.



More information about the Xfce-bugs mailing list