Jaime

At 14:53 24.02.2004 +0100, Jaime Nebrera Herrera wrote:
>  Hi,
>
>  First of all, we have used gcc 3.2.3 and glibc 2.3.2, superfreeswan 1.99.8 
>on a Gentoo 1.4 system.
>
>  We have downloaded a vanilla 2.4.24 kernel, applied the patches and 
>compiled. This is the error we get:
>
>*****

You are probably using menugo or xgo to include SFS.

Try to run 'make insert' to patch the kernel and then run make bZimage.

The problem is within 

utils/errcheck out.kbuild

which stumbles across the -Werror compile flag

I patched utils/errcheck 

--- utils/errcheck      2004-01-20 23:24:42.000000000 +0100
+++ utils/errcheck      2004-01-21 08:34:37.000000000 +0100
@@ -19,7 +19,9 @@
 # RH7.2 "make dep" builds stuff in drivers/macintosh (!!) using <asm/init.h>
 # Red Hat's 2.2.19 whines about function read_rx_long_length_errors in e100.c
 # 2.4.18: 53c700.h:40:2: #error "Config.in must define either CONFIG_53C700_IO_MAPPED 
or CONFIG_53C700_MEM_MAPPED to use this scsi core."
+# 2.4.24 accept -Werror compile flag.  This is used in AIX7XXX drivers.
 oops="`sed -e '/errors*\.[och]/s/errors*\./eror./g' \
+          -e '/-Werror/s//-Weror/g' \
           -e '/scsi_error/s//scsi_eror/' \
            -e '/KBUILD_BASENAME=errors/s/errors/eror/g' \
           -e '/#error .HiSax: No cards configured/s/error/eror/' \


Another possibility to avoid this is to remove the adaptec SCSI stuff from the kernel. 
It currently is the only code which uses the -Werror flag.

HTH

Erich  

THINK 
Püntenstrasse 39 
8143 Stallikon 
mailto:[EMAIL PROTECTED] 
PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click

_______________________________________________
leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to