If I compile with  X11R6.6  (which is the default)   I get a bunch of compile  
errors 

If I put  (X11R6)  ahead  of the default  ( almost everything gets compiled OK 
)  In December this worked (but now I am getting 
Errors)

I think I should be using X11R6.6  ( Hmm maybe I need a different set of 
compiler options to get this working correctly ) 

X Window System and Motif files locations

z/OS V1R12.0 Communications Server IP Programmer's Guide and Reference
SC31-8787-12 

The following topics provide X Window System and Motif locations.

Previous function X11R6.1 and Motif 1.2

Previous function X11R6.1 and Motif 1.2 static libraries for 31-bit 
applications. Applications that want to link with these libraries must use the 
-L flag on the cc or c89 command to specify the library directory. 
/usr/lpp/tcpip/X11R6/lib/libX11.a 
/usr/lpp/tcpip/X11R6/lib/libXext.a 
/usr/lpp/tcpip/X11R6/lib/liboldX.a 
/usr/lpp/tcpip/X11R6/lib/libICE.a 
/usr/lpp/tcpip/X11R6/lib/libSM.a 
/usr/lpp/tcpip/X11R6/lib/libXt.a 
/usr/lpp/tcpip/X11R6/lib/libXmu.a 
/usr/lpp/tcpip/X11R6/lib/libXaw.a 
/usr/lpp/tcpip/X11R6/lib/libXau.a 
/usr/lpp/tcpip/X11R6/lib/libPEX5.a 
/usr/lpp/tcpip/X11R6/lib/libXm.a 
/usr/lpp/tcpip/X11R6/lib/libMrm.a 
/usr/lpp/tcpip/X11R6/lib/libUil.a Previous function X11R6.1 and Motif 1.2 
dynamic link libraries (DLLs); 31-bit, non-XPLINK: 
/usr/lib/X11.dll -> symlink to /usr/lpp/tcpip/X11R6/lib/X11.dll 
/usr/lib/ICE.dll -> symlink to /usr/lpp/tcpip/X11R6/lib/ICE.dll 
/usr/lib/SM.dll  -> symlink to /usr/lpp/tcpip/X11R6/lib/SM.dll 
/usr/lib/Xaw.dll -> symlink to /usr/lpp/tcpip/X11R6/lib/Xaw.dll Header files 
for previous function X11R6.1 and Motif 1.2: 
/usr/lpp/tcpip/X11R6/include/X11 
/usr/lpp/tcpip/X11R6/include/X11/ICE 
/usr/lpp/tcpip/X11R6/include/X11/PEX5 
/usr/lpp/tcpip/X11R6/include/X11/SM 
/usr/lpp/tcpip/X11R6/include/X11/Xaw 
/usr/lpp/tcpip/X11R6/include/X11/Xmu 
/usr/lpp/tcpip/X11R6/include/X11/bitmaps 
/usr/lpp/tcpip/X11R6/include/X11/extensions 

/usr/lpp/tcpip/X11R6/include/Mrm  (motif header files) 
/usr/lpp/tcpip/X11R6/include/Xm   (motif header files) 
/usr/lpp/tcpip/X11R6/include/Uil  (Uil header files) Other utilities and data 
files for the previous function X11R6.1 and Motif 1.2: 
/usr/lpp/tcpip/bin/X11/uil (uil compiler) 

/usr/lpp/tcpip/X11R6/lib/X11/locale        (locale data files) 
/usr/lpp/tcpip/X11R6/lib/X11/XErrorDB      (X Error message database) 
/usr/lpp/tcpip/X11R6/lib/X11/XKeysymDB     (X keysym Database) 
/usr/lpp/tcpip/X11R6/lib/X11/app-defaults/ (application default files) Examples 
included for X11R6.1 and Motif 1.2: 
/usr/lpp/tcpip/X11R6/Xamples/man/cat1/    (man pages for Xamples programs) 
/usr/lpp/tcpip/X11R6/Xamples/demos/       (demonstration programs) 
/usr/lpp/tcpip/X11R6/Xamples/clients/     (selected standard clients) New 
function X11R6.6 and Motif 2.1.30

New function X11R6.6 and Motif 2.1 static libraries for 31-bit and 64-bit 
applications (these libraries are all XPLINK): 
Notes:
PEX is no longer supported in these libraries. 
Xp is a new library. 
/usr/lib/libX11.a  ->  /usr/lpp/tcpip/X11R66/lib/libX11.a 
/usr/lib/libXext.a ->  /usr/lpp/tcpip/X11R66/lib/libXext.a 
/usr/lib/liboldX.a ->  /usr/lpp/tcpip/X11R66/lib/liboldX.a 
/usr/lib/libICE.a  ->  /usr/lpp/tcpip/X11R66/lib/libICE.a 
/usr/lib/libSM.a   ->  /usr/lpp/tcpip/X11R66/lib/libSM.a 
/usr/lib/libXt.a   ->  /usr/lpp/tcpip/X11R66/lib/libXt.a 
/usr/lib/libXmu.a  ->  /usr/lpp/tcpip/X11R66/lib/libXmu.a 
/usr/lib/libXaw.a  ->  /usr/lpp/tcpip/X11R66/lib/libXaw.a 
/usr/lib/libXp.a   ->  /usr/lpp/tcpip/X11R66/lib/libXp.a 
/usr/lib/libXau.a  ->  /usr/lpp/tcpip/X11R66/lib/libXau.a 
/usr/lib/libXm.a   ->  /usr/lpp/tcpip/X11R66/lib/libXm.a 
/usr/lib/libMrm.a  ->  /usr/lpp/tcpip/X11R66/lib/libMrm.a 
/usr/lib/libUil.a  ->  /usr/lpp/tcpip/X11R66/lib/libUil.a New function X11R6.6 
and Motif 2.1 31-bit dynamic link libraries (DLLs): 
/usr/lib/X11_31.dll ->  /usr/lpp/tcpip/X11R66/lib/X11_31.dll 
/usr/lib/ICE_31.dll ->  /usr/lpp/tcpip/X11R66/lib/ICE_31.dll 
/usr/lib/SM_31.dll  ->  /usr/lpp/tcpip/X11R66/lib/SM_31.dll 
/usr/lib/Xaw_31.dll ->  /usr/lpp/tcpip/X11R66/lib/Xaw_31.dll 
/usr/lib/Mrm_31.dll ->  /usr/lpp/tcpip/X11R66/lib/Mrm_31.dll
/usr/lib/Uil_31.dll ->  /usr/lpp/tcpip/X11R66/lib/Uil_31.dll
/usr/lib/Xm_31.dll  ->  /usr/lpp/tcpip/X11R66/lib/Xm_31.dll New function 
X11R6.6 and Motif 2.1 64-bit dynamic link libraries (DLLs): 
/usr/lib/X11_64.dll ->   /usr/lpp/tcpip/X11R66/lib/X11_64.dll 
/usr/lib/ICE_64.dll ->   /usr/lpp/tcpip/X11R66/lib/ICE_64.dll 
/usr/lib/SM_64.dll  ->   /usr/lpp/tcpip/X11R66/lib/SM_64.dll 
/usr/lib/Xaw_64.dll ->   /usr/lpp/tcpip/X11R66/lib/Xaw_64.dll 
/usr/lib/Mrm_64.dll ->   /usr/lpp/tcpip/X11R66/lib/Mrm_64.dll
/usr/lib/Uil_64.dll ->   /usr/lpp/tcpip/X11R66/lib/Uil_64.dll
/usr/lib/Xm_64.dll  ->   /usr/lpp/tcpip/X11R66/lib/Xm_64.dll Header files for 
X11R6.6 and Motif 2.1: /usr/include/X11/    -> 
/usr/lpp/tcpip/X11R66/include/X11        (header files) 
/usr/include/X11/ICE -> /usr/lpp/tcpip/X11R66/include/X11/ICE    (ICE specific 
header files) 
/usr/include/X11/SM  -> /usr/lpp/tcpip/X11R66/include/X11/SM     (SM specific 
header files) 
/usr/include/X11/Xaw -> /usr/lpp/tcpip/X11R66/include/X11/Xaw    (Xaw specific 
header files) 
/usr/include/X11/Xmu -> /usr/lpp/tcpip/X11R66/include/X11/Xmu    (Xmu specific 
header files) 
/usr/include/X11/extensions -> /usr/lpp/tcpip/X11R66/include/X11/extensions 
(extensions specific header files)
/usr/include/X11/bitmaps    -> /usr/lpp/tcpip/X11R66/include/X11/bitmaps 
(bitmaps for samples) 
/usr/include/Mrm -> /usr/lpp/tcpip/X11R66/include/Mrm            (motif header 
files) 
/usr/include/Xm  -> /usr/lpp/tcpip/X11R66/include/Xm             (motif header 
files) 
/usr/include/X11/uil -> /usr/lpp/tcpip/X11R66/include/uil        (Uil header 
files)  

Other utilities and Data files for the new function X11R6.6 and Motif 2.1: 
/bin/X11/uil            -> /usr/lpp/tcpip/bin/X1166/uil                   
(31-bit uil compiler)
/bin/X11/uil64          -> /usr/lpp/tcpip/bin/X1166/uil64                 
(64-bit uil compiler)
/usr/lib/X11            -> /usr/lpp/tcpip/X11R66/lib/X11 
/usr/lib/X11/locale     -> /usr/lpp/tcpip/X11R66/lib/X11/locale           
(locale data files) 
/usr/lib/X11/XErrorDB   -> /usr/lpp/tcpip/X11R66/lib/X11/XErrorDB         (X 
Error message database) 
/usr/lib/X11/XKeysymDB  -> /usr/lpp/tcpip/X11R66/lib/X11/XKeysymDB        (X 
keysym Database) 
/usr/lib/X11/app-defaults -> /usr/lpp/tcpip/X11R66/lib/X11/app-defaults/  
(application default files) 

Examples included for X11R6.6 and Motif 2.1: 
/usr/lpp/tcpip/X11R66/Xamples/man/cat1/    (man pages for Xamples programs) 
/usr/lpp/tcpip/X11R66/Xamples/demos/       (demonstration programs) 
/usr/lpp/tcpip/X11R66/Xamples/clients/     (selected standard clients) 
/usr/lpp/tcpip/X11R66/Xamples/motif        (selected Motif examples)

-----Original Message-----
From: [email protected] [mailto:[email protected]] 
Sent: Saturday, April 28, 2012 4:33 AM
To: Bovy, Stephen
Cc: [email protected]
Subject: Re: FW: configure script "detection" logic for ( #define 
XPMATTRIBUTES_TYPE ) is NOT correct


Stephen Bovy wrote:

> The xpm attribute type should not be declared if the  xpm  header  or 
> xmp linker  detection fails  >>
> 
> /* #undef HAVE_X11_XPM_H */
> 
> The following should NOT have been set  
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> 
> /* Define to the type of the XpmAttributes type. */ #define 
> XPMATTRIBUTES_TYPE XpmAttributes
> 
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> 
> cc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MOTIF -O -D_ALL_SOURCE 
> -Wc,float\(IEEE\),HALTONMSG\(3296\) -W c,dll -o objects/gui_xmebw.o 
> gui_xmebw.c
> WARNING CCN3296 ./gui_xmebw.c:38    #include file <X11/xpm.h> not found.
> ERROR CCN3275 ./gui_xmebw.c:291   Unexpected text attr encountered.
> ERROR CCN3045 ./gui_xmebw.c:291   Undeclared identifier XpmAttributes.

So what #ifdef needs to change then?

--
ROBIN:  (warily) And if you get a question wrong?
ARTHUR: You are cast into the Gorge of Eternal Peril.
ROBIN:  Oh ... wacho!
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui