Kevin Van Workum wrote:
Has anyone out there compiled openbox-3.2 on cygwin? It worked until the final step. Below is the command that it failed on and a couple of the error messages. It looks like it's not finding the right libraries, but I don't know for sure since I'm not an expert on X11.
--make output-- .... /home/vanw/openbox-3.2/render/render.c:53: undefined reference to `_XCreatePixmap'
Try to find the library where the reference points to, e.g.: $ cd /usr/X11R6/lib ; grep -r _XCreatePixmap *
If it is there, see if this lib is on your linkline, if not then add it, if it is already there try to change the order of the libraries or add the relevant lib at the end of the link command a second time.
Gerrit
Got it. The problem was the order of the libraries. Below are the changes I made to the makefile to get it to compile.
$ diff Makefile Makefile.orig 81c81 < LIBS = -lX11 -lXft -lglib-2.0 -lxml2 --- > LIBS =
Kevin