Article View: gnu.gcc.help
Article #41831Problem including xview.h
From: Kevin Junck
Date: Thu, 15 Feb 1996 00:00
Date: Thu, 15 Feb 1996 00:00
33 lines
1813 bytes
1813 bytes
I'm guessing that there is a fairly well known (but not to me) and simple
fix to this problem. I checked for an FAQ file for this newsgroup but
wasn't able to locate one at rtfm.mit.edu. I'm running V 2.7.0 of gcc on
a Sun SPARCServer 5 workstation that has Solaris 2.4 installed.
Here is my test code:
#include <xview/xview.h>
main()
{}
and here is what happens:
erebus% make test
gcc -I/usr/openwin/share/include -o test test.c
In file included from /usr/openwin/share/include/xview/notify.h:26,
from /usr/openwin/share/include/xview/pkg.h:27,
from /usr/openwin/share/include/xview/pkg_public.h:19,
from /usr/openwin/share/include/xview/generic.h:39,
from /usr/openwin/share/include/xview/xview_xvin.h:41,
from /usr/openwin/share/include/xview/xview.h:18,
from test.c:1:
/usr/include/sys/ucontext.h:22: parse error before `sigset_t'
/usr/include/sys/ucontext.h:22: warning: no semicolon at end of struct or union
/usr/include/sys/ucontext.h:24: parse error before `uc_stack'
/usr/include/sys/ucontext.h:24: warning: data definition has no type or storage
class
/usr/include/sys/ucontext.h:28: parse error before `}'
*** Error code 1
make: Fatal error: Command failed for target `test'
Any assistance would be greatly appreciated! Thanks!
Kevin Junck - kjunck@rad.uab.edu
Technical Details
Message-ID:
<kjunck-1502961420060001@mpfmac.rad.uab.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,3c498e482a812327,start X-Google-Attributes: gid11318c,public From: kjunck@rad.uab.edu (Kevin Junck) Subject: Problem including xview.h Date: 1996/02/15 Message-ID: <kjunck-1502961420060001@mpfmac.rad.uab.edu> X-Deja-AN: 139526579 organization: Dept of Radiology, Univ of Alabama at Birmingham newsgroups: gnu.gcc.help