[comp.sys.sun] /usr/include/a.out.h on SPARCs

tperala@ub.d.umn.edu (Tim Perala) (02/02/90)

I am having some difficulty building the "S" statistics package on a
SPARCstation running 4.0.3.

The current roadblock (an earlier roadblock related to using an S-supplied
m4 preprocessor was overcome by compiling it without the -O option to cc)
is related to the BSD relocation_info struct that is normally defined in
/usr/include/a.out.h.

Such a structure is not defined in the SPARC's a.out.h, although one that
looks very similar named "reloc_info_sparc" does appear (in an included
include file).  Unfortunately, the reloc_info_sparc struct is missing some
of the fields normally found in the relocation_info struct.

The missing fields, which are referenced in the code I am playing with,
are r_pcrel, r_symbolnum and r_length.

How do you obtain the information normally accessbile through the missing
fields?

I would appreciate hearing from anyone who has tread these waters before
me.  If you got the new verison of S running on your SPARCstation I would
REALLY like to hear from you.

Please respond via email, as I don't read sun-spots regularly.

Thanks!

Tim Perala (tperala@ub.d.umn.edu)
Systems Programmer
Information Services
University of Minnesota, Duluth
(218) 726-6122