On Thu, May 18, 2000 at 01:30:04PM -0400, David Bonner wrote:
> I just mailed off a description of what I found to Jeff, but if you
> just want to get bsetroot working, after doing a configure, copy the
> CPPFLAGS definition line from src/Makefile to util/Makefile, do a
> 'make clean' and then a make.  Solved the problem for me (slack-current),
> hoping it works for you.
> 

Yes, it does, and in retrospect it's relatively clear why.
But damn that was one subtle bug -- I was getting downright
irritable.

As vanRijn noted, assuming you didn't disable the timed cache when
you configure'd (in which case bsetroot should already work), the minimal
fix is to at least include -DTIMEDCACHE into your CPPFLAGS in util/Makefile,
but to be safe you might as well copy the whole CPPFLAGS definition from
src/Makefile. The reason is that bsetroot uses src/Image.o, which
is compiled with those flags, and contains structs which are a different
size from what bsetroot expects (since it is being compiled without them).
Havoc ensues, typically at the end of the destructors, but possibly
earlier depending on the compiler/libs version.

Anyway, thanks a million.

Jeff Raven
[EMAIL PROTECTED]

Reply via email to