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