Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: vanhala@ling.helsinki.fi (Tomas Vanhala)
Subject: X Keyboard extension on DU4.0
Date: 1997/12/18	[thread overview]
Message-ID: <slrn69iof5.dqq.vanhala@tuuri.ling.helsinki.fi> (raw)


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 ?



                 reply	other threads:[~1997-12-18  5:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox