kernel compile errors

Marcel Moolenaar marcel at xcllnt.net
Fri Jun 10 18:02:58 GMT 2005


On Jun 10, 2005, at 2:52 AM, David wrote:

> Building a kernel on an Alpha DS20E and am receiving the following...
>
> linking kernel
> smb_crypt.o(.text+0x18c): In function `smb_E':
> : undefined reference to `des_set_key'
> smb_crypt.o(.text+0x190): In function `smb_E':
> : undefined reference to `des_set_key'
> smb_crypt.o(.text+0x1ac): In function `smb_E':
> : undefined reference to `des_ecb_encrypt'
> smb_crypt.o(.text+0x1b0): In function `smb_E':
> : undefined reference to `des_ecb_encrypt'
> *** Error code 1
>
> Stop in /usr/obj/usr/src/sys/ADMPROXY.
> *** Error code 1

On alpha you need to add
	options	CRYPTO

On i386 and amd64 this is implied (i.e. the DES code is automatically 
included when NETSMBCRYPTO is present). I think this can be considered
a bug on alpha (and ia64, sparc64 and powerpc).

-- 
  Marcel Moolenaar         USPA: A-39004          marcel at xcllnt.net



More information about the freebsd-alpha mailing list