home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / aix / 11810 < prev    next >
Encoding:
Text File  |  1992-11-21  |  2.0 KB  |  52 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!well!nlane
  3. From: nlane@well.sf.ca.us (Nathan D. Lane)
  4. Subject: Andrew toolkit on 3.2 fails in /usr/include/sys files
  5. Message-ID: <By3BAL.q9@well.sf.ca.us>
  6. Summary: Compile errors in IBM's /usr/include/sys files
  7. Keywords: Andrew aix 3.2 320H
  8. Sender: news@well.sf.ca.us
  9. Organization: Whole Earth 'Lectronic Link
  10. Date: Sat, 21 Nov 1992 23:44:45 GMT
  11. Lines: 39
  12.  
  13. After receiving some very generous help from many people on the net concerning
  14. my troubles compiling the andrew toolkit on AIX 3.2, I finally obtained the
  15. "rea" distribution from emsworth.andrew.cmu.edu.  I applied the changes
  16. to site.h, site.mcr, system.h and system.mcr and the compile finally goes smoothly
  17. until the file "readlink.c" in overhead/class/pp.  I get the following errors
  18. (trimmed):
  19.  
  20. "/usr/include/sys/lc_core.h", line 27.5: 1506-046 (S) Syntax error.
  21. "/usr/include/sys/localedef31.h", line 46.9: 1506-046 (S) Syntax error.
  22. "/usr/include/string.h", line 117.25: 1506-046 (S) Syntax error.
  23. "/usr/include/stddef.h", line 48.25: 1506-030 (S) Identifier wchar_t cannot be r
  24. edeclared.
  25.  
  26. There are approximately 10 errors per include file, all syntax errors.
  27. I am using stock cc, as instructed, with x11r5 imake and makedepend.
  28. As far as I can tell from my exploration, "readlink.c" is just supposed to
  29. read symbolic links and has nothing to do with these include files (as
  30. far as I can tell, it only includes "errno.h").
  31.  
  32. I have had similar things happen in other compiles, e.g., syntax errors in
  33. IBM provided include files, and that is why I am posting here.
  34.  
  35. Any ideas on what causes these?
  36.  
  37. The OS is AIX 3.2.0 on a 320H.  Also, the Andrew Consortium mentioned that
  38. compiling with optimization in readlink.c would fail, but I checked the makefile
  39. and CFLAGS and they were handled already (by the config scripts) to turn
  40. off optimization where required.  I no longer have a 3.1.5 machine to 
  41. compile this on and would like to have a native 3.2 build be successful.
  42. Any ideas?
  43.  
  44. Thanks in advance.
  45.  
  46. -Nathan Lane
  47. Trico Title Comapny, Santa Barbara, CA
  48. nlane@well.sf.ca.us
  49.  
  50.  
  51.  
  52.