On Sat, 26 Feb 2000, Andreas Beck wrote:

> O.K. - I tested it. I CVS-updated my copy, made sure I don't have any extra 
> files as compared to CVS, built LibWMH and it builds fine. So remaining
> issues might be different configurations that trigger something via the
> autoconf mechanism. Please tell me, if you find a bug.


This is the error I get:

make  all-recursive
make[1]: Entering directory
`/home/programmer/ggi/20000303/degas/lib/libwmh'
Making all in ggiwmh
make[2]: Entering directory `/home/programmer/ggi/20000303/degas/lib/libwmh/ggiwmh'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. 
-DBUILDING_LIBGGIWMH  
-I../include     -g -O2 -D_REENTRANT -D_THREAD_SAFE -g -Wall -Wstrict-prototypes -c 
init.c
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/20000303/degas/lib/libwmh/ggiwmh'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/programmer/ggi/20000303/degas/lib/libwmh'
make: *** [all-recursive-am] Error 2


I have attached a patch which fixes that. After I added this patch, libwmh
compiles fine for me. Anyone here to commit the attached patch, please?


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

Reply via email to