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?

Thank you in advance,

Christoph Egger
E-Mail: [EMAIL PROTECTED]
--- libggi2d/ggi2d/main.c.old   Fri Mar  3 16:00:41 2000
+++ libggi2d/ggi2d/main.c       Sat Mar 25 23:50:33 2000
@@ -25,6 +25,7 @@
 #include <stdarg.h>
 
 #include "internal.h"
+#include "config.h"
 
 /*
  * Initalize the strutures for the library

Reply via email to