clean for kernel build

Fraser Tweedale frase at frase.id.au
Tue Apr 22 21:17:17 UTC 2008


`make buildkernel` in /usr/src does a clean before building.  You most 
likely are missing something in your kernel config (i.e. a device that 
is depended on by another device).

frase

Andrew Falanga wrote:
> How does one clean the build environment for the kernel?  I'm building
> a custom kernel for IPSec and when it got to the linking phase of the
> build, the build process bailed with many linking errors:
> 
> xform_ah.o(.text+0x15): In function `ah_algorithm_lookup':
> : undefined reference to `auth_hash_hmac_sha2_512'
> xform_ah.o(.text+0x25): In function `ah_algorithm_lookup':
> : undefined reference to `auth_hash_key_md5'
> xform_ah.o(.text+0x35): In function `ah_algorithm_lookup':
> : undefined reference to `auth_hash_hmac_ripemd_160'
> xform_ah.o(.text+0x3f): In function `ah_algorithm_lookup':
> : undefined reference to `auth_hash_hmac_sha1'
> xform_ah.o(.text+0x4f): In function `ah_algorithm_lookup':
> : undefined reference to `auth_hash_hmac_md5'
> 
> Many more lines that look very similar to this.  I'm thinking that it
> might be something left over from the last time I rebuilt the kernel
> (which on this system is when it went from 6.2-RELEASE to
> 7.0-RELEASE).  So, what make target will clean what I need it to
> clean, and are there any other directions similar to what can be found
> in the handbook for when rebuilding world?  (This time I don't want to
> rebuild world, I just need a new kernel.)
> 
> Andy
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080422/2ec1b839/signature.pgp


More information about the freebsd-questions mailing list