[net.sources.bugs] 68k disassembler cc errors

jdg@husky.uucp (Jeff Gortatowsky) (11/04/85)

-=-=-=-=-=-=-=-Replace this line with your line eater line =-=-=-=-=-=-=-=

Quite some time back a 68000 disassembler was posted to net.sources.
I nabbed it then, but just got around to compiling it. Here's the
error output from the make:


cc -v -OB -c alloc.c
"alloc.c", line 162: TEXT undefined
"alloc.c", line 162: RTEXT undefined
"alloc.c", line 192: DATA undefined
"alloc.c", line 192: BSS undefined
"alloc.c", line 217: TEXT undefined
"alloc.c", line 274: BSS undefined
"alloc.c", line 278: DATA undefined
 cpp alloc.c /tmp/ctm102394
 ccom /tmp/ctm102394 /tmp/ctm102395
*** Error code 1

Stop.

I've search the files and can't find any #define's for these.
If you know what the problem is (re: which file am I missing)
please send me a note (with the file I'm missing, if that's
it). Thanks for the help.


Jeff Gortatowsky       {allerga,seismo}!rochester!ritcv!husky!jdg
Eastman Kodak Company  
 
Insert a legal disclaimer here.........->
-- 
(_O_)

Jeff Gortatowsky       {allerga,seismo}!rochester!ritcv!husky!jdg
Eastman Kodak Company  {eagle,astrovax,netword!}sun!sunrise!husky!jdg
 
These comments are mine alone and do not reflect light very well, therefore
have poor photographic properties and (sh/c)ould not be associated at all
with Eastman Kodak or anyone else at/in this relative space and time.

gnu@l5.uucp (John Gilmore) (11/07/85)

The disassembler, a noble effort, was written for some Unisoft Unix (I
think).  It took a few days to port it to Sun Unix 2.0 and get it
working on a small program (one of its own modules).  It's certainly
not bug-free or even well-tested on the Sun, but if you want a copy I
will send it, or send diffs from the posted version.

It's of course not guaranteed to work on YOUR machine, even if it runs
4.2 on a 68k.  I don't believe how many differences there are in object
file formats among systems with similar ancestries.  It would be nice to
define a set of object-file access routines or #define's that would allow
the same program to be ported by only changing one file.  Any takers?