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