Xref: utzoo comp.unix.aux:3823 comp.lang.perl:3833 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!lavaca.uh.edu!menudo.uh.edu!nuchat!kevin From: kevin@nuchat.sccsi.com (Kevin Brown) Newsgroups: comp.unix.aux,comp.lang.perl Subject: Re: Perl won't compile on AUX Message-ID: <1991Feb4.095938.12722@nuchat.sccsi.com> Date: 4 Feb 91 09:59:38 GMT References: <2375@taurus.BITNET> Organization: Teenage Mutant Ninja NiceGuys(tm) Lines: 43 In article <2375@taurus.BITNET> writes: >Has anyone tried to compile perl on AUX yet? I get the following error: > >"eval.c", line 2374: compiler error: switch table overflow > >Help ?!?! I ran into exactly the same problem. The people who ported the C compiler forgot to implement dynamic allocation of the switch table. Methinks they were concentrating too hard on the "important" part of the OS: the MacUserInterface...:-( On the A/UX that I'm working under, there are two versions of the compiler (small and large :-). The default is the "small" one, i.e., the one with the tiny switch symbol table. To access the other one, I believe your command line should read: cc -B /usr/lib/big/ ... So add the -B spec above to the CFLAGS variable in your Makefile and you'll be okay (no need to go through the entire Configure process, since it will cause everything to be rebuilt when all you want is the stuff that hasn't been built yet. It takes a LOOONG time to rebuild, unless you're running on one of the new (fast) Macs, in which case I'm jealous :-). I *think* /usr/lib/big/ is the right argument to -B, but I'm not absolutely sure. Check the "cc" man page to be sure (and check to make sure the directory they specify actually exists :-). Notice the trailing '/', too. That's NECESSARY. To my knowledge, we're running A/UX version 2.0. Beats me if the above works on pre-2.0 systems... >O.S. -- Kevin Brown Addresses in preferred order: csci31f7@cl.uh.edu nuchat!kevin@uunet.uu.net