From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,61654927c6d1e9cd,start X-Google-Attributes: gidfee84,public From: vanhala@ling.helsinki.fi (Tomas Vanhala) Subject: X Keyboard extension on DU4.0 Date: 1997/12/18 Message-ID: #1/1 X-Deja-AN: 299399596 Organization: University of Helsinki Newsgroups: comp.unix.osf.osf1 According to the Software Product Description for Digital UNIX 4.0 (SPD 41.61.13): In addition, Digital UNIX supports selected Release 6.1 (X11R6.1) fea- tures, including the X Keyboard extension (XKB) (version 0.65) and the double buffering extension (DBE). When compiling an application that uses the XKB extension, not all symbols are resolved by the linker. $ cc -std -O2 -I/usr/include -DLONG_BIT=64 -DNO_MESSAGE_CATALOG -DXKB \ -DSCROLLBAR_RIGHT -DUTMP -DOSMAJORVERSION=4 -DOSMINORVERSION=0 -o xterm \ button.o charproc.o cursor.o data.o doublechr.o input.o main.o menu.o misc.o \ print.o screen.o scrollbar.o tabs.o TekPrsTbl.o Tekproc.o util.o VTPrsTbl.o \ -lXaw -lXext -lXmu -lXt -lSM -lICE -lX11 -ltermcap -ldnet_stub ld: Unresolved: XkbStdBell make: *** [xterm] Error 1 The necessary code seems to be available in two places: /usr/shlib/X11/libxkb.so and /usr/lib/libxkbfile.a I used the archive library, as it is without doubt intended for program development: $ cc -std -O2 -I/usr/include -DLONG_BIT=64 -DNO_MESSAGE_CATALOG -DXKB \ -DSCROLLBAR_RIGHT -DUTMP -DOSMAJORVERSION=4 -DOSMINORVERSION=0 -o xterm \ button.o charproc.o cursor.o data.o doublechr.o input.o main.o menu.o misc.o \ print.o screen.o scrollbar.o tabs.o TekPrsTbl.o Tekproc.o util.o VTPrsTbl.o \ -lXaw -lXext -lXmu -lXt -lxkbfile -lSM -lICE -lX11 -ltermcap -ldnet_stub ^^^^^^^^^^ ^^^^^^^^^^ It works, but I still have two questions: 1) Where should the reference to libxkbfile.a be placed in the link command? 2) Why is there no /usr/shlib/libxkbfile.so or /usr/shlib/libxkb.so ?