From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265403AbUAZA0n (ORCPT ); Sun, 25 Jan 2004 19:26:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265413AbUAZA0n (ORCPT ); Sun, 25 Jan 2004 19:26:43 -0500 Received: from mail.broadpark.no ([217.13.4.2]:55937 "EHLO mail.broadpark.no") by vger.kernel.org with ESMTP id S265403AbUAZA0h (ORCPT ); Sun, 25 Jan 2004 19:26:37 -0500 Message-ID: <40145EBB.20805@majorstua.net> Date: Mon, 26 Jan 2004 01:26:35 +0100 From: Daniel Andersen Reply-To: daniel@majorstua.net User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031115 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?Marius_M=FCller?= Cc: linux-kernel@vger.kernel.org Subject: Re: 2.4.24 from kernel.org References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > > I just tried to compile linux-2.4.24.tar.bz2 from > http://www.kernel.org/pub/linux/kernel/v2.4/ > The date of the archive I downloaded was 05-Jan-2004 5:54. After > configuring the options for compiling I started the process by "make > dep" and then "make bzImage". After a few minutes I got the following > error message: > > ipt_ECN.c:16: linux/netfilter_ipv4/ipt_ECN.h: No such file or directory > ipt_ECN.c:26: warning: `struct ipt_ECN_info' declared inside parameter > list > ipt_ECN.c:26: warning: its scope is only this definition or > declaration, which is probably not what you want. > (...) > ipt_ECN.c:156: dereferencing pointer to incomplete type > ipt_ECN.c:156: `IPT_ECN_OP_SET_ECE' undeclared (first use in this > function) > ipt_ECN.c:156: `IPT_ECN_OP_SET_CWR' undeclared (first use in this > function) > make[3]: *** [ipt_ECN.o] Error 1 > make[3]: Leaving directory `/WorX/linux-2.4.24/net/ipv4/netfilter' > make[2]: *** [first_rule] Error 2 > make[2]: Leaving directory `/WorX/linux-2.4.24/net/ipv4/netfilter' > make[1]: *** [_subdir_ipv4/netfilter] Error 2 > make[1]: Leaving directory `/WorX/linux-2.4.24/net' > make: *** [_dir_net] Error 2 > > I then discovered that the file linux/netfilter_ipv4/ipt_ECN.h that > could not be found and caused the following errors really doesn't > exist but there is a file ipt_ECN.1.h in linux/netfilter_ipv4/. I > searched for more of the .1.h files and found the following: > > .//include/linux/netfilter_ipv4/ipt_DSCP.1.h > .//include/linux/netfilter_ipv4/ipt_ECN.1.h > .//include/linux/netfilter_ipv4/ipt_mark.1.h > .//include/linux/netfilter_ipv4/ipt_tcpmss.1.h > .//include/linux/netfilter_ipv4/ipt_tos.1.h > .//include/linux/netfilter_ipv6/ip6t_mark.1.h > .//net/ipv4/netfilter/ipt_DSCP.1.c > .//net/ipv4/netfilter/ipt_ecn.1.c > .//net/ipv4/netfilter/ipt_mark.1.c > .//net/ipv4/netfilter/ipt_tcpmss.1.c > .//net/ipv4/netfilter/ipt_tos.1.c > .//net/ipv6/netfilter/ip6t_mark.1.c > > I searched contents of the sources with grep for any occurrences of > the above header-files but the only occurrences found were for the > exact same files but without the .1.h but with .h only. I renamed all > the above files from .1.h to .h and finally succeeded in compiling > without any problems. > I don't know if get something very wrong here but it looked like some > sort wrong file names for me. > Hopefully I haven't wasted your time with "fake" problems. > > Marius > This is not a problem with the source from kernel.org but rather a problem with case-sensitivity on your system. It looks like only files with the same name (not being case-sensitive) are renamed to the .1 ending. Daniel Andersen