Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: davidm@giaeb.cc.monash.edu.au (david miron)
Subject: Complaint about Xlib.h Ultrix4.2a
Date: Tue, 24 Aug 1993 01:53:20 GMT	[thread overview]
Message-ID: <davidm.746157200@giaeb> (raw)

Recently I have installed gcc 2.4.5 with a view to utilise the g++ for
developing X applications using DECs motif.  The motif version is 1.1.


Having just installed gcc I decided to test the compilation of a program
that uses motif. I received the following error messages.   

gcc xlogic.c -lXm -lXt -lX11
In file included from
/usr/local/lib/gcc-lib/decstation-ultrix/2.4.5/include/X11
/Intrinsic.h:43, from xlogic.c:6:
/usr/local/lib/gcc-lib/decstation-ultrix/2.4.5/include/X11/Xlib.h:3958:
parse error before `XSizeHints'
/usr/local/lib/gcc-lib/decstation-ultrix/2.4.5/include/X11/Xlib.h:3971:
parse error before `XSizeHints'
/usr/local/lib/gcc-lib/decstation-ultrix/2.4.5/include/X11/Xlib.h:3981:
parse error before `XSizeHints'
/usr/local/lib/gcc-lib/decstation-ultrix/2.4.5/include/X11/Xlib.h:3990:
parse error before `XStandardColormap'
/usr/local/lib/gcc-lib/decstation-ultrix/2.4.5/include/X11/Xlib.h:4000:
parse error before `XTextProperty'
/usr/local/lib/gcc-lib/decstation-ultrix/2.4.5/include/X11/Xlib.h:4009:
parse error before `XTextProperty'
/usr/local/lib/gcc-lib/decstation-ultrix/2.4.5/include/X11/Xlib.h:4017:
parse error before `XTextProperty'
/usr/local/lib/gcc-lib/decstation-ultrix/2.4.5/include/X11/Xlib.h:4025:
parse error before `XTextProperty'
/usr/local/lib/gcc-lib/decstation-ultrix/2.4.5/include/X11/Xlib.h:4033:
parse error before `XTextProperty'
/usr/local/lib/gcc-lib/decstation-ultrix/2.4.5/include/X11/Xlib.h:4047:
parse error before `XSizeHints'
/usr/local/lib/gcc-lib/decstation-ultrix/2.4.5/include/X11/Xlib.h:4056:
parse error before `XSizeHints'
/usr/local/lib/gcc-lib/decstation-ultrix/2.4.5/include/X11/Xlib.h:4064:
parse error before `XStandardColormap'
/usr/local/lib/gcc-lib/decstation-ultrix/2.4.5/include/X11/Xlib.h:4074:
parse error before `XTextProperty'
/usr/local/lib/gcc-lib/decstation-ultrix/2.4.5/include/X11/Xlib.h:4083:
parse error before `XTextProperty'
/usr/local/lib/gcc-lib/decstation-ultrix/2.4.5/include/X11/Xlib.h:4091:
ps any on successfully ported gcc toarse error before `XTextProperty'
/usr/local/lib/gcc-lib/decstation-ultrix/2.4.5/include/X11/Xlib.h:4099:
parse error before `XTextProperty'
/usr/local/lib/gcc-lib/decstation-ultrix/2.4.5/include/X11/Xlib.h:4107:
parse error before `XTextProperty'
/usr/local/lib/gcc-lib/decstation-ultrix/2.4.5/include/X11/Xlib.h:4113:
parse error before `*'
/usr/local/lib/gcc-lib/decstation-ultrix/2.4.5/include/X11/Xlib.h:4123:
parse error before `XSizeHints'

The machine is Personal decstation 5000/25 using Ultrix 4.2a.  To
configure the Makefile for gcc I used

configure --target=decstation-ultrix

The above compilation works using ``cc''.


I am extremely frustrated with this problem and have spent hours on it.
Any suggestions on how to fix this problem would be greatly appreciated.

I should add that by using the -traditional flag on gcc produces
syntax errors in file.h while using the mit include libraries for compilation
produces  XtToolkit warnings that XtAddCallbacks cannot be found.
Thus while gcc successfully compiles the application when the
executable is run I only half the application is produced.

I have been informed that this is a problem with DECs header files
Xlib.h and Xutils.h.  Has DEC got a fix for this problem or am I stuck
with header files that are as handy as a pocket in your underpants.

Has anyone successfully ported gcc to their decstation and compiled
motif successfully I would love to hear from you.  (My machine is
standalone).

If DEC is reading this I am extremely frustrated and apologise if I
sound or have been curt but I have spent hours on this problem trying
to rectify it.  Can you please help me out.


Thanks in advance

and take care

David.
-- 
David Miron
Dollarburn Road,
Warragul, Australia, 3820.
Email: davidm%giaeb.cc.monash.edu.au


             reply	other threads:[~1993-08-24  1:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-08-24  1:53 david miron [this message]
1993-08-25  5:41 ` Complaint about Xlib.h Ultrix4.2a Brian Hunt
1993-09-03 10:25 ` Burkhard Neidecker-Lutz
  -- strict thread matches above, loose matches on Subject: below --
1993-08-24 15:46 George P. Swanton
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox