[OpenAFS] Re: Build samba 3.2.2 with openafs 1.4.7
Sun, 07 Sep 2008 12:44:06 -0400
-----BEGIN PGP SIGNED MESSAGE-----
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
G=E9mes G=E9za wrote:
> Jeffrey Altman =EDrta:
>> G=E9mes G=E9za wrote:
>>> Derrick Brashear =EDrta:
>>>>> 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'
>>>> Either the linker is failing to try to link the openssl libraries or
>>>> you have a version which is too new.
>>> 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.
>> Look at the headers for openssl. You will see that DES_xxxx symbols a=
>> macros. I think you want one of the OLD DES options.
> 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.
> Thanks in advance
The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI 48104
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----