Article View: gnu.gcc.help
Article #42007Bind/link to _TranslateKey X
From: stanassc
Date: Sat, 27 Jan 1996 00:00
Date: Sat, 27 Jan 1996 00:00
24 lines
1193 bytes
1193 bytes
Re: X & gcc New to linux and am confused. I recompiled my personal XWindows library and linked them to my test program. (These routines were developed and run successfully under SCO X11R4. I run a single server Slackware Linux 1.2.13 gcc 2.7.0). When I run the test program I get to the XOpenDisplay subroutine.Using gdb, I find I am getting a "Segmentation Fault" in _TranslateKey. It appears then that the program hangs in this routine. It does not return an error, just stops. I have to kill the program at this point (Cntrl c). Can't it find/link/bind accurately to the shared libX11.so? How do I test, debug, cure, .... this? How do I check whether I have I linked the correct X11 lib to match the shared libX11.so, or does it matter? Where do I look to find the answer? Bob Stanfield stanassc@epix.net
Technical Details
Message-ID:
<4ebvms$anb@guava.epix.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,6dd8694a34800f99,start X-Google-Attributes: gid11318c,public From: stanassc@news.epix.net () Subject: Bind/link to _TranslateKey X Date: 1996/01/27 Message-ID: <4ebvms$anb@guava.epix.net> X-Deja-AN: 136675300 organization: epix.net newsgroups: gnu.gcc.help