From: penafiel@guild.rdd.lmsc.lockheed.com (Hugo Penafiel)
Subject: KHOROS and IBM AIX 3.1
Followup-To: comp.soft-sys.khoros
Organization: LPARL
Date: Thu, 3 Sep 92 04:25:41 GMT

I am attempting to install KHOROS on an IBM RS/6000 workstation
running under AIX 3.1 however I get the following messages from the
C compiler:

	cc -DBSD_INCLUDES -D_BSD -c -O  -I/usr/include -I/usr/local/khoros/include
   -Dibm -DSYSV -DMALLOC_0_RETURNS_NULL -D_IBMR2 -DAIXV3 -D_NO_PROTO
-DVFORK -DTEMPNAM -DPUTENV  -DRANDOM  -DREDEFFORTRAN -DWAIT3      XImage.c
Processing include file /usr/include/X11/Xos.h
 14    62 | #define SIGCHLD SIGCLD
    1506-236: (W) Macro name SIGCHLD has been redefined.
      152 |     {"overlayMask", "OverlayMask", XtRBitmap, sizeof(Pixmap),
            ...................................a.........................
a - 1506-045: (S) Undeclared variable.
      158 | };
    1506-131: (S) Explicit extent specification or initializer required for
an auto  or static array.
      208 | WidgetClass xImageWidgetClass = (WidgetClass)&xImageClassRec;
            ..............................a..............................
a - 1506-152: (W) Operands are pointers to different types.
a - 1506-026: (S) Number of initializers cannot be greater than the number
of  aggregate members.
      331 |            XtInsertEventHandler(widget, mask, 0, PanImage,
((void 
            *)0),XtListTail);
            .....a...........
a - 1506-045: (S) Undeclared variable.
      336 |         XtInsertEventHandler(widget, mask, 0, CheckPan, ((void
*)0),
             XtListTail);
            .a...........
a - 1506-045: (S) Undeclared variable.
      654 |               XtInsertEventHandler(new, mask, 0, PanImage,
((void 
            *)0),XtListTail);
            .....a...........
a - 1506-045: (S) Undeclared variable.
      941 |                                         xwid, XtListTail);
            ..............................................a...........
a - 1506-045: (S) Undeclared variable.
make: 1254-004 The error code from the last command is 1.
	rm -f autocolor.o
	cc -DBSD_INCLUDES -D_BSD -c -O  -I/usr/include -I/usr/local/khoros/include
   -Dibm -DSYSV -DMALLOC_0_RETURNS_NULL -D_IBMR2 -DAIXV3 -D_NO_PROTO
-DVFORK -DTEMPNAM -DPUTENV  -DRANDOM  -DREDEFFORTRAN -DWAIT3     
autocolor.c
Processing include file /usr/include/X11/Xos.h
107    62 | #define SIGCHLD SIGCLD
    1506-236: (W) Macro name SIGCHLD has been redefined.
Processing include file /usr/include/X11/Xmu/Converters.h
148    58 |     XtJustifyLeft,       /* justify text to left side of button
  
           
....a.............................................................
a - 1506-030: (S) Illegal redeclaration of identifier.
            */
Processing include file /usr/include/X11/Xmu/Converters.h
148    61 | } XtJustify;
            ..a.........
a - 1506-046: (S) Syntax error.
Processing include file /usr/include/X11/Xmu/Converters.h
148    78 | typedef enum {XtorientHorizontal, XtorientVertical}
XtOrientation;
           
..............a.....................................b.............
a - 1506-030: (S) Illegal redeclaration of identifier.
b - 1506-046: (S) Syntax error.
Processing include file /usr/local/khoros/include/xvinclude.h
  4   213 | XawListReturnStruct  *xvf_run_list_wait();
            a....................b....................
a - 1506-045: (S) Undeclared variable.
b - 1506-046: (S) Syntax error.
Processing include file /usr/local/khoros/include/xvinclude.h
  4   214 | XawListReturnStruct **xvf_run_list_multsel_wait();
            a...................b.............................
a - 1506-045: (S) Undeclared variable.
b - 1506-046: (S) Syntax error.
make: 1254-004 The error code from the last command is 1.

The previous error messages were produced by the C compiler. It seems to
behave as if I have an incomplete version of X11R4 on our IBM RS/6000
because it doesn't recognize some functions that are standard X11R4.
That's my guess anyway. Anybody have these problems on their RS/6000
workstation?  Should I upgrade to AIX 3.2 or will that cause other
problems?
Any information on my problem will be greatly appreciated!
Thanks!