home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / linux / 9834 < prev    next >
Encoding:
Internet Message Format  |  1992-09-04  |  1.6 KB

  1. Path: sparky!uunet!gatech!prism!combee
  2. From: combee@prism.gatech.EDU (Ben Combee)
  3. Newsgroups: comp.os.linux
  4. Subject: SEGV error compiling Rogue source off TSX-11
  5. Keywords: linux, GCC, Rogue, compiler, SEGV, signal
  6. Message-ID: <67638@hydra.gatech.EDU>
  7. Date: 4 Sep 92 13:13:14 GMT
  8. Organization: Satellite of Love, Gizmonic Institute
  9. Lines: 26
  10.  
  11. Situation: I just installed MCC 0.97pl2 (very nice job, Owen) including
  12. GCC 2.2.2d, G++, gdb, and all the utils and misc disks.  Extracted the
  13. file from tsx-11's source/usr.games Rogue clone to a directory and applied
  14. the two patch files to it included in the tar archive.
  15.  
  16. First, I just ran make on it.  It died while compiling curses.c with
  17. signal 11 which according to /usr/include/sys/linux/signals.h (or very
  18. similar) is the segmentation violation error.
  19.  
  20. OK... checked makefile and changed it to use -lcurses and -ltermcap instead
  21. of its internal curses type system.  I did a fresh make, it compiled
  22. curses.c fine, but stopped with another signal 11 on the next file, hit.c
  23. I think.
  24.  
  25. Any ideas why GCC would be choking on this?  I was able to compile several
  26. other packages including life and Tetris for Terminals correctly with no
  27. problems.  My system is a 33 mHz AMD-386 based clone with 4MB and a 3.5MB
  28. swap partition.
  29.  
  30. ObPraise: Thanks to H.J. for the compiler port and Linux for the kernel and
  31.       countless others for a great system.
  32. -- 
  33. Benjamin L. Combee                 |  -===-
  34. Internet: combee@prism.gatech.edu  | =   ___  "Home of the Big G Burger" 
  35. 1991-1992 joint enrollee           | -     =    -- MST3K, Comedy Central
  36. C, Modula-2, C++ resource          |  -===-
  37.