tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: roddy () visual-ra ! swmed ! edu (Roddy McColl)
To: tru64-unix-managers
Subject: problems compiling X11 code under OSF/1
Date: Mon, 22 May 1995 22:29:12 +0000	[thread overview]
Message-ID: <96075319906655.tru64-unix-managers.marc@archive.invalid> (raw)


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
       -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

                 reply	other threads:[~1995-05-22 22:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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