public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Kimmo Sundqvist <rabbit80@mbnet.fi>
To: linux-kernel@vger.kernel.org
Subject: Re: 2.5.68-mm3 and a simple mistake
Date: Thu, 1 May 2003 20:38:45 +0300	[thread overview]
Message-ID: <200305012038.45157.rabbit80@mbnet.fi> (raw)
In-Reply-To: <p734r4e3ca6.fsf@oldwotan.suse.de>

On Thursday 01 May 2003 18:41, Andi Kleen wrote:

> Kimmo Sundqvist <rabbit80@mbnet.fi> writes:

> > /usr/bin/make -f scripts/Makefile.clean obj=arch/i386/mach-default
> > /usr/bin/make -f scripts/Makefile.clean obj=arch/i386/mach-generic
> > scripts/Makefile.clean:10: arch/i386/mach-generic/Makefile: No such file
> > or directory
> > make[2]: *** No rule to make target `arch/i386/mach-generic/Makefile'. 
> > Stop. make[1]: *** [_clean_arch/i386/mach-generic] Error 2
> > make[1]: Leaving directory `/usr/src/linux-2.5.68'
> > make: *** [stamp-kernel-configure] Error 2

> Most likely you need to apply this patch. 

This is funny.  Patching with "patch -p0 < 2.5.68-mm3" caused all the patched 
files to appear in /usr/src/25  They also disappeared from 
/usr/src/linux-2.5.68

I did "cp -a /usr/src/25/* /usr/src/linux-2.5.68/" and there was no error at 
first, but the compile failed with:

gcc -Wp,-MD,net/core/.netfilter.o.d -D__KERNEL__ -Iinclude -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe 
-mpreferred-stack-boundary=2 -march=i686 -Iinclude/asm-i386/mach-default 
-fomit-frame-pointer -nostdinc -iwithprefix include    
-DKBUILD_BASENAME=netfilter -DKBUILD_MODNAME=netfilter -c -o 
net/core/netfilter.o net/core/netfilter.c
net/core/netfilter.c: In function `nf_reinject':
net/core/netfilter.c:559: `i' undeclared (first use in this function)
net/core/netfilter.c:559: (Each undeclared identifier is reported only once
net/core/netfilter.c:559: for each function it appears in.)
net/core/netfilter.c:559: warning: left-hand operand of comma expression has 
no effect
net/core/netfilter.c:559: warning: left-hand operand of comma expression has 
no effect
make[3]: *** [net/core/netfilter.o] Error 1
make[2]: *** [net/core] Error 2
make[1]: *** [net] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.68'
make: *** [stamp-build] Error 2

Still I can't understand what is the intended way of doing this.  I will try 
n+1 ways and stop to think now and then, but if someone has an easy way to do 
this, I haven't seen it.

-Kimmo S.

  parent reply	other threads:[~2003-05-01 17:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200305011826.31389.rabbit80@mbnet.fi.suse.lists.linux.kernel>
2003-05-01 15:41 ` 2.5.68-mm3 and a simple mistake Andi Kleen
2003-05-01 15:52   ` Sam Ravnborg
2003-05-01 17:38   ` Kimmo Sundqvist [this message]
2003-05-01 15:26 Kimmo Sundqvist

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200305012038.45157.rabbit80@mbnet.fi \
    --to=rabbit80@mbnet.fi \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox