[comp.lang.perl] Compile errors for perl under SunOS 4.1

indra@bach.amd.com (Indra Singhal) (06/15/90)

The same source tree compiles fine under SunOS 4.0.3 but under 4.1
I get:

gcc -traditional -c -I/usr/include/sun -O -DDEBUGGING  doio.c
doio.c: In function do_gpwent:
doio.c:1754: structure has no member named `pw_quota'
*** Error code 1
make: Fatal error: Command failed for target `doio.o'

And even with regular cc:
 
cc -c -I/usr/include/sun -O -DDEBUGGING  doio.c
"doio.c", line 1754: pw_quota undefined
*** Error code 1
make: Fatal error: Command failed for target `doio.o'

What Gives? Did Sun Goof?

Patches?

--
iNDRA | indra@amdcad.AMD.COM (Indra Singhal) (408) 749-5445
      | {ames decwrl apple pyramid sun uunet}!amdcad!indra
      | MS 167; Box 3453; 901, Thompson Pl., Sunnyvale, CA 94088

lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) (06/15/90)

In article <1990Jun15.003350.13886@bach.amd.com> indra@bach.amd.com (Indra Singhal) writes:
: gcc -traditional -c -I/usr/include/sun -O -DDEBUGGING  doio.c
: doio.c: In function do_gpwent:
: doio.c:1754: structure has no member named `pw_quota'
: *** Error code 1
: make: Fatal error: Command failed for target `doio.o'
: 
: Patches?

Yeah, we're up to patchlevel 18.  I think that was fixed in patch 2 or so.
You can ftp them from jpl-devvax.jpl.nasa.gov (128.149.1.143).

Larry