home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / linux / 9649 < prev    next >
Encoding:
Text File  |  1992-09-01  |  2.6 KB  |  70 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!cs.utexas.edu!torn!utgpu!utstat!rafal
  3. From: rafal@utstat.uucp (Rafal Kustra (summer student))
  4. Subject: Re: Can't compile xv-2.21, help!
  5. Message-ID: <1992Sep2.054902.23437@utstat.uucp>
  6. Organization: University of Toronto, Dept. of Statistics
  7. References: <C-AMB.92Sep1101334@solitude.math.utah.edu>
  8. Distribution: comp
  9. Date: Wed, 2 Sep 1992 05:49:02 GMT
  10. Lines: 58
  11.  
  12. In article <C-AMB.92Sep1101334@solitude.math.utah.edu> c-amb@math.utah.edu (Mark B. Alston) writes:
  13. >    I am having one hell of a time compiling programs for X.  I
  14. >have installed the xprog file and followed all instructions for
  15. >placement of the libs.  However, when trying to compile xv I recieve
  16. >the following errors.
  17. >
  18. ># make
  19. >gcc -s -o xv xv.a libjpeg.a libtiff.a -lX11 -lm
  20. >xv.a(xvjpeg.o): Undefined symbol _setjmp referenced from text segment
  21. >xv.a(xvjpeg.o): Undefined symbol _setjmp referenced from text segment
  22. >make: *** [xv] Error 1
  23. >#
  24. >
  25. >Does xv need some other libs?
  26. >
  27. >I am running:      linux 0.97pl2
  28. >        x11v1.1 with 8514/a patches
  29. >        gcc 2.2.2d
  30. >
  31. >    I am also having problems with any X11 program I compile with
  32. >shared libs core dumping all over the place.  This seems to suggest
  33. >that something is wrong with my libs, but what?
  34. >--
  35. >--------------------------------------------------------
  36. >  Mark Alston        
  37. >  c-amb@math.utah.edu
  38. >       
  39. >       It is not just a riot of blots and blurs and 
  40. >      disjointed jottings linked by spurts of speed...
  41. >      it only looks as like it as damn it.
  42. >       
  43. >                          James Joyce, Finnegans Wake
  44. >---------------------------------------------------------
  45. >
  46.  
  47. Oh boy. First there is README and FAQ for GCC 2.2.2d (or
  48. release note) YOU REALLY SHOULD READ IT!
  49. It says that you can use old GCC (2.2.2) EXCEPT for one
  50. thing: setjmp.
  51. That has changed and if you look in the header you will
  52. see that setjmp is now a macro. So you should compile
  53. your program with -V 2.2.2 option, but make sure you
  54. read FAQ on how to install 2.2.2d with 2.2.2 left.
  55. Also, most X applications will only work when compiled
  56. with -V 2.2.2 option - don't know why (FAQ? ;) but that's
  57. life.
  58. On the other hand I (with all my wisdom ;) ;) can't get
  59. xv to work too! It hangs my server. I will try again
  60. today with static library - heard it helps.
  61. And hope it helps you . Good luck ...  .
  62.  
  63.                 Rafal
  64.  
  65. -- 
  66. /|| Numbers exist only in our minds. There is no physical entity that
  67.  ||_is_ number 1. If there were, 1 would be in a place of honor in 
  68.  || some great museum of science, and past it would file a steady
  69. ==== stream of mathematicians gazing at 1 in wonder and awe.
  70.