12-07-2012
SUnWSPro compilers have options for portable and nonportable optimizations. Incompatability can also come from use of different library versions. What tells you it is incompatible?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How do you determine which version of the GNU gcc compiler is on your system? (1 Reply)
Discussion started by: Ben070371
1 Replies
2. Solaris
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... (0 Replies)
Discussion started by: hiker04
0 Replies
3. UNIX for Dummies Questions & Answers
Hi !
we have a intel fortran compiler on our computer. How do i find out what version it is ?
Thank you,
dsmv. (1 Reply)
Discussion started by: dsmv
1 Replies
4. AIX
Command to get the Compiler version(xlc/gcc) from the binary on AIX platform.
I m searching for the Command, to get the Compiler(xlc/gcc) used to build the binary on AIX.
I got two commands used on Linux Platform:
- readelf -a <lib> | grep comment
- hexdump -C -s 0x49e7b -n 1812 <lib>
... (1 Reply)
Discussion started by: Prajakta
1 Replies
5. AIX
Hi all.
I have a simple question.
There's a way to install under AIX system (5.3) two different compiler version, i.e. ibm xlf fortran 11 and 12?
Seems that smitty doesn't allows user to change the default installation path; it only allows you to save the replaced files of the superseded... (1 Reply)
Discussion started by: poldo000
1 Replies
6. Solaris
: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)
Discussion started by: frintocf
3 Replies
7. Programming
Hi,
I'm new, here, and I'm searching for a simple solution for a simple problem.
I'm working on RedHat 4.4.6-4 through a CentOS Virtual Machine and due to some reasons I must compile my C++ codes with these two different g++ versions: 4.4.6 and 4.2.2.
The fact is that I should be able to... (4 Replies)
Discussion started by: Marcuss
4 Replies
8. AIX
Hi,
Below is output of lslpp command.
bash-3.00# lslpp -L | grep xlC
xlC.aix50.rte 11.1.0.1 C F XL C/C++ Runtime for AIX 5.3
xlC.cpp 9.0.0.0 C F C for AIX Preprocessor
xlC.msg.en_US.cpp 9.0.0.0 C F C for AIX... (2 Replies)
Discussion started by: manoj.solaris
2 Replies
9. Linux
Hi all,
currently I'm facing a issue in linking a .so file.
In my build machine, I've libcrypto.so.6 and there is a softlink as libcrypto.so.
In my make file I'm trying to link to the lib using -L -lcrypto and it is success and created my test.exe.
When I copy this test.exe to other... (4 Replies)
Discussion started by: vijkrr
4 Replies
10. Shell Programming and Scripting
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)
Discussion started by: mohtashims
1 Replies
LEARN ABOUT DEBIAN
xkbopendisplay
XkbOpenDisplay(3) XKB FUNCTIONS XkbOpenDisplay(3)
NAME
XkbOpenDisplay - Checks for a compatible version of the Xkb extension in both the library and the server, and initializes the extension
for use.
SYNOPSIS
Display XkbOpenDisplay (char *display_name, int *event_rtrn, int *error_rtrn, int *major_in_out, int *minor_in_out, int *reason_rtrn);
ARGUMENTS
display_name
hardware display name, which determines the display and communications domain to be used
event_rtrn
backfilled with the extension base event code
error_rtrn
backfilled with the extension base error code
major_in_out
compile time lib major version in, server major version out
minor_in_out
compile time lib min version in, server minor version out
reason_rtrn
backfilled with a status code
DESCRIPTION
As a convenience, you can use the function XkbOpenDisplay to perform these three tasks at once: open a connection to an X server, check for
a compatible version of the Xkb extension in both the library and the server, and initialize the extension for use.
XkbOpenDisplay is a convenience function that opens an X display connection and initializes the X keyboard extension. In all cases, upon
return reason_rtrn contains a status value indicating success or the type of failure. If major_in_out and minor_in_out are not NULL,
XkbOpenDisplay first calls XkbLibraryVersion to determine whether the client library is compatible, passing it the values pointed to by
major_in_out and minor_in_out. If the library is incompatible, XkbOpenDisplay backfills major_in_out and minor_in_out with the major and
minor extension versions of the library being used and returns NULL. If the library is compatible, XkbOpenDisplay next calls XOpenDisplay
with the display_name. If this fails, the function returns NULL. If successful, XkbOpenDisplay calls XkbQueryExtension and backfills the
major and minor Xkb server extension version numbers in major_in_out and minor_in_out. If the server extension version is not compatible
with the library extension version or if the server extension is not present, XkbOpenDisplay closes the display and returns NULL. When suc-
cessful, the function returns the display connection.
The possible values for reason_rtrn are:
o XkbOD_BadLibraryVersion indicates XkbLibraryVersion returned False.
o XkbOD_ConnectionRefused indicates the display could not be opened.
o XkbOD_BadServerVersion indicates the library and the server have incompatible extension versions.
o XkbOD_NonXkbServer indicates the extension is not present in the X server.
o XkbOD_Success indicates that the function succeeded.
RETURN VALUES
NULL The XkbOpenDisplay function returns NULL if the library is incompatible.
The XkbOpenDisplay function returns NULL if the call to XOpenDisplay with the display_name fails.
The XkbOpenDisplay function returns NULL and closes the display if the server extension version is not compatible with the
library extension version or if the server extension is not present.
DIAGNOSTICS
BadAccess The Xkb extension has not been properly initialized
SEE ALSO
XkbLibraryVersion(3), XkbQueryExtension(3), XOpenDisplay(3)
X Version 11 libX11 1.5.0 XkbOpenDisplay(3)