Cygwin and wterm
Michel Bardiaux
mbardiaux@peaktime.be
Mon Sep 27 13:34:00 GMT 2004
Markus Jung wrote:
> Hi there!
>
> I have a big problem with building wterm on my cygwin/windows box. It
> doesn't metter which version I try to build I always get the following
> error:
>
> /usr/bin/sed -n -f ./makeprotos-sed xpm.c > xpm.pro
> gcc -DHAVE_CONFIG_H -DDEBUG_STRICT -c -I/usr/X11R6/include -I. -I..
> -I. -O xpm.c
> gcc -o wterm command.o graphics.o grkelot.o main.o menubar.o misc.o
> netdisp.o rmemset.o screen.o scrollbar2.o utmp.o xdefaults.o xpm.o
> -L/usr/X11R6/lib -lSM -lICE -lX11 -lWMaker
> xpm.o(.text+0xd66):xpm.c: undefined reference to `_XpmReadFileToPixmap'
> /usr/X11R6/lib/libWMaker.a(menu.o)(.text+0x5cf): undefined reference to
> `_XStringListToTextProperty'
> /usr/X11R6/lib/libWMaker.a(menu.o)(.text+0x60d): undefined reference to
> `_XSetTextProperty'
Since -lWMaker is a static library, should it not be *before* -lX11?
> collect2: ld returned 1 exit status
> make[1]: *** [wterm] Error 1
> make[1]: Leaving directory `/home/Administrator/wterm-6.2.6/src'
> make[1]: Entering directory `/home/Administrator/wterm-6.2.6/doc'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/Administrator/wterm-6.2.6/doc'
> make[1]: Entering directory `/home/Administrator/wterm-6.2.6/src/graphics'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/Administrator/wterm-6.2.6/src/graphics'
>
> It's confusing for me because if I have a look at the
> /usr/X11R6/include/X11/xpm.h the function XpmReadFileToPixmap is in an if
> clause which checks if the environment is a
> Windows box and if its so, the function won't be defined.
>
> I have no idea how to solve this problem. Pleas help me because I have
> such a great Background and its a great pitty to mask it always ;o))))
>
> Isn't a compiled cygwin package available for wterm from anywhere?
>
>
> Kind regards an thank you,
>
> Markus
--
Michel Bardiaux
Peaktime Belgium S.A. Bd. du Souverain, 191 B-1160 Bruxelles
Tel : +32 2 790.29.41
More information about the Cygwin-xfree
mailing list