* problems compiling X11 code under OSF/1
@ 1995-05-22 22:29 roddy
0 siblings, 0 replies; only message in thread
From: roddy @ 1995-05-22 22:29 UTC (permalink / raw)
To: tru64-unix-managers
I am running AVS v5.01 under OSF/1 v1.3, and I have run into an
annoying problem with X11. This may be just an X probkem but its on an
Alpha so here goes ...
if my code looks like this ...
#include <X11/Xlib.h>
#include <X11/Xlibint.h>
.
.
.
main()
{
.
.
}
and I compile with
cc -Dstd -Dunix -DNeedFunctionPrototypes -DXLIB_ILLEGAL_ACCESS -DUSE_FILE_UTILS
(using defines which are included in the AVS Makeinclude file) then
the compilation will fail with repeated declaration errors in
Xlibint.h (such as "typedef struct _XFC *GC;")
Does anyone know/understand the purpose of the -DXLIB_ILLEGAL_ACCESS,
and/or how to work around it? If I turn it off, my AVS/X11 module consistently
dies during a call to XGetWindowProperties(). But with it in, I keep
getting errors during calls to XQueryTree(). My real purpose in
calling Xlibint.h is to include the source to XQueryTree() so I can
see where it failing.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Roddy McColl PhD
Assistant Professor of Radiology
Radiology Imaging Center
UT Southwestern Medical Center at Dallas
5323 Harry Hines Blvd
Dallas TX 75235-9058
(214) 648-2910
(214) 648-4538 FAX roddy@mri.swmed.edu
http://www-mri.swmed.edu/homes/roddy.html
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1995-05-22 22:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-05-22 22:29 problems compiling X11 code under OSF/1 roddy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox