! 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 !
Terminal fails to link on Solaris with XGetModifierMapping XFreeModifiermap m...
Status:
CLOSED: FIXED
Product:
Xfce4-terminal
Component:
General

Comments

Description Peter Tribble 2007-02-05 21:57:57 CET
User-Agent:       Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8.1) Gecko/20061211 Firefox/2.0
Build Identifier: 

When building Terminal 0.2.6 on Solaris Nevada, it fails at the link stage with:

Undefined                       first referenced
 symbol                             in file
XGetModifierMapping                 Terminal-terminal-shortcut-editor.o  (symbol belongs to implicit dependency /usr/openwin/lib/libX11.so.4)
XFreeModifiermap                    Terminal-terminal-shortcut-editor.o  (symbol belongs to implicit dependency /usr/openwin/lib/libX11.so.4)

Looking at the link command, -lX11 is missing

Reproducible: Always

Steps to Reproduce:
1. On Solaris Nevada, build the packages in the order on the requirements page, with /packages/xfce as the prefix (the prefix probably doesn't matter)

2. In Terminal, ./configure --prefix=/packages/xfce

3. gmake

Actual Results:  
The build fails with the above error.

Expected Results:  
Terminal links correctly.

In terminal/Makefile, adding -lX11 to the VTE_LIBS variable seems to fix the problem.
Comment 1 Benedikt Meurer editbugs 2007-02-12 18:24:34 CET
Fixed with revision 24959.

2007-02-12      Benedikt Meurer <benny@xfce.org>

        * configure.in.in, terminal/terminal-shortcut-editor.c,
          terminal/Makefile.am: Link to -lx11. Bug #2870.

Bug #2870

Reported by:
Peter Tribble
Reported on: 2007-02-05
Last modified on: 2009-12-17

People

Assignee:
Benedikt Meurer
CC List:
0 users

Version

Attachments

Additional information