[OpenAFS] Re: Build samba 3.2.2 with openafs 1.4.7

Matt Benjamin matt@linuxbox.com
Sun, 07 Sep 2008 12:44:06 -0400


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Dude,

The CHANGES file in the source for openssl-0.98g has this to say, I draw
your attention to paragraph 2:

     There are also macros that enable and disable the support of old
     des functions altogether.  Those are OPENSSL_ENABLE_OLD_DES_SUPPORT
     and OPENSSL_DISABLE_OLD_DES_SUPPORT.  If none or both of those
     are defined, the default will apply: to support the old des routines.

     In either case, one must include openssl/des.h to get the correct
     definitions.  Do not try to just include openssl/des_old.h, that
     won't work.

good luck,

Matt

G=E9mes G=E9za wrote:
> Jeffrey Altman =EDrta:
>> G=E9mes G=E9za wrote:
>>  =20
>>> Derrick Brashear =EDrta:
>>>    =20
>>  =20
>>>>> Compiling smbd/server.c
>>>>> Linking bin/smbd
>>>>> bin/smbd.a(afs.o): In function `afs_createtoken':
>>>>> afs.c:(.text+0x2b7): undefined reference to `DES_key_sched'
>>>>> afs.c:(.text+0x2e9): undefined reference to `DES_pcbc_encrypt'
>>>>>    =20
>>>>>        =20
>>>> Either the linker is failing to try to link the openssl libraries or
>>>> you have a version which is too new.
>>>>  =20
>>>>      =20
>>> My openssl version is 0.9.8g
>>>
>>> I've run the make process under strace as well, but even with the -f
>>> option I couldn't see anything relevant.
>>>    =20
>> Look at the headers for openssl.  You will see that DES_xxxx symbols a=
re
>> macros.  I think you want one of the OLD DES options.
>>
>>
>>
>>  =20
> Hi,
>=20
> After some googling I've gave up could you send me some pointers about
> using the old des options including des_old.h doesn't seem to work.
>=20
> Thanks in advance
>=20
> Geza




- --

Matt Benjamin

The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI  48104

http://linuxbox.com

tel. 734-761-4689
fax. 734-769-8938
cel. 734-216-5309

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIxATWJiSUUSaRdSURCB5ZAJ9wQ3A2nu3wcw/0wLqMfXRTep8qPACbBNb5
s05wIse52skU24/41LV+IEg=3D
=3DN9CT
-----END PGP SIGNATURE-----