Xref: utzoo comp.sys.3b1:1272 comp.lang.perl:5196 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!convex!egsner!texrex!rmfowler From: rmfowler@texrex.uucp (Rex Fowler) Newsgroups: comp.sys.3b1,comp.lang.perl Subject: Re: Problems compiling perl4.003 on the UNIXPC/3B1 Keywords: unixpc perl 3b1 sys/file.h Message-ID: <1991May4.173641.20071@texrex.uucp> Date: 4 May 91 17:36:41 GMT References: <1991May3.183553.3605@cjsa.wa.com> Organization: texrex - Personal 3b1 System - Dallas, TX Lines: 46 In article <1991May3.183553.3605@cjsa.wa.com> jeff@cjsa.wa.com (Jeffery Small) writes: >When compiling perl4.003 on the 3B1 using the stock compiler (Version 3.51m), >I get the following messages for toke.o (and ttoke.o): > > "toke.c", line 2517: warning: illegal member use: f_up >. >. >. > "toke.c", line 2517: warning: illegal structure pointer combination, op = > >This turns out to be a problem with a pre-existing #define in >as follows: > I am using gcc and i did not include file.h, try fcntl.h instead. Configure script did it for me. The only things I've changed was putting optimize='-g" or optimize="" in cflags.SH for eval.c teval.c toke.c ttoke.c > >Although the program does compile, it is failing .... How did you get teval.c to compile? I've tried the stock compiler AND gcc with and without optimization, but it turns out that the assembly code just won't assemble with as. (branch offset to remote). I've even tried "as -n". I'm waiting on someone to tell me how to use the GNU assembler (gas) to see if that might make a difference. The comment in eval.c from patch1 makes me believe that Larry fixed this problem for *most* machines. > >Before I hack things up I wanted to see if there was a standard patch or >fix for this condition? Have others gotten perl to compile on this platform >without problems? Are you including sys/file.h in your config.sh? I wouldn't hack it up yet. If you don't have gcc, get it. It got me through the regular perl files fine, but now the tainted teval.c is stopping me. >Thanks for any help you may be able to offer. >-- >Jeff Small C. Jeffery Small & Associates (206) 232-3338 >uunet!nwnexus!cjsa!jeff 7000 E Mercer Way, Mercer Island, WA 98040 -- Rex Fowler UUCP: egsner!texrex!rmfowler