Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!uunet!sparky!rick From: rick@sparky.IMD.Sterling.COM (Richard Ohnemus) Newsgroups: comp.lang.perl Subject: Re: Ultrix 4.2: CSV unknown size? Message-ID: <1991Jun14.131455.3882@sparky.IMD.Sterling.COM> Date: 14 Jun 91 13:14:55 GMT References: <1991Jun10.210321.3181@dartvax.dartmouth.edu> Organization: Sterling Software, IMD Lines: 35 In article <1991Jun10.210321.3181@dartvax.dartmouth.edu> pete@altair.dartmouth.edu (Peter Schmitt) writes: > >`sh cflags perly.o` perly.c > CCCMD = cc -c -DLANGUAGE_C -Olimit 2900 -O >ccom: Error: ./cmd.h, line 148: unknown size > CSV * volatile curcsv = ((CSV*)0); > ------------------------^ >ccom: Error: ./cmd.h, line 148: unknown size > CSV * volatile curcsv = ((CSV*)0); > ------------------------------------^ >ccom: Error: ./cmd.h, line 148: operands of = have incompatible types > CSV * volatile curcsv = ((CSV*)0); > ------------------------------------^ > >I see that CSV is defined in perl.h. Any help would be apprecaited. >Anyone get perl 4.010 to compile on 4.2? > >-pete The Ultrix 4.2 C compiler doesn't really understand volatile. (Or if it does, it doesn't in all cases.) This should work: 1. Change the value of d_volatile in config.sh to 'undef' 2. doSH 3. make depend 4. make -- I never receive credit for anything I write! (I'm an Ohnemus. 8-) Rick Ohnemus UUCP: uunet!sparky!rick Sterling Software IMD INTERNET: rick@sparky.IMD.Sterling.COM 1404 Ft. Crook Rd. South Phone: (402) 291-8300 Bellevue, NE. 68005-2969 FAX: (402) 291-4362