[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

3178.0. "Athena include files in Ult 4.0?" by CUJO::GEORGE () Tue Aug 07 1990 15:07

One of our CSOs distributes X code using Athena widgets.  They depend on 
having the widgets and include files on DECWindows to build their 
application.

On RISC/Ultrix 4.0 they can't seem to find the include files.

Our DS5000 came with Ultrix v4.0 Rev 174
		     UWS V4.0 Rev 164

Can't find the include files anywhere.  

Anybody know where they are?

Ray George 
DUGGAN::GEORGE
(303) 497-1833
T.RTitleUserPersonal
Name
DateLines
3178.1GILROY::kleeTue Aug 07 1990 15:223
In Ultrix 4.0, the Athena widget include files are in /usr/include/mit/X11.

Ken
3178.2ABYSS::dikeTue Aug 07 1990 17:263
You can compile this without changing all of the #include statements by adding
-I/usr/include/mit/X11 to CFLAGS or its equivalent in the Makefile.
				Jeff
3178.3GILROY::kleeTue Aug 07 1990 17:587
>You can compile this without changing all of the #include statements by adding
>-I/usr/include/mit/X11 to CFLAGS or its equivalent in the Makefile.

I think that should be CFLAGS=-I/usr/include/mit.  The #includes are
typically things like <X11/Box.h>.

Ken
3178.4ABYSS::dikeWed Aug 08 1990 08:233
Oops.  You're right.  If the includes are of the the form <Box.h>, then you
need the X11 as well.
				Jeff
3178.5Ultrix has me stumped...PEACHS::BELDINThu Aug 09 1990 17:0632

	Forgive the novice U*x question... but this is coming from a
	VMS person trying to build an 'application' I got from across
	the net... What does:

cc -g -I/usr/lib/ -L/usr/lib -I/usr/include/mit -I/usr/X11R4/mips/mit -c base.c
cc -g -I/usr/lib/ -L/usr/lib -I/usr/include/mit -I/usr/X11R4/mips/mit -c widget.c
cc -g -I/usr/lib/ -L/usr/lib -I/usr/include/mit -I/usr/X11R4/mips/mit -c main.c
cpp: warning /usr/X11R4/mips/mit/X11/Xaw/Label.h:68: XtNbitmap redefined
cpp: warning /usr/X11R4/mips/mit/X11/Xaw/Label.h:69: XtNforeground redefined
cpp: warning /usr/X11R4/mips/mit/X11/Xaw/Label.h:70: XtNlabel redefined
cpp: warning /usr/X11R4/mips/mit/X11/Xaw/Label.h:71: XtNfont redefined
cpp: warning /usr/X11R4/mips/mit/X11/Xaw/Label.h:74: XtNresize redefined
cpp: warning /usr/X11R4/mips/mit/X11/Xaw/Label.h:75: XtCResize redefined
cpp: warning /usr/X11R4/mips/mit/X11/Xaw/Label.h:77: XtCBitmap redefined
cc -g -I/usr/lib/ -L/usr/lib -I/usr/include/mit -I/usr/X11R4/mips/mit -c vaders.c
cc -g -I/usr/lib/ -L/usr/lib -I/usr/include/mit -I/usr/X11R4/mips/mit -c shot.c
cc -g -I/usr/lib/ -L/usr/lib -I/usr/include/mit -I/usr/X11R4/mips/mit -c score.c
cc -o xinvaders spacers.o base.o widget.o main.o vaders.o shot.o score.o -L/usr/lib/ -lXaw -lXt -lXmu -lX11
ld:
Undefined:
panedWidgetClass
*** Error code 1

	this last message mean? panedWidgetClass is defined in one of
	the .h files in the /usr/X11R4/mips/mit subdirectories.  I know
	how to get rid of the warnings, but the last error has me 
	stumped.  Close as I can figure, it has an unresolved external
	reference for this thing... 

	Rick Beldin
3178.6be consistent with your versionsOXNARD::KLEEThu Aug 09 1990 17:448
    I'd have to look at your code to be sure (invaders, huh?), but you may
    be getting a conflict between two different versions of a widget set or
    of the Xt library.  Do /usr/include/mit and /usr/X11R4/mips/mit contain
    the same files?  If so, you should only use one or the other, along
    with the appropriate Xaw and Xt libraries.
    
    Ken
    
3178.7UPWARD::HEISERboycott hell!Fri Aug 10 1990 20:296
    Sorry if this is in the wrong note, but does anyone know if the Athena
    widgets were ported to VMS?  Or better still, does anyone have XCalc
    running on VMS?
    
    Thanks,
    Mike
3178.8BUNYIP::QUODLINGInnovation, but no MomentumFri Aug 10 1990 22:366
   Look at note 145.23 in the ELKTRA::dw_examples conference.
   
   
   q
   
   
3178.9the directory contents (may be long)PEACHS::BELDINSat Aug 11 1990 08:37155
>    of the Xt library.  Do /usr/include/mit and /usr/X11R4/mips/mit contain
>    the same files?  If so, you should only use one or the other, along


	(the following could be long... I'll put a form feed for those
	 who have no interest in seeing a directory listing)

	No, they don't. Here is /usr/include/mit (looks like X11R3)

total 838
-r--r--r--  1 root         9226 Apr  1 01:57 CSTextOut.h
-r--r--r--  1 root         3418 Apr  1 01:57 CSTextP.h
-r--r--r--  1 root         5091 Apr  1 01:57 CSTextSrc.h
-r--r--r--  1 root         3574 Apr  1 01:57 CStringSrc.h
-r--r--r--  1 root         2969 Apr  1 01:57 CallbackI.h
-r--r--r--  1 root         2282 Apr  1 01:57 CompObj.h
-r--r--r--  1 root         2397 Apr  1 01:57 CompObjP.h
-r--r--r--  1 root         2884 Apr  1 01:57 Composite.h
-r--r--r--  1 root         2253 Apr  1 01:57 CompositeI.h
-r--r--r--  1 root         4275 Apr  1 01:57 CompositeP.h
-r--r--r--  1 root         3537 Apr  1 01:57 ConstrainP.h
-r--r--r--  1 root         2577 Apr  1 01:57 Constraint.h
-r--r--r--  1 root         4576 Apr  1 01:57 Convert.h
-r--r--r--  1 root         3133 Apr  1 01:57 ConvertI.h
-r--r--r--  1 root         2459 Apr  1 01:57 Core.h
-r--r--r--  1 root         8248 Apr  1 01:57 CoreP.h
-r--r--r--  1 root         3501 Apr  1 01:57 DECWmHints.h
-r--r--r--  1 root         3184 Apr  1 01:57 DECWmHintsP.h
-r--r--r--  1 root         1336 Apr  1 00:35 DECkeysym.h
lrwxr-xr-x  1 root            9 Jun  6 13:00 DECwDwtApplProg.h -> DwtAppl.h
-rw-r--r--  1 root          966 Apr 10 21:20 DECwDwtApplProg.uil
lrwxr-xr-x  1 root           11 Jun  6 13:00 DECwDwtWidgetProg.h -> DwtWidget.h
-r--r--r--  1 root        37122 Apr  1 01:57 DRM.h
-r--r--r--  1 root        13020 Apr  1 01:57 DRMCmpr.h
-r--r--r--  1 root        18716 Apr  1 01:57 DRMCmprTbl.h
-r--r--r--  1 root         4754 Apr  1 01:57 DRMDecls.h
-r--r--r--  1 root        16833 Apr  1 01:57 DRMPublic.h
-r--r--r--  1 root         5364 Apr  1 01:57 Descripu.h
-r--r--r--  1 root         1773 Apr  1 01:57 DrmAppl.h
-r--r--r--  1 root         1777 Apr  1 01:57 DrmWidget.h
-r--r--r--  1 root        50553 Apr  1 01:57 DwtAppl.h
-rw-r--r--  1 root         2545 Apr 10 21:20 DwtAppl.uil
-r--r--r--  1 root        12398 Apr  1 01:57 DwtPrivate.h
-r--r--r--  1 root         5492 Apr  1 01:57 DwtString.h
-r--r--r--  1 root        85755 Apr  1 01:57 DwtWidget.h
-r--r--r--  1 root         3984 Apr  1 01:57 DwtXlatArg.uil
-r--r--r--  1 root         7779 Apr  1 01:57 DwtXlatText.uil
-r--r--r--  1 root         6532 Apr  1 01:57 Event.h
-r--r--r--  1 root         3580 Apr  1 01:57 EventI.h
-r--r--r--  1 root        15204 Apr  1 01:57 Help_Descrip.h
-r--r--r--  1 root         7795 Apr  1 01:57 Help_Lbr_Def.h
-r--r--r--  1 root         1815 Apr  1 01:57 Help_Support.h
-r--r--r--  1 root        19139 Apr  1 01:57 IDB.h
-r--r--r--  1 root         6406 Apr  1 01:57 InitializeI.h
-r--r--r--  1 root        24759 Apr  1 01:57 Intrinsic.h
-r--r--r--  1 root         5040 Apr  1 01:57 IntrinsicI.h
-r--r--r--  1 root         8220 Apr  1 01:57 IntrinsicP.h
-r--r--r--  1 root          750 Apr  1 00:35 JUSkeysym.h
-r--r--r--  1 root         2169 Apr  1 01:57 Object.h
-r--r--r--  1 root         6031 Apr  1 01:57 ObjectP.h
-r--r--r--  1 root         3278 Apr  1 01:57 Quarks.h
-r--r--r--  1 root         2168 Apr  1 01:57 RectObj.h
-r--r--r--  1 root         6033 Apr  1 01:57 RectObjP.h
-r--r--r--  1 root         5650 Apr  1 01:57 Resource.h
-r--r--r--  1 root         2698 Apr  1 01:57 ResourceI.h
-r--r--r--  1 root         9526 Apr  1 01:57 Selection.h
-r--r--r--  1 root         4383 Apr  1 01:57 SelectionI.h
-r--r--r--  1 root         5647 Apr  1 01:57 Shell.h
-r--r--r--  1 root         9409 Apr  1 01:57 ShellP.h
-r--r--r--  1 root         8415 Apr  1 01:57 StringDefs.h
-r--r--r--  1 root         2747 Apr  1 01:57 StringSrc.h
-r--r--r--  1 root         3243 Apr  1 01:57 TextIn.h
-r--r--r--  1 root         8832 Apr  1 01:57 TextOut.h
-r--r--r--  1 root         4657 Apr  1 01:57 TextSrc.h
-r--r--r--  1 root         4656 Apr  1 01:57 Translate.h
-r--r--r--  1 root        10586 Apr  1 01:57 TranslateI.h
-r--r--r--  1 root         3345 Apr  1 01:57 VMSutil.h
-r--r--r--  1 root         5236 Apr  1 01:57 Vendor.h
-r--r--r--  1 root         4585 Apr  1 01:57 VendorP.h
-r--r--r--  1 root         2184 Apr  1 01:57 WindowObj.h
-r--r--r--  1 root         7810 Apr  1 01:57 WindowObjP.h
-r--r--r--  1 root        18841 Apr  1 00:35 X.h
-rw-r--r--  1 root         2792 Apr  1 01:29 X10.h
-r--r--r--  1 root         2710 Apr  1 00:35 XWDFile.h
-r--r--r--  1 root         4178 Apr  1 00:35 Xatom.h
-rw-r--r--  1 root        42414 Apr  1 01:29 Xlib.h
-r--r--r--  1 root         2158 Apr  1 01:57 XmAppl.h
-r--r--r--  1 root         1826 Apr  1 01:57 XmWidget.h
-r--r--r--  1 root         5580 Apr  1 00:35 Xmd.h
-r--r--r--  1 root         4123 Apr  1 04:31 Xmu.h
-r--r--r--  1 root         3771 Apr  1 00:35 Xos.h
-r--r--r--  1 root        55383 Apr  1 00:35 Xproto.h
-r--r--r--  1 root         2379 Apr  1 00:35 Xprotostr.h
-rw-r--r--  1 root         9506 Apr  1 01:29 Xresource.h
-rw-r--r--  1 root        10375 Apr  1 01:29 Xutil.h
drwxr-xr-x  2 root         1024 Jun  6 12:52 bitmaps
-r--r--r--  1 root         2968 Apr  1 00:35 copyright.h
-r--r--r--  1 root         1949 Apr  2 22:12 cursorfont.h
-r--r--r--  1 root         1250 Apr  2 22:12 decwcursor.h
-r--r--r--  1 root         5364 Apr  1 00:35 descrip.h
-r--r--r--  1 root         3228 Apr  1 03:12 dvr_decw_def.h
-r--r--r--  1 root         3049 Apr  1 01:57 fd.h
-r--r--r--  1 root         2034 Apr  1 00:35 keysym.h
-r--r--r--  1 root        52050 Apr  1 00:35 keysymdef.h
-r--r--r--  1 root         3199 Apr  1 01:57 widgets.h

	and here is /usr/X11R4/mips/mit

total 47
lrwxrwxrwx  1 hoyt           25 Feb 12 13:00 Composite.h -> ../././lib/Xt/Composite.h
lrwxrwxrwx  1 hoyt           26 Feb 12 13:00 CompositeP.h -> ../././lib/Xt/CompositeP.h
lrwxrwxrwx  1 hoyt           26 Feb 12 13:00 ConstrainP.h -> ../././lib/Xt/ConstrainP.h
lrwxrwxrwx  1 hoyt           26 Feb 12 13:00 Constraint.h -> ../././lib/Xt/Constraint.h
lrwxrwxrwx  1 hoyt           20 Feb 12 13:00 Core.h -> ../././lib/Xt/Core.h
lrwxrwxrwx  1 hoyt           21 Feb 12 13:00 CoreP.h -> ../././lib/Xt/CoreP.h
lrwxrwxrwx  1 hoyt           26 Feb 12 12:59 DECkeysym.h -> ../././include/DECkeysym.h
lrwxrwxrwx  1 hoyt           25 Feb 12 13:00 Intrinsic.h -> ../././lib/Xt/Intrinsic.h
lrwxrwxrwx  1 hoyt           26 Feb 12 13:00 IntrinsicP.h -> ../././lib/Xt/IntrinsicP.h
lrwxrwxrwx  1 hoyt           22 Feb 12 13:00 Object.h -> ../././lib/Xt/Object.h
lrwxrwxrwx  1 hoyt           23 Feb 12 13:00 ObjectP.h -> ../././lib/Xt/ObjectP.h
lrwxrwxrwx  1 hoyt           22 Feb 12 13:00 Quarks.h -> ../././lib/Xt/Quarks.h
lrwxrwxrwx  1 hoyt           23 Feb 12 13:00 RectObj.h -> ../././lib/Xt/RectObj.h
lrwxrwxrwx  1 hoyt           24 Feb 12 13:00 RectObjP.h -> ../././lib/Xt/RectObjP.h
lrwxrwxrwx  1 hoyt           21 Feb 12 13:00 Shell.h -> ../././lib/Xt/Shell.h
lrwxrwxrwx  1 hoyt           22 Feb 12 13:00 ShellP.h -> ../././lib/Xt/ShellP.h
lrwxrwxrwx  1 hoyt           26 Feb 12 13:00 StringDefs.h -> ../././lib/Xt/StringDefs.h
lrwxrwxrwx  1 hoyt           22 Feb 12 13:00 Vendor.h -> ../././lib/Xt/Vendor.h
lrwxrwxrwx  1 hoyt           23 Feb 12 13:00 VendorP.h -> ../././lib/Xt/VendorP.h
lrwxrwxrwx  1 hoyt           18 Feb 12 12:59 X.h -> ../././include/X.h
lrwxrwxrwx  1 hoyt           21 Feb 12 13:00 X10.h -> ../././lib/oldX/X10.h
lrwxrwxrwx  1 hoyt           24 Feb 12 12:59 XWDFile.h -> ../././include/XWDFile.h
lrwxrwxrwx  1 hoyt           22 Feb 12 12:59 Xatom.h -> ../././include/Xatom.h
lrwxrwxrwx  1 hoyt           22 Feb 12 12:59 Xauth.h -> ../././lib/Xau/Xauth.h
drwxr-xr-x  2 hoyt         1536 Feb 12 13:01 Xaw
lrwxrwxrwx  1 hoyt           24 Feb 12 13:01 Xdmcp.h -> ../././lib/Xdmcp/Xdmcp.h
lrwxrwxrwx  1 hoyt           19 Feb 12 12:59 Xlib.h -> ../././lib/X/Xlib.h
lrwxrwxrwx  1 hoyt           22 Feb 12 13:00 Xlibint.h -> ../././lib/X/Xlibint.h
lrwxrwxrwx  1 hoyt           21 Feb 12 13:00 Xlibos.h -> ../././lib/X/Xlibos.h
lrwxrwxrwx  1 hoyt           20 Feb 12 12:59 Xmd.h -> ../././include/Xmd.h
drwxr-xr-x  2 hoyt          512 Feb 12 13:00 Xmu
lrwxrwxrwx  1 hoyt           20 Feb 12 12:59 Xos.h -> ../././include/Xos.h
lrwxrwxrwx  1 hoyt           23 Feb 12 12:59 Xproto.h -> ../././include/Xproto.h
lrwxrwxrwx  1 hoyt           26 Feb 12 12:59 Xprotostr.h -> ../././include/Xprotostr.h
lrwxrwxrwx  1 hoyt           24 Feb 12 12:59 Xresource.h -> ../././lib/X/Xresource.h
lrwxrwxrwx  1 hoyt           23 Feb 12 13:00 Xstreams.h -> ../././lib/X/Xstreams.h
lrwxrwxrwx  1 hoyt           20 Feb 12 13:00 Xutil.h -> ../././lib/X/Xutil.h
lrwxrwxrwx  1 hoyt           26 Feb 12 12:59 ap_keysym.h -> ../././include/ap_keysym.h
drwxr-xr-x  2 hoyt         1536 Feb 12 12:59 bitmaps
drwxr-xr-x  2 hoyt          512 Feb 12 12:59 config
lrwxrwxrwx  1 hoyt           26 Feb 12 12:59 copyright.h -> ../././include/copyright.h
lrwxrwxrwx  1 hoyt           25 Feb 12 13:00 cursorfont.h -> ../././lib/X/cursorfont.h
drwxr-xr-x  2 hoyt          512 Feb 12 13:01 extensions
lrwxrwxrwx  1 hoyt           23 Feb 12 12:59 keysym.h -> ../././include/keysym.h
lrwxrwxrwx  1 hoyt           26 Feb 12 12:59 keysymdef.h -> ../././include/keysymdef.h