Article View: gnu.gcc.help
Article #50031problems with gcc 2.5.3 and libc.h under NeXTStep 3.1
From: Arun Chandra
Date: Wed, 17 Nov 1993 14:06
Date: Wed, 17 Nov 1993 14:06
25 lines
1478 bytes
1478 bytes
i've successfully compiled gcc 2.5.3 under both NeXTStep 3.0 and 3.1. However, there is a problem with libc.h under 3.1 but not under 3.0. when I compile a program that uses libc.h under 3.1, I get the following error message: gcc -g -Wall -finline-functions -o call call.c In file included from call.c:6: /usr/local/lib/gcc-lib/m68k-next-bsd/2.5.3/include/libc.h:71: confictilng types for `wait' /usr/local/lib/gcc-lib/m68k-next-bsd/2.5.3/include/sys/wait.h:190: previous declaration of `wait' *** Exit 1 Stop. The same source code compiles without any errors under NextStep 3.0. Are there any intelligent ways to solve this problem? (I know a few unintelligent ones ...) Thanks very much, Arun Chandra arunc@cc.nctu.edu.tw
Technical Details
Message-ID:
<1993Nov17.140618.15659@debbie.cc.nctu.edu.tw>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!paladin.american.edu!europa.eng.gtefsd.com!uunet!nctuccca.edu.tw!news!debbie!cc.nctu.edu.tw!aruncShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,f4bd1ae83c847e1a,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-11-17 10:50:00 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!paladin.american.edu!europa.eng.gtefsd.com!uunet!nctuccca.edu.tw!news!debbie!cc.nctu.edu.tw!arunc From: arunc@cc.nctu.edu.tw (Arun Chandra) Subject: problems with gcc 2.5.3 and libc.h under NeXTStep 3.1 Message-ID: <1993Nov17.140618.15659@debbie.cc.nctu.edu.tw> Sender: usenet@debbie.cc.nctu.edu.tw Nntp-Posting-Host: ccsun19 Organization: National Chiao Tung University X-Newsreader: TIN [version 1.2 PL1] Date: Wed, 17 Nov 1993 14:06:18 GMT Lines: 27