Porting code gives "unknown size" C compiler error

David P. Lithgow dpl at unix.cis.pitt.edu
Tue Nov 20 09:04:48 AEST 1990


	To any who've ported C code from Ultrix/VAX to Ultrix/MIPS,
I'm getting a compiler error, and a friend of mine says that
it is a known error, but I can't find the soultion anywhere in the
Ultrix V3.0, V3.1C, V3.1D, or V4.0 documentation, or the
"Release Notes for RISC Processors".

	Here's the error:

# make prog
cc -O -c prog.c
ccom: Error: prog.c line 583: unknown size
	struct exec execb;
      -------------------^
...
...
... more errors due to above error
...
*** error code 1

Stop.
#
	This make works without problem under Vax/Ultrix V3.0, but
fails with the above error under MIPS/Ultrix V3.1D.

	I've rtfm-ed to no avail - can anyone help?  Is this a
known problem with a known workaround?

--
David P. Lithgow    Sr. Systems Analy./Pgmr. (unix,VMS), Univ. of Pittsburgh
Internet: dpl at vms.cis.pitt.edu, dpl at unix.cis.pitt.edu
USENET:  {allegra,bellcore,ihpn4!cadre,decvax!idis,psuvax1}!pitt!cisunx!dpl
CCnet(DECnet): CISVM{S123}::DPL       BITnet:  DPL at PITTVMS



More information about the Comp.unix.ultrix mailing list