Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jun 2005 11:02:50 -0700
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        david@students.ncl-coll.ac.uk
Cc:        freebsd-alpha@freebsd.org
Subject:   Re: kernel compile errors
Message-ID:  <82f9fb2d245711a3621b9a0b81401500@xcllnt.net>
In-Reply-To: <200506101052.39004.david@students.ncl-coll.ac.uk>
References:  <200506101052.39004.david@students.ncl-coll.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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@xcllnt.net




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?82f9fb2d245711a3621b9a0b81401500>