depmod return 0 even in case of unresolved symbol

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

 



I find randomly this in my compilation log (using depmod from
modules-init-tools-3.12)

# make new dependencies with all modules (stop on error with -u and display
error with -e)
depmod -aeu -F /boot/System.map-2.6.32-2 2.6.32-2
WARNING: /lib/modules/2.6.32-2/kernel/drivers/net/wan/wanpipe.ko.gz needs
unknown symbol wanpipe_wandev_timer_free
WARNING: /lib/modules/2.6.32-2/kernel/drivers/net/wan/wanpipe.ko.gz needs
unknown symbol wanpipe_wandev_timer_create

In fact, looking at the code, depmod -u actually does nothing, at least
since some versions.

Is there an interest to make depmod -u work again?
I have been able to cook a patch that make depmod return an error in case an
unknow symbol is found and -u option was used.

I have attached a preliminary patch that do that.
It need a bit more polishing in usage (text alignment) and manual.
I could send the patch from git next time, if there is an interest.

Gilles

Attachment: 0001-Report-again-unresolved-symbol-with-u-option.patch
Description: Binary data


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux