I want to use calls from the X Keyboard Extension, but get "library version mismatch" error.
First one is XkbLibraryVersion(..). This one already returns false.
Then I call XkbOpenDisplay(...) which does not return a valid display; return value is XkbOD_NonXkbServer. If I open the display with XOpenDisplay and then call XkbQueryExtension(...) the return value is false and the major and minor are 0. The error code then is XkbOD_BadLibraryVersion.
Who can help???
How can I specify the version of the installed X keyboard extension? Where do I get a correct version to use? I can use the code on Linux (FC3) but not on HP-UX, Solaris or AIX!!
rsync --delay-updates -F --compress --archive --rsh='/usr/bin/ssh -t -a -x' /web/admin/Transfer/data/ user1@destserver1:/tmp/testf
rsync version on sender server is:3.0.9
rsync version on sender server is:3.0.6
Linux sourceserver1 3.10.0-693.17.1.el7.x86_64 #1 SMP Sun Jan 14 10:36:03 EST... (1 Reply)
Hi All,
I want to fetch the files based on .done file and display the .csv files and Wil take .csv files for processing.
1.I need to display the .done files from the directory.
2.next i need to search for the .Csv files based on .done file.then move .csv files for the one directory
... (2 Replies)
Hi, I've got a bit of a ridiculous problem and wasn't sure where to post it.
I need to use the vertical bar for piping in Bash but, as per the title, am using a UK layout on a US (physical) keyboard which doesn't have a key for it in the place I'd expect. I've tried using xbindkeys and Unicode... (7 Replies)
Incompatiblity of the code due to CC compiler version mismatch.
I have a machine with
Machine A-- Operating System:SunOs 5.8 Generic_117350-45 sun4u sparc SUNW,Ultra-80(solaris 5.8)
CC Compiler:CC: WorkShop Compilers 4.2 16 Jun 1998 C++ 4.2 patch 104631-07
we have compiled C++... (36 Replies)
:confused: I installed latest version of java ( jre 1.6) on Solaris Machine ......when I run java -version as root, shows the latest version but when I run java -version as normal user, shows the old / previous version
What should I do to fix this ...should show the latest version... (3 Replies)
Hello all -
I am to this forum and fairly new in learning unix and finding some difficulty in preparing a small shell script. I am trying to make script to sort all the files given by user as input (either the exact full name of the file or say the files matching the criteria like all files... (3 Replies)
A Solaris AXI 440 machine with Solaris 8 version.
I have PC users who use an emulation to login to the Solaris
server.
How can I change the keyboard mapping of the Sun keyboard
to fit to the PC keyboard ?
Any comment will be appreciated.
Thanks (1 Reply)
XkbLibraryVersion(3) XKB FUNCTIONS XkbLibraryVersion(3)NAME
XkbLibraryVersion - Determines the compatibility of a library at runtime.
SYNOPSIS
Bool XkbLibraryVersion (int *lib_major_in_out, int *lib_minor_in_out);
ARGUMENTS
lib_major_in_out
Specifies and returns the major Xkb library version.
lib_minor_in_out
Specifies and returns the minor Xkb library version.
DESCRIPTION
If an application is dynamically linked, both the X server and the client-side X library must contain the Xkb extension in order for the
client to use the Xkb extension capabilities. Therefore a dynamically linked application must check both the library and the server for
compatibility before using Xkb function calls. A properly written program must check for compatibility between the version of the Xkb
library that is dynamically loaded and the one used when the application was built. It must then check the server version for compatibility
with the version of Xkb in the library.
If your application is statically linked, you must still check for server compatibility and may check library compatibility. (It is possi-
ble to compile against one set of header files and link against a different, incompatible, version of the library, although this should not
normally occur.)
Pass the symbolic value XkbMajorVersion in lib_major_in_out and XkbMinorVersion in lib_minor_in_out. These arguments represent the version
of the library used at compile time. The XkbLibraryVersion function backfills the major and minor version numbers of the library used at
run time in lib_major_in_out and lib_minor_in_out. If the versions of the compile time and run time libraries are compatible, XkbLi-
braryVersion returns True, otherwise, it returns False.
In addition, in order to use the Xkb extension, you must ensure that the extension is present in the server and that the server supports
the version of the extension expected by the client. Use XkbQueryExtension to do this, as described in the next section.
RETURN VALUES
True The XkbLibraryVersion returns True if the versions of the compile time and run time libraries are compatible.
False The XkbLibraryVersion returns False if the versions of the compile time and run time libraries are not compatible.
SEE ALSO XkbMajorVersion(3), XkbMinorVersion(3), XkbQueryExtension(3)X Version 11 libX11 1.6.0 XkbLibraryVersion(3)