public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.4-mm1 and -mm2: include/linux/version.h missing (vanilla ok)
@ 2004-03-15 14:35 Fabian Fenaut
  2004-03-15 17:41 ` Sam Ravnborg
  0 siblings, 1 reply; 5+ messages in thread
From: Fabian Fenaut @ 2004-03-15 14:35 UTC (permalink / raw)
  To: linux-kernel

Hi,

Why is there no include/linux/version.h after having compiled -mm1 and -mm2 ?
Compilation of kernel is fine, but because of this, my nvidia modules won't
compile.

As said in the subject, 2.6.4 vanilla is ok, version.h is here after
compilation.

I use debian woody, and I type

make-kpkg --append-to-version -ff --revision 1 binary-arch
make-kpkg --append-to-version -ff --revision 1 modules_image

to build kernel_image, kernel_headers and nvidia-kernel.

Did I misunderstand something ?
Thank you for any help.

--
Fabian


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.6.4-mm1 and -mm2: include/linux/version.h missing (vanilla ok)
  2004-03-15 14:35 2.6.4-mm1 and -mm2: include/linux/version.h missing (vanilla ok) Fabian Fenaut
@ 2004-03-15 17:41 ` Sam Ravnborg
  2004-03-15 18:04   ` Fabian Fenaut
  0 siblings, 1 reply; 5+ messages in thread
From: Sam Ravnborg @ 2004-03-15 17:41 UTC (permalink / raw)
  To: Fabian Fenaut; +Cc: linux-kernel

On Mon, Mar 15, 2004 at 03:35:01PM +0100, Fabian Fenaut wrote:
> Hi,
> 
> Why is there no include/linux/version.h after having compiled -mm1 and -mm2 
> ?
> Compilation of kernel is fine, but because of this, my nvidia modules won't
> compile.
> 
> As said in the subject, 2.6.4 vanilla is ok, version.h is here after
> compilation.
> 
> I use debian woody, and I type
> 
> make-kpkg --append-to-version -ff --revision 1 binary-arch
> make-kpkg --append-to-version -ff --revision 1 modules_image

I dunno make-kpkg, but 'make clean' became a bit more effective in mm1.
So now 'make clean' deletes version.h - maybe that's your problem?

In that case, why are a make clean executed?

	Sam

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.6.4-mm1 and -mm2: include/linux/version.h missing (vanilla ok)
  2004-03-15 17:41 ` Sam Ravnborg
@ 2004-03-15 18:04   ` Fabian Fenaut
  2004-03-15 18:43     ` Sam Ravnborg
  0 siblings, 1 reply; 5+ messages in thread
From: Fabian Fenaut @ 2004-03-15 18:04 UTC (permalink / raw)
  To: Sam Ravnborg; +Cc: Fabian Fenaut, linux-kernel, Andrew Morton

Sam Ravnborg wrote:

> On Mon, Mar 15, 2004 at 03:35:01PM +0100, Fabian Fenaut wrote:
> 
>> Why is there no include/linux/version.h after having compiled -mm1
>>  and -mm2 ? Compilation of kernel is fine, but because of this, my
>>  nvidia modules won't compile.
>> 
>> As said in the subject, 2.6.4 vanilla is ok, version.h is here 
>> after compilation.
>> 
>> I use debian woody, and I type
>> 
>> make-kpkg --append-to-version -ff --revision 1 binary-arch 
>> make-kpkg --append-to-version -ff --revision 1 modules_image
> 
> I dunno make-kpkg, but 'make clean' became a bit more effective in 
> mm1. So now 'make clean' deletes version.h - maybe that's your 
> problem?

I didn't run neither make-clean nor make-kpkg clean, and however,
version.h is not here, even just after the compilation of the kernel.

And, to compile my modules successfully, I copied version.h from vanilla
to /usr/src/2.6.4-mm2/include/linux (and modified it the correct way).
Then I compiled my modules, and after that, my hand-made version.h is
still here, so make-kpkg doesn't delete anything.

=> version.h is _never_ created.

Thank you for your help.

--
Fabian


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.6.4-mm1 and -mm2: include/linux/version.h missing (vanilla ok)
  2004-03-15 18:04   ` Fabian Fenaut
@ 2004-03-15 18:43     ` Sam Ravnborg
  2004-03-15 19:19       ` Fabian Fenaut
  0 siblings, 1 reply; 5+ messages in thread
From: Sam Ravnborg @ 2004-03-15 18:43 UTC (permalink / raw)
  To: Fabian Fenaut; +Cc: Sam Ravnborg, linux-kernel, Andrew Morton

On Mon, Mar 15, 2004 at 07:04:23PM +0100, Fabian Fenaut wrote:
> 
> And, to compile my modules successfully, I copied version.h from vanilla
> to /usr/src/2.6.4-mm2/include/linux (and modified it the correct way).
> Then I compiled my modules, and after that, my hand-made version.h is
> still here, so make-kpkg doesn't delete anything.
> 
> => version.h is _never_ created.

Works for me - hmmm.
1) Could you check you have write access to include/linux
2) Show the output of a make (please, no magic debian shell scripts)
3) Set CLEAN_FILES equal nothing in top-level Makefile
   and try again.

Please mail the result of the above.

	Sam

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.6.4-mm1 and -mm2: include/linux/version.h missing (vanilla ok)
  2004-03-15 18:43     ` Sam Ravnborg
@ 2004-03-15 19:19       ` Fabian Fenaut
  0 siblings, 0 replies; 5+ messages in thread
From: Fabian Fenaut @ 2004-03-15 19:19 UTC (permalink / raw)
  To: Sam Ravnborg; +Cc: linux-kernel, Andrew Morton

Ok, it seems it was a debian-related problem. Make-kpkg runs "make
clean" _after_ compilation, and "make clean" from 2.6.4-mmX now deletes
version.h.

Workaround:
do_clean := NO
in /etc/kernel-pkg.conf (thanks to Juergen)

Thank you and sorry for the noise.

--
Fabian


Sam Ravnborg wrote:
> On Mon, Mar 15, 2004 at 07:04:23PM +0100, Fabian Fenaut wrote:
> 
>> And, to compile my modules successfully, I copied version.h from 
>> vanilla to /usr/src/2.6.4-mm2/include/linux (and modified it the 
>> correct way). Then I compiled my modules, and after that, my 
>> hand-made version.h is still here, so make-kpkg doesn't delete 
>> anything.
>> 
>> => version.h is _never_ created.
> 
> 
> Works for me - hmmm. 1) Could you check you have write access to 
> include/linux 2) Show the output of a make (please, no magic debian 
> shell scripts) 3) Set CLEAN_FILES equal nothing in top-level Makefile
>  and try again.
> 
> Please mail the result of the above.
> 
> Sam


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-03-15 19:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-15 14:35 2.6.4-mm1 and -mm2: include/linux/version.h missing (vanilla ok) Fabian Fenaut
2004-03-15 17:41 ` Sam Ravnborg
2004-03-15 18:04   ` Fabian Fenaut
2004-03-15 18:43     ` Sam Ravnborg
2004-03-15 19:19       ` Fabian Fenaut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox