All of lore.kernel.org
 help / color / mirror / Atom feed
* modversions problem with 2.5.48 + .49
@ 2002-11-27 16:22 Marc
  2002-11-27 16:37 ` John Bradford
  0 siblings, 1 reply; 4+ messages in thread
From: Marc @ 2002-11-27 16:22 UTC (permalink / raw)
  To: linux-kernel

Hi,

I cannot successfully make dep on either 2.5.48 or 2.5.49 . My steps are:

cd ~/kernel/
tar xvzf linux-2.5.49.tar.gz
cd linux-2.5.49
make mrproper
make config - (output below), choosing all default options except for 
processor type
make dep     - which fails with following output:

   Generating include/linux/version.h (updated)
   Making asm->asm-i386 symlink
   SPLIT  include/linux/autoconf.h -> include/config/*  
   Starting the build. KBUILD_BUILTIN=1 KBUILD_MODULES=
  make[1]: Nothing to be done for `include/linux/modversions.h'.

'make config' produced the following output:

   rm -f scripts/built-in.o; ar rcs scripts/built-in.o
   gcc -Wp,-MD,scripts/.fixdep.d -Wall -Wstrict-prototypes -O2 
-fomit-frame-pointer   -o scripts/fixdep scripts/fixdep.c
   gcc -Wp,-MD,scripts/.split-include.d -Wall -Wstrict-prototypes -O2 
-fomit-frame-pointer   -o scripts/split-include scripts/split-include.c
   gcc -Wp,-MD,scripts/.docproc.d -Wall -Wstrict-prototypes -O2 
-fomit-frame-pointer   -o scripts/docproc scripts/docproc.c
   gcc -Wp,-MD,scripts/.conmakehash.d -Wall -Wstrict-prototypes -O2 
-fomit-frame-pointer   -o scripts/conmakehash scripts/conmakehash.c
   cat scripts/kconfig/zconf.tab.h_shipped > scripts/kconfig/zconf.tab.h
   gcc -Wp,-MD,scripts/kconfig/.conf.o.d -Wall -Wstrict-prototypes -O2 
-fomit-frame-pointer   -c -o scripts/kconfig/conf.o scripts/kconfig/conf.c
  sed < scripts/kconfig/lkc_proto.h > scripts/kconfig/lkc_defs.h 
's/P(\([^,]*\),.*/#define \1 (\*\1_p)/'
   gcc -Wp,-MD,scripts/kconfig/.kconfig_load.o.d -Wall 
-Wstrict-prototypes -O2 -fomit-frame-pointer   -c -o 
scripts/kconfig/kconfig_load.o scripts/kconfig/kconfig_load.c
   gcc -Wp,-MD,scripts/kconfig/.mconf.o.d -Wall -Wstrict-prototypes -O2 
-fomit-frame-pointer   -c -o scripts/kconfig/mconf.o 
scripts/kconfig/mconf.c
   cat scripts/kconfig/zconf.tab.c_shipped > scripts/kconfig/zconf.tab.c
   cat scripts/kconfig/lex.zconf.c_shipped > scripts/kconfig/lex.zconf.c
   gcc -Wp,-MD,scripts/kconfig/.zconf.tab.o.d -fPIC -Wall 
-Wstrict-prototypes -O2 -fomit-frame-pointer  -Iscripts/kconfig -c -o 
scripts/kconfig/zconf.tab.o scripts/kconfig/zconf.tab.c
   gcc  -shared -o scripts/kconfig/libkconfig.so 
scripts/kconfig/zconf.tab.o  gcc  -o scripts/kconfig/conf 
scripts/kconfig/conf.o scripts/kconfig/libkconfig.so 
./scripts/kconfig/conf arch/i386/Kconfig
  #
  # using defaults found in arch/i386/defconfig
  #
  arch/i386/defconfig:27: trying to assign nonexistent symbol MODVERSIONS
  arch/i386/defconfig:282: trying to assign nonexistent symbol 
SD_EXTRA_DEVS
  arch/i386/defconfig:287: trying to assign nonexistent symbol 
SR_EXTRA_DEVS
  arch/i386/defconfig:1015: trying to assign nonexistent symbol 
USB_UHCI_HCD_ALT
  *
  * Linux Kernel Configuration
  ...etc

So the problem seems to be that the MODVERSIONS option isn't picked up 
by Kconfig but 'make dep' looks for modversions.h anyway and falls over 
when it doesn't find it. I've tried fiddling with the configuration 
options (added modversions in manually, changed the module options etc.) 
but never get anywhere. This wasn't a problem up to 2.5.47, but the last 
two kernels both behave the same way. And I've tried it on two different 
machines with exactly the same result. What's even more puzzling to me 
is that nobody else seems to be having this problem since I can't find 
any reference on here or anywhere else on the net. So I must be making 
some weirdly stupid mistake. Could somebody please tell me what it is?

Thanks a bunch,

Marc


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

* Re: modversions problem with 2.5.48 + .49
  2002-11-27 16:22 modversions problem with 2.5.48 + .49 Marc
@ 2002-11-27 16:37 ` John Bradford
  2002-11-27 16:56   ` Marc
  0 siblings, 1 reply; 4+ messages in thread
From: John Bradford @ 2002-11-27 16:37 UTC (permalink / raw)
  To: Marc; +Cc: linux-kernel

> I cannot successfully make dep on either 2.5.48 or 2.5.49

You don't need to anymore.

> My steps are:
> 
> cd ~/kernel/
> tar xvzf linux-2.5.49.tar.gz
> cd linux-2.5.49
> make mrproper
> make config - (output below), choosing all default options except for 
> processor type
> make dep     - which fails with following output:

Try:

cd ~/kernel/
tar -xvzf linux-2.5.49.tar.gz
cd linux-2.5.49
make config, (or make menuconfig, etc)
make bzImage
cp arch/i386/boot/bzImage /path/to/kernel/images

then configure your bootloader and reboot.

John.

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

* Re: modversions problem with 2.5.48 + .49
  2002-11-27 16:37 ` John Bradford
@ 2002-11-27 16:56   ` Marc
  2002-11-27 17:33     ` Who maintains README? (Was: modversions problem with 2.5.48 + .49) John Bradford
  0 siblings, 1 reply; 4+ messages in thread
From: Marc @ 2002-11-27 16:56 UTC (permalink / raw)
  To: John Bradford; +Cc: linux-kernel

John Bradford wrote:

>>I cannot successfully make dep on either 2.5.48 or 2.5.49
>>    
>>
>
>You don't need to anymore.
>  
>
*boggle*...See, I knew I was being thick ;-). Thanks a lot John!

Might I respectfully suggest the 'make dep' step be removed from the 
kernel main README-file then? Or am I the only one naive enough to 
actually go ahead and read it ;-)?

Marc


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

* Who maintains README?  (Was: modversions problem with 2.5.48 + .49)
  2002-11-27 16:56   ` Marc
@ 2002-11-27 17:33     ` John Bradford
  0 siblings, 0 replies; 4+ messages in thread
From: John Bradford @ 2002-11-27 17:33 UTC (permalink / raw)
  To: Marc; +Cc: linux-kernel

> >>I cannot successfully make dep on either 2.5.48 or 2.5.49
> >You don't need to anymore.
> *boggle*...See, I knew I was being thick ;-). Thanks a lot John!
> Might I respectfully suggest the 'make dep' step be removed from the 
> kernel main README-file then?

Yes, it should be updated.  Also, the instructions for patching the
kernel are wrong, -p1 is now in use, not -p0.

Who actually maintains the README?

John.

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

end of thread, other threads:[~2002-11-27 17:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-27 16:22 modversions problem with 2.5.48 + .49 Marc
2002-11-27 16:37 ` John Bradford
2002-11-27 16:56   ` Marc
2002-11-27 17:33     ` Who maintains README? (Was: modversions problem with 2.5.48 + .49) John Bradford

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.