home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / windows / x / 15407 < prev    next >
Encoding:
Text File  |  1992-08-19  |  1.1 KB  |  35 lines

  1. Path: sparky!uunet!kithrup!stanford.edu!agate!ames!sun-barr!cs.utexas.edu!wupost!gumby!destroyer!ubc-cs!utcsri!torn!csd.unb.ca!morgan.ucs.mun.ca!nstn.ns.ca!bonnie.concordia.ca!cidsv01.cid.aes.doe.CA!afshwrh
  2. From: afshwrh@cid.aes.doe.CA (Wayne Hodgins)
  3. Newsgroups: comp.windows.x
  4. Subject: jump relocation out-of-range
  5. Message-ID: <1992Aug19.125703.7774@cid.aes.doe.CA>
  6. Date: 19 Aug 92 12:57:03 GMT
  7. Distribution: na
  8. Organization: Environment Canada (CMC), Dorval, QC
  9. Lines: 24
  10.  
  11. Hi
  12.  
  13. When I attempt to compile & load the following code...
  14.  
  15. #include <Xm/Xm.h>
  16. #include <X11/Intrinsic.h>
  17. #include <X11/StringDefs.h>
  18. #include <X11/Shell.h>
  19. .....
  20.     Widget toplevel;
  21.     XtAppContext app_context;
  22. .....
  23.         toplevel = XtAppInitialize(&app_context,"XText",NULL,
  24.                    0, &argc, argv, NULL, NULL, 0);
  25. .....
  26.  
  27. I get this message from ld...
  28.  
  29. /usr/lib/libX11.a(XlibInt.o): jump relocation out-of-range, bad object file prod
  30. uced, can't jump from 0x4d51e8 to 0x10048428 (syscall)
  31.  
  32. The code loads fine as a standalone test program; the message occurs when
  33. I try to incorporate it into an existing larger program.
  34. Any ideas on what the problem may be?
  35.