[OpenAFS] Re: Build samba 3.2.2 with openafs 1.4.7
matt at linuxbox.com
Sun Sep 7 16:44:06 GMT 2008
-----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émes Géza wrote:
> Jeffrey Altman írta:
>> Gémes Géza wrote:
>>> Derrick Brashear írta:
>>>>> 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 are
>> 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-----
More information about the samba-technical