Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!decwrl!stanford.edu!msi.umn.edu!cs.umn.edu!meuer From: meuer@cs.umn.edu (Mark V. Meuer) Newsgroups: comp.lang.perl Subject: Re: toke.c warnings on SGI Irix 3.3 Keywords: install toke compiler errors Message-ID: <1991Apr24.212941.9704@cs.umn.edu> Date: 24 Apr 91 21:29:41 GMT References: <1991Apr24.192700.5016@kodak.kodak.com> Distribution: na Organization: University of Minnesota, Minneapolis, CSci dept. Lines: 43 In <1991Apr24.192700.5016@kodak.kodak.com> lrul00@dixel.Kodak.COM (Richard C. Dempsey) writes: >I am installing perl 4.003 on a Silicon Graphics Personal Iris 4D/25 >running Irix v3.3. I get a bunch of warnings when compiling toke.c at >lines 2333, 2345, 2453, 2464, and 2517. In each case it says "illegal >member use: f_up" (or f_type). At lines 2333, 2345, 2453, and 2517, it >also says "illegal structure pointer combination". In addition, it >won't run t/TEST at all. Any ideas? I ran into some of the same problems. The problem with toke.c is caused by the fact that the file sys/file.h on the Iris defines f_next as a macro. Unfortunately f_next is used as a field name in one of the structures in toke.c. To fix it, find where sys/file.h is #included in toke.c and insert "#undef f_next" right after it. The other thing to watch out for is the value of vfork in the configuration file. The patched configuration script gives a warning about vfork. You MUST go with the recommended value (undefined). >Incidentally, I can compile eval.c and teval.c with "-O -Olimit 2900" >in 16 MB, but it takes 50-60 minutes each (gag). It uses 5:39 of CPU >in 40:00 elapsed. It sure would be nice if MIPS optimazation algorithm >could trade time for space a little more gracefully. You might also have to turn off optimization to get it to work. I had to for earlier versions of perl and never bothered to try turning it back on again. Good luck! :-) -mark >-- >Richard C. Dempsey, Computational Science Lab | dempsey@Kodak.COM >10th Floor, Bldg 83, RL | KODAKR(DEMPSEY) >Eastman Kodak Company | (716) 477-3457 >Rochester, NY 14650-2205 | -- Mark Meuer <>< | The Geometry Center | meuer@geom.umn.edu Observing the first baloon ascent in Paris, [Ben] Franklin heard a scoffer ask, "What good is it?" He spoke for a generation of scientists in his retort, "What good is a newly born infant?" -- John F. Kasson