After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 614469 - Does no longer compile with -DX_DISPLAY_MISSING
Does no longer compile with -DX_DISPLAY_MISSING
Status: RESOLVED FIXED
Product: vte
Classification: Core
Component: general
0.24.x
Other Linux
: Normal normal
: ---
Assigned To: VTE Maintainers
VTE Maintainers
fixed-0-24
Depends on:
Blocks:
 
 
Reported: 2010-03-31 14:16 UTC by Michael Vogt
Modified: 2010-04-26 11:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Vogt 2010-03-31 14:16:27 UTC
The debian and ubuntu packages build a special version of vte that is build with -DX_DISPLAY_MISSING. From 0.24.0 on this no longer works:

libtool: link: gcc -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/directfb -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gio-unix-2.0/ -g -O2 -g -Wall -O2 -Os -DX_DISPLAY_MISSING -Wall -Wextra -Wsign-compare -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Waggregate-return -Wcast-align -Wimplicit -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wmissing-format-attribute -Wshadow -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -fno-common -Wno-switch-enum -Wl,-Bsymbolic-functions -o .libs/vte vte-vteapp.o -pthread  ./.libs/libvte.so -lgtk-directfb-2.0 -lgdk-directfb-2.0 /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so -ldirectfb -lfusion -ldirect -lpthread /usr/lib/libgio-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libgthread-2.0.so -lrt /usr/lib/libglib-2.0.so -lm -pthread
./.libs/libvte.so: undefined reference to `vte_bg_root_surface'

vte_bg_root_surface is defined in a "#ifndef X_DISPLAY_MISSING" block.
Comment 1 Behdad Esfahbod 2010-03-31 14:26:32 UTC
Patch?
Comment 2 Christian Persch 2010-04-01 12:10:43 UTC
BTW, why is this code not just #ifdef GDK_WINDOWING_X11 instead of that weird X_DISPLAY_MISSING define?
Comment 3 Christian Persch 2010-04-03 21:47:10 UTC
Should be fixed on master.