kernel linking

Garrett Cooper youshi10 at u.washington.edu
Tue Jun 5 15:19:33 UTC 2007


Garrett Cooper wrote:
> Attilio Rao wrote:
>> 2007/6/5, Krassimir Slavchev <krassi at bulinfo.net>:
>>> This is with latest -current on arm:
>>>
>>> linking kernel
>>> kern_intr.o(.text+0x15d8): In function `swi_sched':
>>> : undefined reference to `PCPU_LAZY_ADD'
>>> kern_synch.o(.text+0x210): In function `mi_switch':
>>> : undefined reference to `PCPU_LAZY_ADD'
>>> kern_thread.o(.text+0x9b4): In function `thread_exit':
>>> : undefined reference to `PCPU_LAZY_ADD'
>>> subr_trap.o(.text+0x180): In function `ast':
>>> : undefined reference to `PCPU_LAZY_ADD'
>>> nfs_bio.o(.text+0x11cc): In function `nfs_getpages':
>>> : undefined reference to `PCPU_LAZY_ADD'
>>> nfs_bio.o(.text+0x1620): more undefined references to 
>>> `PCPU_LAZY_ADD' follow
>>
>> These have been renamed.
>> Be sure you update all your src tree, then recompile by scratch your 
>> kernel.
>>
>> Attilio
>    Make sure NO_CLEAN isn't enabled and you might want to blow away 
> your kernel obj directories (/usr/obj/usr/sys?).
> -Garrett
>
Forgot to CC current at .

-Garrett


More information about the freebsd-current mailing list