bpmurray
Still Fresh
I'm trying to build a package, using configure, and it all works fine with the single exception of the X libraries. There's a step to locate the Xtst lib, and the line:
fails with a bunch of messages which are of the form:
When I update my LDFLAGS to include -Xlinker -rpath -Xlinker $(GP2XDEV)/X11R6/lib, I still get the error. Any ideas?
Edit: The required libs are all present in X11R6/lib, so I don't understand why it's failing.
Code:
gp2x-gcc -o conftest -O3 -Wall --fast-math -I$(GP2XDEV)/gp2x/include -I$(GP2XDEV)/include -lpthread -ldl conftest.c -lXtst -L$(GP2XDEV)/X11R6/lib -L$(GP2XDEV)/lib -L$(GP2XDEV)/gp2x/lib >&5
fails with a bunch of messages which are of the form:
Code:
$(GP2XDEV)/lib/gcc/gp2x/4.0.2/../../../../gp2x/bin/ld: warning: libXext.so.6, needed by $(GP2XDEV)/X11R6/lib/libXtst.so, not found (try using -rpath or -rpath-link)
When I update my LDFLAGS to include -Xlinker -rpath -Xlinker $(GP2XDEV)/X11R6/lib, I still get the error. Any ideas?
Edit: The required libs are all present in X11R6/lib, so I don't understand why it's failing.