home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / linux / 8190 < prev    next >
Encoding:
Text File  |  1992-08-13  |  2.4 KB  |  55 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!jvnc.net!yale.edu!yale!mintaka.lcs.mit.edu!bloom-picayune.mit.edu!daemon
  3. From: hammond@kwhpc.caseng.com (Kevin W. Hammond)
  4. Subject: Errors building tools/build.c
  5. Message-ID: <1992Aug14.034700.15023@athena.mit.edu>
  6. Sender: daemon@athena.mit.edu (Mr Background)
  7. Reply-To: hammond@kwhpc.caseng.com (Kevin W. Hammond)
  8. Organization: The Internet
  9. Date: Fri, 14 Aug 1992 03:47:00 GMT
  10. Lines: 43
  11.  
  12. I installed the inc.tar.Z and 0.97pl1inc.tar.Z files you sent me under
  13. /usr, as per your instructions.  Once again, I am performing the
  14. build with 0.97 source (no patches) and GCC 2.2.2.  I also installed
  15. type symlink from /usr/include/linux to /usr/src/include/linux/include.
  16. I have not replaced the linux include files with the GCC 2.2.2 include
  17. files as is indicated in the README.  I also have the -nostdinc in my
  18. Makefile.
  19.  
  20. When the make reaches tools/build.c, the following errors occur:
  21.  
  22. In file included from tools/build.c:25:
  23. /usr/include/stdlib.h:55: conflicting types for `div_t'
  24. /usr/include/linux/types.h:68: previous declaration of `div_t'
  25. /usr/include/stdlib.h:62: conflicting types for `ldiv_t'
  26. /usr/include/linux/types.h:69: previous declaration of `ldiv_t'
  27. In file included from /usr/include/unistd.h:188, from tools/build.c:29:
  28. /usr/include/sys/utsname.h:16: `MAXHOSTNAMELEN' undeclared, outside of functions
  29. /usr/include/sys/utsname.h:16: size of array `nodename' has non-integer type
  30. In file included from /usr/include/unistd.h:191, from tools/build.c:29:
  31. /usr/include/signal.h:14: parse error before `SignalHandler'
  32. /usr/include/signal.h:14: warning: data definition has no type or storage class
  33. /usr/include/signal.h:35: parse error before `signal'
  34. /usr/include/signal.h:35: parse error before `__sighandler_t'
  35. /usr/include/signal.h:35: warning: data definition has no type or storage class
  36. tools/build.c: In function `main':
  37. tools/build.c:90: `O_RDONLY' undeclared (first use this function)
  38. tools/build.c:90: (Each undeclared identifier is reported only once
  39. tools/build.c:90: for each function it appears in.)
  40.  
  41. What would be causing this problem?  I'm almost there....  unfortunatly I go on
  42. vacation tomorrow and won't have a chance to test any corrections, but I'll
  43. still be checking my mail to keep updated.
  44.  
  45. Thanks.
  46.  
  47. -kwh-
  48. -- 
  49. Kevin W. Hammond
  50. hammond@kwhpc.caseng.com
  51.  
  52.                  Looking for a real operating system?  Try Linux.
  53.  
  54.   CASE Engineering * 575 W. Madison #1601 * Chicago, IL 60661 * (312)902-2161
  55.