Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dpl From: dpl@unix.cis.pitt.edu (David P. Lithgow) Newsgroups: comp.unix.ultrix Subject: Porting code gives "unknown size" C compiler error Keywords: MIPS Ultrix V3.1D C pcc cc VAX VAX/Ultrix Message-ID: <62195@unix.cis.pitt.edu> Date: 19 Nov 90 22:04:48 GMT Reply-To: dpl@unix.cis.pitt.edu (David P. Lithgow) Organization: Univ. of Pittsburgh, Comp & Info Sys Lines: 33 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@vms.cis.pitt.edu, dpl@unix.cis.pitt.edu USENET: {allegra,bellcore,ihpn4!cadre,decvax!idis,psuvax1}!pitt!cisunx!dpl CCnet(DECnet): CISVM{S123}::DPL BITnet: DPL@PITTVMS