I tried editing configure.ac but the regererated configure script then
gave me the error:

./configure: line 24125: syntax error near unexpected token `MD5_Init,'
./configure: line 24125: `RACOON_PATH_LIBS(MD5_Init, crypto)'

Directly editing the configure script and removing -Werror from
CFLAGS_ADD works and with that change ipsec-tools builds....


Actually fixing the code in src/racoon/gssapi.c to have strong typing as
the gcc-4.1 warning suggests is probably a better idea, but that is over
my head since it seems like it would include changing the gssapi API in
the libkrb5-dev package.

Attaching my workaround... 

Regards,
Andreas Henriksson
--- configure.orig	2006-05-14 21:10:57.000000000 +0200
+++ configure	2006-05-14 21:11:05.000000000 +0200
@@ -20752,7 +20752,7 @@
 
 
 
-CFLAGS_ADD="$CFLAGS_ADD -Wall -Werror -Wno-unused"
+CFLAGS_ADD="$CFLAGS_ADD -Wall -Wno-unused"
 
 case $host in
 *netbsd*)

Reply via email to