Hi!

I tried to compile libwmh of the ggi snapshot 20000325.
I got this error:


gcc -DHAVE_CONFIG_H -I. -I. -I.. -DBUILDING_LIBGGIWMH -I../include -g -O2
-D_REENTRANT -D_THREAD_SAFE -g -Wall -Wstrict-prototypes
-Wp,-MD,.deps/init.pp -c  -fPIC -DPIC init.c -o init.lo
init.c:40: `GGIWMHCONFFILE' undeclared here (not in a function)
init.c:41: `GGIWMHTAGLEN' undeclared here (not in a function)
init.c:41: initializer element is not constant
make[2]: *** [init.lo] Error 1
make[2]: Leaving directory
`/home/programmer/ggi/20000325/degas/lib/libwmh/ggiwmh'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/programmer/ggi/20000325/degas/lib/libwmh'
make: *** [all-recursive-am] Error 2

I have attached one patch, which fixes that.
Anyone here to commit it?


Thanks in advance,


Christoph Egger
E-Mail: [EMAIL PROTECTED]
--- libwmh/ggiwmh/init.c.old    Fri Mar  3 15:47:40 2000
+++ libwmh/ggiwmh/init.c        Sun Mar 26 00:00:14 2000
@@ -30,6 +30,8 @@
 #include <string.h>
 
 #include "wmh_int.h"
+#include "config.h"
+
 
 /* Static variables 
  */

Reply via email to