Click to See Complete Forum and Search --> : compiling openbox on slackware-current.


Darkbolt
07-07-2004, 06:16 PM
Here's my basic situation:
I'm trying to compile openbox 3.2, I know I have all the dependencies and what not(not that it has many)

the configure goes ok, with ./configure --prefix=/usr --with-gnu-ld, however the 'make' portion fails with the following error

/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[1]: *** [openbox/openbox] Error 1
make[1]: Leaving directory `/home/darkbolt/sources/openbox-3.2'
make: *** [all-recursive] Error 1

The cflags I'm using aren't exactly aggressive
-march=pentium3 -pipe -O2


could anyone offer any insight?
TIA

Darkbolt
07-07-2004, 08:05 PM
well, I got that resolved. There was a missing symlink in /usr/lib/libz.so.1 => /usr/lib/libz.so

However now I'm getting undefied references errors up the wazoo from tools_kdetrayproxy_kdetrayproxy-kdetrayproxy.o which is especially annoying as I dont want anything to do with kde :mad:

I've never had these sorts of errors before with openbox...Anyone have a clue how to fix this one?

edit, heres an example of the errors

tools/kdetrayproxy/tools_kdetrayproxy_kdetrayproxy-kdetrayproxy.o(.text+0x595): In function `findclient':
: undefined reference to `XGetWindowProperty'