Hi, Vit.
I'm using pure (not upgrading) FreeBSD 7.0-RELEASE.
And I never met such situation.
Have you update successfully?
I guess that some of openssl stuff is not the exact same.
If you can accept to re-install everything,
it must work.
Thanks,
On Fri, 10 Oct 2008 15:12:38 +0200
Vit Pelcak <vpelcak@suse.cz> wrote:
> Hi.
>
> After experiencing failures with v6eval testing suite, I was suggested to
> update FreeBSD. PC tn was old machine with FreeBSD 4.3, so I upgraded to
> FreeBSD 7.
>
> However, now I cannot compile v6eval at all.
>
> # make
> ===> lib (depend)
> ===> lib/Cm (depend)
> rm -f .depend GPATH GRTAGS GSYMS GTAGS
> rm -f .depend
> mkdep -f .depend -a -DYYDEBUG -I. -I/usr/local/include CmTypes.cc
> BtObject.cc BtArray.cc BtList.cc BtSet.cc CmQueue.cc CmAgent.cc CmMain.cc
> CmSocket.cc CmFdSet.cc CmFdMasks.cc CmString.cc PerfCollect.cc Timer.cc
> CmDispatch.cc CmReceiver.cc timeval.cc CmToken.cc CmMatch.cc CmLexer.cc
> ===> lib/Pz (depend)
> rm -f .depend GPATH GRTAGS GSYMS GTAGS
> rm -f .depend
> mkdep -f .depend -a -I../Cm -I. -DYYDEBUG
> /mnt/rest/vpelcak/tests/v6eval-3.0.15/lib/Pz/crypto/rijndael/rijndael-alg-
> fst.c /mnt/rest/vpelcak/tests/v6eval-3.0.15/lib/Pz/crypto/rijndael/rijndael-
> api-fst.c
> mkdep -f .depend -a -I../Cm -I. -DYYDEBUG -I../Cm -I.
> -I/usr/local/include
> DmObject.cc ItPosition.cc McAH.cc McARP.cc McAlgorithm.cc McDHCPv6.cc
> McDNS.cc
> McESP.cc McEther.cc McICMPv4.cc McICMPv6.cc McIGMP.cc McIKE.cc McIPv4.cc
> McIPv6.cc McInit.cc McMLDv2.cc McMobility.cc McNoNext.cc McNull.cc
> McObject.cc
> McRIPng.cc McRR.cc McSIP.cc McSNMP.cc McSub.cc McTCP.cc McUDP.cc McVRRP.cc
> MfAlgorithm.cc MmChecksum.cc MmData.cc MmHeader.cc MmObject.cc
> MvArgCheck.cc
> MvFunction.cc PAlgorithm.cc PControl.cc PObject.cc PcObject.cc PlObject.cc
> PrItem.cc PvAction.cc PvAutoItem.cc PvIfName.cc PvName.cc PvObject.cc
> PvOctets.cc RObject.cc WObject.cc
> In file included from MfAlgorithm.h:51,
> from McIKE.cc:61:
> /usr/include/openssl/rc5.h:69:2: error: #error RC5 is disabled.
> In file included from MfAlgorithm.h:51,
> from MfAlgorithm.cc:45:
> /usr/include/openssl/rc5.h:69:2: error: #error RC5 is disabled.
> In file included from MfAlgorithm.h:51,
> from PAlgorithm.cc:50:
> /usr/include/openssl/rc5.h:69:2: error: #error RC5 is disabled.
> mkdep: compile failed
> *** Error code 1
>
> Stop in /mnt/rest/vpelcak/tests/v6eval-3.0.15/lib/Pz.
> *** Error code 1
>
> Stop in /mnt/rest/vpelcak/tests/v6eval-3.0.15/lib.
> *** Error code 1
>
> Stop in /mnt/rest/vpelcak/tests/v6eval-3.0.15.
>
> I've discovered, that problem is in /usr/include/openssl/rc5.h
>
> #ifdef OPENSSL_NO_RC5
> #error RC5 is disabled.
> #endif
>
> I tried to install openssl 0.9.8h_1 from ports (it has bug when include
> headers aren't installed, but I copied them to appropriate place).
>
> However, this didn't help. Result is same.
>
> I tried to comment out line "#error RC5 is disabled." from
> /usr/include/openssl/rc5.h. It continues compiling, but I get this error
> message later:
>
> ../../lib/Pz/libPz.a(MfAlgorithm.o)(.text+0x76c6): In function
> `MfRC5::scheduleKeys(PObject const*, rc5_key_st&) const':
> /mnt/rest/vpelcak/tests/v6eval-3.0.15/lib/Pz/MfAlgorithm.cc:226: undefined
> reference to `RC5_32_set_key'
> ../../lib/Pz/libPz.a(MfAlgorithm.o)(.text+0x7723): In function
> `MfRC5::decrypt(unsigned char*, unsigned char*, unsigned int, PObject
> const*,
> unsigned char*)const':
> /mnt/rest/vpelcak/tests/v6eval-3.0.15/lib/Pz/MfAlgorithm.cc:236: undefined
> reference to `RC5_32_cbc_encrypt'
> ../../lib/Pz/libPz.a(MfAlgorithm.o)(.text+0x7783): In function
> `MfRC5::encrypt(unsigned char*, unsigned char*, unsigned int, PObject
> const*,
> unsigned char*)const':
> /mnt/rest/vpelcak/tests/v6eval-3.0.15/lib/Pz/MfAlgorithm.cc:231: undefined
> reference to `RC5_32_cbc_encrypt'
> *** Error code 1
>
> Stop in /mnt/rest/vpelcak/tests/v6eval-3.0.15/bin/pktsend.
> *** Error code 1
>
> Stop in /mnt/rest/vpelcak/tests/v6eval-3.0.15/bin.
> *** Error code 1
>
> Stop in /mnt/rest/vpelcak/tests/v6eval-3.0.15.
>
> Is there any workaround?0
>
> Thank you for any help.
>
> Regards
> Vit Pelcak
>
>
--
Yukiyo Akisada <akisada@tahi.org>