Article View: gnu.gcc.help
Article #52544gcc 2.2.2 produces errors on the sparc-sun-sunos4.1.1
From: Naoki Saito
Date: Wed, 01 Jul 1992 21:34
Date: Wed, 01 Jul 1992 21:34
22 lines
1500 bytes
1500 bytes
Hello, I could successfully build the gcc 2.2.2 on my sparcstation under sunos4.1.1. It worked correctly for the small program which includes math.h, but the program which includes some standard header files such as stdlib.h failed to be compiled. The error message I got is as follows: $ make gcc -g -O -c test.c In file included from includes.h:11, from test.c:13: /usr/include/stdlib.h:18: conflicting types for `abort' <built-in>:0: previous declaration of `abort' /usr/include/stdlib.h:26: conflicting types for `exit' <built-in>:0: previous declaration of `exit' *** Error code 1 make: Fatal error: Command failed for target `test.o' What's wrong here? I would appreciate your suggestions. Thanks in advance, --- Naoki Saito (saito@sdr.slb.com or saito@math.yale.edu) Schlumberger-Doll Research and Yale University
Technical Details
Message-ID:
<1992Jul1.213422.21700@slcs.slb.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!ut-emx!slcs.slb.com!tulip!saitoShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,9581837ed2e9598a,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-07-01 09:40:12 PST Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!ut-emx!slcs.slb.com!tulip!saito From: saito@sdr.slb.com (Naoki Saito) Newsgroups: gnu.gcc.help Subject: gcc 2.2.2 produces errors on the sparc-sun-sunos4.1.1 Keywords: gcc 2.2.2, sunos4.1.1 Message-ID: <1992Jul1.213422.21700@slcs.slb.com> Date: 1 Jul 92 21:34:22 GMT Sender: news@slcs.slb.com (News Administrator) Reply-To: saito@sdr.slb.com Organization: Schlumberger-Doll Research Lines: 22 Nntp-Posting-Host: tulip.sdr.slb.com