home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.univie.ac.at!alijku05!alijku11!blekul11!frmop11!trearn!trmetu!e59387
- Organization: Middle East Technical University - Computer Center
- Date: Saturday, 5 Sep 1992 20:59:53 TUR
- From: <E59387@TRMETU.BITNET>
- Message-ID: <92249.205953E59387@TRMETU.BITNET>
- Newsgroups: comp.os.linux
- Subject: compiling error
- Lines: 23
-
-
- HI,
- Im trying to compile 0.97 version of linux over 0.96c (SLS distribution)
- Everything goes well until compiling build.c,then it gives me errors below.
- Im using gcc-2.2.2d and my linux sources on the directory /linux.
- Can you help me? Thanks.
-
-
- In file included from tools/build.c:25:
- /usr/include/stdlib.h:55: conflicting types for `div_t'
- /linux/include/sys/types.h:70: previous declaration of `div_t'
- /usr/include/stdlib.h:62: conflicting types for `ldiv_t'
- /linux/include/sys/types.h:71: previous declaration of `ldiv_t'
- In file included from tools/build.c:25:
- /usr/include/stdlib.h:292: parse error before `*'
- /usr/include/stdlib.h:295: parse error before `wchar_t'
- /usr/include/stdlib.h:303: parse error before `*'
- /usr/include/stdlib.h:305: parse error before `*'
- tools/build.c: In function `main':
- tools/build.c:90: `O_RDONLY' undeclared (first use this function)
- tools/build.c:90: (Each undeclared identifier is reported only once
- tools/build.c:90: for each function it appears in.)
- make: *** [tools/build] Error 1
-