Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* X Keyboard extension on DU4.0
@ 1997-12-18  5:00 Tomas Vanhala
  0 siblings, 0 replies; only message in thread
From: Tomas Vanhala @ 1997-12-18  5:00 UTC (permalink / 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 ?



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-12-18  5:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-12-18  5:00 X Keyboard extension on DU4.0 Tomas Vanhala

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