home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!microsoft!wingnut!t-piersh
- From: t-piersh@microsoft.com (Piers Haken)
- Subject: Re: Errors building tools/build.c
- Message-ID: <1992Aug24.234817.19276@microsoft.com>
- Date: 24 Aug 92 23:48:17 GMT
- Organization: Microsoft Corp., Redmond, WA 98052
- References: <1992Aug14.034700.15023@athena.mit.edu>
- Lines: 53
-
- In article <1992Aug14.034700.15023@athena.mit.edu> hammond@kwhpc.caseng.com (Kevin W. Hammond) writes:
- >I installed the inc.tar.Z and 0.97pl1inc.tar.Z files you sent me under
- >/usr, as per your instructions. Once again, I am performing the
- >build with 0.97 source (no patches) and GCC 2.2.2. I also installed
- >type symlink from /usr/include/linux to /usr/src/include/linux/include.
- >I have not replaced the linux include files with the GCC 2.2.2 include
- >files as is indicated in the README. I also have the -nostdinc in my
- >Makefile.
- >
- >When the make reaches tools/build.c, the following errors occur:
- >
- >In file included from tools/build.c:25:
- >/usr/include/stdlib.h:55: conflicting types for `div_t'
- >/usr/include/linux/types.h:68: previous declaration of `div_t'
- >/usr/include/stdlib.h:62: conflicting types for `ldiv_t'
- >/usr/include/linux/types.h:69: previous declaration of `ldiv_t'
- >In file included from /usr/include/unistd.h:188, from tools/build.c:29:
- >/usr/include/sys/utsname.h:16: `MAXHOSTNAMELEN' undeclared, outside of functions
- >/usr/include/sys/utsname.h:16: size of array `nodename' has non-integer type
- >In file included from /usr/include/unistd.h:191, from tools/build.c:29:
- >/usr/include/signal.h:14: parse error before `SignalHandler'
- >/usr/include/signal.h:14: warning: data definition has no type or storage class
- >/usr/include/signal.h:35: parse error before `signal'
- >/usr/include/signal.h:35: parse error before `__sighandler_t'
- >/usr/include/signal.h:35: warning: data definition has no type or storage class
- >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.)
- >
- >What would be causing this problem? I'm almost there.... unfortunatly I go on
- >vacation tomorrow and won't have a chance to test any corrections, but I'll
- >still be checking my mail to keep updated.
- >
- >Thanks.
- >
- >-kwh-
- >--
- >Kevin W. Hammond
- >hammond@kwhpc.caseng.com
- >
- > Looking for a real operating system? Try Linux.
- >
- > CASE Engineering * 575 W. Madison #1601 * Chicago, IL 60661 * (312)902-2161
-
- I get these errors as well. I have installed the kernel sources and
- gcc 2.2.2d using install.2.x and removed the -nostdinc -Ixxx flags from
- the makefile(s). I haven't applied any patches (that I know of) to my
- .97 kernel. Is there something missing or is this something new?
-
- Piers.
- --
- Disclaimer: These views are my own and not necessarily
- those of the company for which I work.
-