Article View: comp.windows.x
Article #23808SUMMARY : Re: alloca error building X11R4 on a Sparc 2
From: Forrest Palmer
Date: Mon, 17 Jun 1991 20:46
Date: Mon, 17 Jun 1991 20:46
34 lines
1530 bytes
1530 bytes
Thanks to everyone who responded. As many people indicated I needed the C preprocessor flag "-DINCLUDE_ALLOCA_H" in the compilation statements of the libraries and the programs. The sun.cf file contains : /* define this as you like for server compilation */ #if OSMajorVersion >= 4 || defined(SparcArchitecture) #define HWOSDefines -DINCLUDE_ALLOCA_H #else #define HWOSDefines /* as nothing */ #endif Unfortunately, this will only apply to the _server_. So I just added : #ifdef SparcArchitecture #define DefaultCCOptions -pipe -DINCLUDE_ALLOCA_H /* remove in R4 */ #else #define DefaultCCOptions -f68881 /* -pipe*/ /* remove in R4 */ #endif to make everything compile with this flag. So far so good. Thanks again. ------------------------------------------------------ Forrest Palmer (703) 883-5668 Internet Engineering Testbed Administrator The MITRE Corp. - Washington Center MS W425, McLean, VA 22102 palmer@mitre.org ------------------------------------------------------
Technical Details
Message-ID:
<9106172046.AA10796@gateway.mitre.org>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!think.com!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-linesShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!think.com!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines From: palmer@gateway.mitre.ORG (Forrest Palmer) Newsgroups: comp.windows.x Subject: SUMMARY : Re: alloca error building X11R4 on a Sparc 2 Message-ID: <9106172046.AA10796@gateway.mitre.org> Date: 17 Jun 91 20:46:10 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 34