Hello! My config.mk looks like this
PREFIX = /usr BIN = $(PREFIX)/bin MAN = $(PREFIX)/share/man DOC = $(PREFIX)/share/doc/wmii ETC = $(PREFIX)/etc LIBDIR = /lib INCLUDE = $(PREFIX)/include I have a directory /usr/include/X11 and there I have all the following files required by x11.h #include <X11/Xlib.h> #include <X11/Xutil.h> #include <X11/Xatom.h> Any other file I need to look for? BR Marko 2010-03-09 Anselm R Garbe wrote: On 9 March 2010 13:45, <ma...@koski-vahala.com> wrote: >> >> Hello! >> >> I'll answer myself. I created a symlink to solve it but now I get the next >> problem >> >> MAKE all libwmii_hack/ >> CC libwmii_hack/hack.o_pic >> libwmii_hack/hack.c:1: warning: -fPIC ignored for target (all code is >> position i >> >> ndependent) >> In file included from libwmii_hack/hack.c:14: >> libwmii_hack/util.c:15: warning: array subscript has type ‘char’ >> libwmii_hack/util.c:20: warning: array subscript has type ‘char’ >> libwmii_hack/hack.c:50: warning: implicit declaration of function >> ‘unsetenv’ >> LD lib/libwmii_hack.so >> /tmp/wmii+ixp-3.9b1/libwmii_hack/x11.c:17: undefined reference to >> `_XInternAtom' >> /tmp/wmii+ixp-3.9b1/libwmii_hack/x11.c:29: undefined reference to >> `_XChangePrope >> >> rty' >> /tmp/wmii+ixp-3.9b1/libwmii_hack/x11.c:90: undefined reference to >> `_XGetWindowPr >> >> operty' >> /tmp/wmii+ixp-3.9b1/libwmii_hack/hack.c:68: undefined reference to >> `_XInternAtom >> >> s' >> collect2: ld returned 1 exit status >> make[1]: *** [../lib/libwmii_hack.so] Error 1 >> make: *** [dall] Error 2 > >Looks to me you need to install X libs and X header files in cygwin... >something is missing. > >Cheers, >Anselm > >