home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / linux / 9958 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.3 KB

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