[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gEDA: icarus 0.8 and 0.8.1 tarballs doenst have system.vpi
On Fri, 1 Jul 2005, Stephen Williams wrote:
> No, the *correct* fix is to install the bzip2 deval package on
> your system. That is where the bzlib.h header file comes from.
> Without that header file, you will miss some features of lxt2
> output.
...the crazy thing is that that "fix" probably really does work 100% (only
on 32-bit platforms) but *only* because all the BZ2_* args coincidentally
are 32-bit values and because you eventually do link with libbz2. i.e.,
the implicit int func(int a, ...) compiler prototyping makes it work as
void* is the same size as an int on x86 and the args push backwards on the
stack.
Try it on AMD64 and you'll surely get fire and brimstone.
That really makes my head hurt and makes me wonder if I need to add a
bogus obscure declaration of a BZFILE somewhere in lxt order to force
people install the headers...or do something creative with #error! =)
-t