home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!mips!sdd.hp.com!usc!elroy.jpl.nasa.gov!ames!sgi!quasar.wpd.sgi.com!davea
- From: davea@quasar.wpd.sgi.com (David B.Anderson)
- Subject: Re: C++ compiler message
- Message-ID: <nr1565c@sgi.sgi.com>
- Summary: short object file
- Sender: davea@quasar.wpd.sgi.com
- Organization: Silicon Graphics, Inc. Mountain View, CA
- References: <1992Jul25.000853.18857@CSD-NewsHost.Stanford.EDU>
- Date: Mon, 27 Jul 1992 18:39:07 GMT
- Lines: 21
-
- In article <1992Jul25.000853.18857@CSD-NewsHost.Stanford.EDU>, philip@ziggy.stanford.edu (Philip Machanick) writes:
- > On a C++ compile I had the following message:
- >
- > markc++ read only 0 bytes on
- > /u2/people/philip/progs/space.objs/MP3D.objs/MP3D.o at file location 1
- > cannot read symbol table header for
- > /u2/people/philip/progs/space.objs/MP3D.objs/MP3D.o
- [ ]
- > I recompiled and the message went away.
-
- The object file MP3D.o was truncated somehow: the file header
- pointed the symbol table header reader to byte 1!
-
- markc++ was doing a read(2) and could only read 0 bytes there.
- Note that if there were a read error, the message would have been
- different (would have said something about the errno).
-
- The object file fileheader was clearly corrupted. I don't know why....
-
- [ David B. Anderson (415)390-1548 davea@sgi.com ]
-
-