home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / linux / 17425 < prev    next >
Encoding:
Text File  |  1992-11-20  |  1.9 KB  |  48 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!destroyer!news.iastate.edu!mhbrekke
  3. From: mhbrekke@iastate.edu (Monty H. Brekke)
  4. Subject: Re: Error compiling XV
  5. Message-ID: <By23G9.BML@news.iastate.edu>
  6. Sender: news@news.iastate.edu (USENET News System)
  7. Organization: Iowa State University, Ames, IA
  8. References: <1992Nov20.085721.1271@rz.uni-karlsruhe.de>
  9. Date: Sat, 21 Nov 1992 07:57:44 GMT
  10. Lines: 36
  11.  
  12. In article <1992Nov20.085721.1271@rz.uni-karlsruhe.de> tex@ipf.bau-verm.uni-karlsruhe.de writes:
  13. >Hello,
  14. >
  15. >compiling (loading) XV gives the following error:
  16. >gcc -o xv xv.a libjpeg.a libtiff.a -lX11 -lm
  17. >xv.a(xvjpeg.o): Undefined symbol _setjmp referenced from text segment
  18. >xv.a(xvjpeg.o): Undefined symbol _setjmp referenced from text segment
  19. >make: *** [xv] Error 1
  20. >
  21. >Any ideas???
  22. >
  23. >Thanks Stefan
  24. >
  25. I had this same exact problem. The problem stems from the fact that
  26. setjmp is defined as a macro in the ANSI standard, and apparently
  27. whoever compiled the distribution didn't take this into account.
  28. After a couple hours of playing with the Linux header files in an
  29. effort to get hte beast to compile, I gave up and just downloaded
  30. the full source distribution (from export.lcs.mit.edu:/contrib).
  31. It compiled with only one change to the code. There is a README 
  32. file which came with the library you are trying to compile that 
  33. describes the change. It amounts to changing a #ifdef to a #ifndef.
  34.  
  35. One more thing-- You will need a fairly large system to compile
  36. this thing. I've got a 486 with 16MB, and the machine started 
  37. swapping with basically no other jobs running in the background.
  38. If anyone wants the true binary, I can compile it static and upload
  39. it, although it will probably be a very large binary. The shared
  40. version I've got is about 640K stripped.
  41.  
  42. Good luck compiling, and let me know if you have any problems.
  43.  
  44.  
  45.  
  46. -- 
  47. Internet : mhbrekke@iastate.edu
  48.