[340] in Zephyr_Bugs

home help back first fref pref prev next nref lref last post

Viewport.c

daemon@ATHENA.MIT.EDU (caspidel@cap.cca.cr.rockwell.com)
Fri Feb 14 11:25:59 1992

To: Zephyr-bugs@Athena.MIT.EDU
Date: Fri, 14 Feb 92 10:25:32 -0600
From: caspidel@cap.cca.cr.rockwell.com

I am attempting to compile zephyr on our system here at rockwell but
have run into several problems most of which I have been able to get around...

the copy of zephyr that I have was given to me by Digital and the
documentation is dated May '89

my problem is in compiling Viewport.c ... several minutes into the
'make world' process

csh> gcc -c -I/usr/include/mit Viewport
.c
Viewport.c:125: warning: excess elements in aggregate initializer
Viewport.c: In function CreateScrollbar:
Viewport.c:158: `XtorientHorizontal' undeclared (first use this function)
Viewport.c:158: (Each undeclared identifier is reported only once
Viewport.c:158: for each function it appears in.)
Viewport.c:158: `XtorientVertical' undeclared (first use this function)
Viewport.c:171: `scrollbarWidgetClass' undeclared (first use this function)

another try... different compiler

csh> cc -c -I/accts/caspidell/include -I/net/zodiac/usr/include/mit Viewport.c
ccom: Error: Viewport.c, line 110: } expected
        },
      --^
ccom: Error: Viewport.c, line 158: XtorientHorizontal undefined
              horizontal ? XtorientHorizontal : XtorientVertical ) ));
      ----------------------------------------^
ccom: Error: Viewport.c, line 158: XtorientVertical undefined
              horizontal ? XtorientHorizontal : XtorientVertical ) ));
      -----------------------------------------------------------^
ccom: Error: Viewport.c, line 171: scrollbarWidgetClass undefined
                          scrollbarWidgetClass, (Widget)w,
      ----------------------------------------^

I am not defining X11R3 because I cannot find the include file XawMisc.h
any suggestions, hints, etc would be most appreciated.

thanx for your time,

jr
caspidel@cap.cca.cr.rockwell.com

home help back first fref pref prev next nref lref last post