modversions problem with 2.5.48

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I cannot get either 2.5.48 or 2.5.49 to compile. 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 it anyway and falls over. I've tried fiddling with the configuration options (added modversions in manually, changed the module options etc.) but always had the same result. 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 lkml, 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 muchly,

Marc


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux