Skip to contentSkip to conversation

make modules_install fail: depmod *** Unresolved symbols (official

DISCUSSION [email protected] 3 participants 4 messages Mar 14, 2003 – Mar 17, 2003

lore
Share & tools
lore
#0 lore raw
Quoted 15 lines
			Granada, 14-3-2002

Hello, I downloaded kernel 2.4.20 and compiled it sucessfully a month ago without any aparent problem. Yesterday I tried to compile it again in the same computer just changing a couple of small things in the configuration (agpart and the network card changed from "module" to "yes").

make dep, make bzImage and make modules went apparently well (expect for a few apparently non-important warnings with bzImage of the type
Warning: indirect call without '*' when compiling pci-pc and apm).

But when I try make modules_install, I've got a lot of error messages. For each module I've got one line like:

Quoted 8 lines

depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/arch/i386/kernel/microcode.o

followed by a number of lines of the type

depmod:     misc_deregister
depmod:     __generic_copy_from_use
depmod:     .....

Download, compile and install Rusty's latest module-init-tools ftp.kernel.org/pub/linux/kernel/people/rusty/modules

---------------------------------------------
This message was sent using M-Web Airmail - JUST LIKE THAT
M-Web: S.A.'s most trusted and reliable Internet Service Provider.
http://airmail.mweb.co.za/

#1 lore raw
Quoted 18 lines · On Fri, 2003-03-14 at 16:03, [email protected] wrote:
Quoted 18 lines
			Granada, 14-3-2002

Hello, I downloaded kernel 2.4.20 and compiled it sucessfully a month ago without any aparent problem. Yesterday I tried to compile it again in the same computer just changing a couple of small things in the configuration (agpart and the network card changed from "module" to "yes").

make dep, make bzImage and make modules went apparently well (expect for a few apparently non-important warnings with bzImage of the type
Warning: indirect call without '*' when compiling pci-pc and apm).

But when I try make modules_install, I've got a lot of error messages. For each module I've got one line like:

depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/arch/i386/kernel/microcode.o

Quoted 9 lines
Quoted 5 lines

followed by a number of lines of the type

depmod:     misc_deregister
depmod:     __generic_copy_from_use
depmod:     .....

Download, compile and install Rusty's latest module-init-tools ftp.kernel.org/pub/linux/kernel/people/rusty/modules

Errr, he got 2.4.20, not 2.5.48+ ....

Miguel: Not a real fix, but try compiling microcode.o into the
kernel and not as a module ...

Regards,

Signature · 3 lines
Martin Schlemmer
Gentoo Linux Developer, Desktop Team
Cape Town, South Africa
#2 lore raw
Quoted 25 lines · On Fri, 14 Mar 2003 16:16:45 +0200 Martin Schlemmer <[email protected]> wrote:
Quoted 24 lines · On Fri, 2003-03-14 at 16:03, [email protected] wrote:
Quoted 23 lines
			Granada, 14-3-2002

Hello, I downloaded kernel 2.4.20 and compiled it sucessfully a month ago without any aparent problem. Yesterday I tried to compile it again in the same computer just changing a couple of small things in the configuration (agpart and the network card changed from "module" to "yes").

make dep, make bzImage and make modules went apparently well (expect for a few apparently non-important warnings with bzImage of the type
Warning: indirect call without '*' when compiling pci-pc and apm).

But when I try make modules_install, I've got a lot of error messages. For each module I've got one line like:

depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/arch/i386/kernel/microcode.o

followed by a number of lines of the type

depmod:     misc_deregister
depmod:     __generic_copy_from_use
depmod:     .....
Quoted 10 lines
Quoted 3 lines

Download, compile and install Rusty's latest module-init-tools ftp.kernel.org/pub/linux/kernel/people/rusty/modules

Errr, he got 2.4.20, not 2.5.48+ ....

Miguel: Not a real fix, but try compiling microcode.o into the
kernel and not as a module ...

Oops sorry I missed that (I've seen to many depmod errors after a cooker update and 2.5 compile bad me :{ )

#3 lore raw
In reply to Martin Schlemmer
Quoted 25 lines · Martin Schlemmer
Quoted 24 lines · On Fri, 2003-03-14 at 16:03, [email protected] wrote:
Quoted 23 lines
			Granada, 14-3-2002

Hello, I downloaded kernel 2.4.20 and compiled it sucessfully a month ago without any aparent problem. Yesterday I tried to compile it again in the same computer just changing a couple of small things in the configuration (agpart and the network card changed from "module" to "yes").

make dep, make bzImage and make modules went apparently well (expect for a few apparently non-important warnings with bzImage of the type
Warning: indirect call without '*' when compiling pci-pc and apm).

But when I try make modules_install, I've got a lot of error messages. For each module I've got one line like:

depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/arch/i386/kernel/microcode.o

followed by a number of lines of the type

depmod:     misc_deregister
depmod:     __generic_copy_from_use
depmod:     .....
Quoted 8 lines
Quoted 3 lines

Download, compile and install Rusty's latest module-init-tools ftp.kernel.org/pub/linux/kernel/people/rusty/modules

Errr, he got 2.4.20, not 2.5.48+ ....

Miguel: Not a real fix, but try compiling microcode.o into the
kernel and not as a module ...

Thanks a lot for your answers. Well, it is not only microcode.o. It happens for all compiled modules (at least, for a lot of them). Anyway, I can see that all modules have been copied to /lib/modules/2.4.20 and that the files modules.dep and modules.whatsoever have been created. A fast look to modules.dep makes me think that this file seems to be OK.

May I use this kernel and these modules after all ignoring the depmod errors or should I expect problems if I do so?

Thanks again.

Signature · 5 lines
-------------------------
Miguel Quirós Olozábal
Departamento de Química Inorgánica. Facultad de Ciencias.
Universidad de Granada. 18071 Granada (SPAIN).
email:[email protected]