warning: KLD '/boot/kernel/pflog.ko' is newer than the linker.hints file

On a system maintained previously with freebsd-update, after a make buildworld from 9.1-RELEASE-p2 this warning is issued:
Code:
# uname -a
FreeBSD  9.1-RELEASE-p6 FreeBSD 9.1-RELEASE-p6 /usr/obj/usr/src/sys/GENERIC  i386
# dmesg -a | grep warning
warning: KLD '/boot/kernel/pflog.ko' is newer than the linker.hints file
warning: KLD '/boot/kernel/pf.ko' is newer than the linker.hints file

I tried to find some information, but I cannot solve the problem. The same warning is also issued with a custom built kernel. Any hints are welcome.
 
Just had a similar problem.
I run kldxref but the problem remained.
Why doesn't " make installkernel" "make installworld" create a correct linker.hints file ?
[My system boots though]
 
Maybe some contents in the hints file is no longer referenced due to the removal of a module.
But shouldn't
Code:
kldxref /boot/kernel
kldxref  /boot/modules
kldxref  -R /boot
Fix it ?
 
Roll back make.conf and see if it fixes this error. If not maybe its KERNCONF trimming trouble.

Are you sure it isn't a make clean type error. That is my first thought.
 
I'm currently reinstalling all ports and see if it goes away.
If not , tomorrow I remove "without_modules" from make.conf , and rebuild world & kernel.
 
Back
Top