SUMMARY: Devguide and include files

From: Frode Stromsvag (frode@read-well.no)
Date: Mon Jan 23 1995 - 22:51:27 CST


Original question:

>
> I really hope someone can help me with this.
>
> Using Devguide to create a XVIEW based application. The problem
> appears when trying to compile the code generated with GXV.
>
> cc -g -ansi -I/usr/opt/SUNWguide/include -I/usr/openwin/include -DMAIN -DSVR4 -c ex_ui.c
> In file included from /usr/openwin/include/xview/notify.h:29, from /usr/openwin/include/xview/pkg.h:27, from /usr/openwin/include/xview/pkg_public.h:19, from /usr/openwin/include/xview/generic.h:39, from /usr/openwin/include/xview/xview_xvin.h:41, from /usr/openwin/include/xview/xview.h:18, from ex_ui.c:10:
> /usr/include/sys/ucontext.h:24: syntax error before `sigset_t'
> *** Error code 1
> make: Fatal error: Command failed for target `ex_ui.o'
>
> Anyone experienced this?
>
> This runs on an LX with Solaris 2.3 installed. Devguide version is 3.0.1.
>
> The compiler is the Cygnus version of GNU gcc distributed with the
> Catalyst CDWARE vol 5 (was it?).
>
> Do I need patches? Are there other versions of these include files?

No solution yet. Thanks to

rob.e.allan@hydro.on.ca
Kevin.Sheehan@uniq.com.au

who came with suggestions. Rob suggested that I run fixincludes, which I've
done again (this time making sure all includefiles in /usr/openwin/include
were fixed, too). This didn't help. Kevin suggested I needed to include
<sys/signal.h> since the problem seem to be the typedef for sigset_t, but
<sys/signal.h> is already included in <sys/ucontext.h> were the error
is trigged.

Any other suggestions?

Frode Stromsvag email: frode@read-well.no
READ Well Services a.s.
Ravnsborgveien 56
P.O. Box 25
1364 Hvalstad Phone number: +47-66982240
NORWAY FAX number: +47-66982022



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:14 CDT