home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / sgi / 18445 < prev    next >
Encoding:
Text File  |  1993-01-04  |  1.3 KB  |  42 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!mcsun!hp4at.eunet.co.at!news.univie.ac.at!iiasa.ac.at!patel
  3. From: patel@iiasa.ac.at (Deepan PATEL)
  4. Subject: Help needed: Xlib-based application
  5. Message-ID: <1993Jan4.162925.4330@iiasa.ac.at>
  6. Organization: IIASA, Laxenburg, Austria
  7. X-Newsreader: TIN [version 1.1 PL6]
  8. Date: Mon, 4 Jan 1993 16:29:25 GMT
  9. Lines: 31
  10.  
  11.  
  12. I am working on a system "IRIX Release 4.0.5F System V"
  13. and am trying to port my application(s) to a SG Indigo workstation.
  14. The application(s) is completely based on Xlib (-lX11).
  15.  
  16. Problem:
  17. It compiles but does not run. Specifically, it fails in
  18. XQueryFont() with a BUS error. I have the same application
  19. running on sun4, RS/6000, Ultrix, ... I cannot make these
  20. run on the SG display and crash at the same XQueryFont() with a
  21. BadAlloc error.
  22.  
  23.  
  24. The application is refused a XOpenDisplay() when I try to run the
  25. SG compiled version on another remote display. However I can run
  26. other SG X-based applications (like xclock) on the remote display
  27. without problem. I tried these with different Xlib-based applications, 
  28. and they crash at the same point.
  29.  
  30.  
  31. What I suspect is that the Xsgi needs to be started in a different
  32. way, and/or there is a *special* version of Xlib (libX11.a) somewhere
  33. which I must use. 
  34.  
  35. Any pointers are appreciated.
  36.  
  37.  
  38. --
  39. Deepan Patel
  40. (patel@iiasa.ac.at)
  41.  
  42.