Path: utzoo!attcan!uunet!auspex!guy From: guy@auspex.UUCP (Guy Harris) Newsgroups: comp.windows.x Subject: Re: R3 on Sun-4/260 running SYS4-3.2 Message-ID: <440@auspex.UUCP> Date: 12 Nov 88 05:07:17 GMT References: <38@eplrx7.UUCP> Reply-To: guy@auspex.UUCP (Guy Harris) Distribution: comp Organization: Auspex Systems, Santa Clara Lines: 21 >This version of the SunOS seems to be missing the symbol "alloca". You got it. There is no library routine named "alloca" on SPARC machines. There are, however: 1) a library routine named __builtin_alloca 2) an include file named , that defines "alloca(x)" as "__builtin_alloca(x)" so that the compiler will be able to make "alloca(x)" work right. (The name change permits people to have routines named "alloca" in their code that does not behave like "__builtin_alloca"; the compiler special-cases calls to "__builtin_alloca", and leaves calls to "alloca" alone.) Any code compiled using the Sun compilers on a Sun-4 has to include to work correctly. Try #ifdef sparc #include #endif