On 1/24/06, Rick Rankin <rrankin1424-xemacs(a)yahoo.com> wrote:
----- Original Message ----
> From: Vin Shelton <acs(a)xemacs.org>
> To: xemacs-patches(a)xemacs.org; Rick Rankin <rrankin1424-xemacs(a)yahoo.com>; Dr.
Volker Zell <dr.volker.zell(a)oracle.com>
> Sent: Monday, January 23, 2006 8:27:56 PM
> Subject: [PATCH 21.4] Xpm no-X builds fail on current cygwin
>
> Recently (I assume due to the 1.5.19 release of cygwin), the output of
> 'gcc -print-file-name=libc.a' changed from
>
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../lib.a
>
> to
>
> /bin/../lib/gcc/i686-pc-cygwin/3.4.4/../../../libc.a
>
> changing the effective path from /usr/lib to /lib. This change means
> that the somewhat hokey way we were finding the noX version of the XPM
> include files (and lib) no longer works, yielding compilation errors
> in scrollbar-msw.c:
>
> gcc -c -I/bin/../lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/noX -g -O3 -Wall
-Wno-switch -Winline
> -Wmissing-prototypes -Wsign-compare -fno-strict-aliasing -Wshadow -Wpointer-arith
> -Demacs -I. -DHAVE_CONFIG_H -Wno-sign-compare -fno-caller-saves scrollbar-msw.c
> In file included from console-msw.h:40,
> from scrollbar-msw.c:29:
> /usr/include/X11/xpm.h:71:63: simx.h: No such file or directory
>
> The attached patch works for me. Volker, please review. I will
> probably apply this to the 21.4 branch before 21.4.19 is released.
>
> A similar patch is needed for 21.5.
Vin,
I still get '/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../libc.a' from 'gcc
-print-file-name=libc.a'
under cygwin 1.5.19, so something else is going on. Perhaps the output of
'cygcheck -svr' would be helpful.
Rick,
Thanks for following up. I had even erased and re-installed cygwin to
try to make sure it wasn't something in my setup. Attached is the
outout of 'cygcheck -svr'.
- Vin