On 26 Mar 2000, Marcus Sundberg wrote:
> [EMAIL PROTECTED] (Christoph Egger) writes:
>
> > Hi!
> >
> > I just donwloaded the ggi snapshot 20000325.
> >
> > When I tried to compile libggi2d I got this error:
> >
> >
> > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_REENTRANT
> > -D_THREAD_SAFE -g -Wall -Wp,-MD,.deps/main.pp -c -fPIC -DPIC main.c -o
> > main.lo
> > main.c:38: `GGI2DCONFFILE' undeclared here (not in a function)
> > main.c:39: `GGI2DTAGLEN' undeclared here (not in a function)
> > main.c:39: initializer element is not constant
> > make[2]: *** [main.lo] Error 1
> > make[2]: Leaving directory
> > `/home/programmer/ggi/20000325/degas/lib/libggi2d/ggi2d'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory
> > `/home/programmer/ggi/20000325/degas/lib/libggi2d'
> > make: *** [all-recursive-am] Error 2
> >
> >
> > I have attached one patch, which fixes that.
> > Anyone here to commit the patch?
>
> It is not needed, config.h is included by <ggi/internal/plat.h>
> Please find out why that doesn't happen.
I found it: There was a <ggi/internal/config.h> with a size of 0 bytes!
Don't know why. I think that is an installation bug of one of the current
or earlier snapshots...
I deleted the <ggi/internal/config.h> -file, and tried libggi2d and libwmh
_without_ my "fixes": It compiled!
Christoph Egger
E-Mail: [EMAIL PROTECTED]