Building fsviewer: configure:4160: checking for WMAppSetMainMenu in -lWMaker configure:4195: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I -I/usr/include -Wl,-O1 -Wl,--as-needed -L/usr/lib64 -L/usr/lib64 conftest.c -lWMaker -lXft -lXmu -lwraster -lXpm -lXext -lXext -lX11 -lm >&5 /usr/lib64/libWMaker.so: undefined reference to `XSendEvent' /usr/lib64/libWMaker.so: undefined reference to `XFree' /usr/lib64/libWMaker.so: undefined reference to `XStringListToTextProperty' /usr/lib64/libWMaker.so: undefined reference to `XInternAtom' /usr/lib64/libWMaker.so: undefined reference to `XChangeProperty' /usr/lib64/libWMaker.so: undefined reference to `XSetTextProperty' collect2: error: ld returned 1 exit status
Which version of windowmaker? With current ~arch, fsviewer does not get past the configure stage (I'll look into that one too) I just retested windowmaker-0.95.3 compilation, I have: libtool: link: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -D_XOPEN_SOURCE=600 -Wl,-O1 -Wl,--as-needed -o .libs/wtest wtest.o ../wmlib/.libs/libWMaker.so -lXext -lX11 so it looks like the -lX11 is there?
That's the configure for fsviewer :) The problem is that libWMaker.so does not link -lX11 by itself, (check with scanelf -n).
Ooops, got the wrong line from build.log. Fixed with Diego's help! Patch added in windowmaker-0.95.3-r1 and sent upstream