Article View: gnu.gcc.help
Article #51582Problem installing gcc!
From: 88766994
Date: Thu, 06 May 1993 05:42
Date: Thu, 06 May 1993 05:42
71 lines
3410 bytes
3410 bytes
Hello,
I'm trying to install gcc version 2.3.3 on a Gateway2000 with a 486
processor, running SCO UNIX system V/386 ver 3.2
I configure with --target=i386-sco
When I run the `make LANGUAGES=c` it gives me the following:
rcc -Dunix -Di386 -DM_UNIX -DM_I386 -DNULL=0 -DIN_GCC -g -I. -I.
-I./config \
-DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/i386-sco/`sed -e 's/.*\"\([
^ \"]*\)[ \"].*/\1/' < ./version.c`/include\" \
-DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/g++-include\" \
-DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
-DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/i386-sco/`sed -e 's/.*\"\
([^ \"]*\)[ \"].*/\1/' < ./version.c`/sys-include\" \
-DTOOLDIR=\"/usr/local/i386-sco/\" \
-c `echo ./cccp.c | sed 's,^\./,,'`
"/usr/include/sys/stat.h",line 144: syntax error
"/usr/include/sys/stat.h",line 144: incomplere or misplaced function definition
"/usr/include/sys/stat.h",line 144: redeclaration of formal parameter, const
"/usr/include/sys/stat.h",line 144: syntax error
"/usr/include/sys/stat.h",line 144: incomplere or misplaced function definition
"/usr/include/sys/stat.h",line 144: syntax error
"/usr/include/sys/stat.h",line 144: redeclaration of formal parameter, const
"/usr/include/sys/stat.h",line 144: syntax error
"/usr/include/sys/stat.h",line 144: incomplere or misplaced function definition
"/usr/include/sys/stat.h",line 144: syntax error
"/usr/include/sys/stat.h",line 144: incomplere or misplaced function definition
Now, the code these error are refering to are in the following block out of
stat.h ( I've include all the surrounding text that could affect the lines and
marked the exact lines with "->")
#ifndef _INKERNEL
#ifdef _NO_PROTOTYPE
extern int chmode();
extern int fstat();
extern int mkdir();
extern int mkfifo();
extern int stat();
extern mode_t umask();
#else
#ifdef __cplusplus
extern "C" {
#ifdef _COMPAT322
extern int statfs(const char *, struct statfs *, int, int);
extern int fstatfs(int, struct statfs *, int, int);
extern int ustat(dev_t, struct ustat *);
#endif /* _COMPAT322 */
#endif /* __cplusplus */
->extern int chmode(const char *, mode_t);
->extern int stat(const char *, struct stat *);
->extern int fstat(int, struct stat *);
->extern int mkdir(const char *, mode_t);
->extern int mkfifo(char *, mode_t);
->extern mode_t umask();
#ifdef __cplusplus
};
#endif /* __cplusplus */
#endif /* _NO_PROTOTYPE */
#endif /* !_INKERNEL */
I've tryed to find the offending code but I just don't know which definition,
or even why I get the error.
I am a not a System Admin. and I have limited experience with UNIX so if I
have left out something vital or the answer is simple .... that is why.
any help would be appreciated!
Paul Burke <88766993@ucs.uwplatt.edu>
Technical Details
Message-ID:
<3EFED9B6285FA000A7@ucs.uwplatt.edu>Path:
arc1-ca.pugleaf.net!gmd.de!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucs.uwplatt.EDU!88766994Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,38524ee6d863d0e5,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-05-05 22:48:40 PST Path: arc1-ca.pugleaf.net!gmd.de!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucs.uwplatt.EDU!88766994 From: 88766994@ucs.uwplatt.EDU Newsgroups: gnu.gcc.help Subject: Problem installing gcc! Date: 6 May 1993 01:42:34 -0400 Organization: GNUs Not Usenet Lines: 71 Sender: daemon@cis.ohio-state.edu Distribution: gnu Message-ID: <3EFED9B6285FA000A7@ucs.uwplatt.edu>