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