Patching 2.3.3.3 for build success

All about iMule
Post Reply
deployer
Posts: 3
Joined: 21 May 2022 11:21

Patching 2.3.3.3 for build success

Post by deployer »

Hello I2P world!

Building notes for iMule 2.3.3.3 in 2022:

Download and unpack sources: http://www.imule.i2p/files/download.php ... .3-src.tbz

Download and merge patched files: http://zzz.i2p/files/imule_2333_files_to_merge.tar.zstd

Then:

Code: Select all

./configure --disable-upnp
make -j5
Run:

Code: Select all

./src/imule
echelon
Posts: 261
Joined: 10 Feb 2018 13:36

Re: Patching 2.3.3.3 for build success

Post by echelon »

Please make a patch for the git on i2pgit.org

echelon
deployer
Posts: 3
Joined: 21 May 2022 11:21

Re: Patching 2.3.3.3 for build success

Post by deployer »

echelon wrote: 27 May 2022 08:43 Please make a patch for the git on i2pgit.org

echelon

Code: Select all

--- a/configure
+++ b/configure
@@ -14736,16 +14736,16 @@ main ()
 }
 
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-
-			result=yes
-			BFD_CPPFLAGS="-DHAVE_BFD"
-			BFD_LIBS="-lbfd -liberty ${bfd_ldadd}"
-			LIBS="$mule_backup_LIBS"
-			LDFLAGS="$mule_backup_LDFLAGS"
-			break
-
-fi
+# if ac_fn_c_try_link "$LINENO"; then :
+#
+#			result=yes
+#			BFD_CPPFLAGS="-DHAVE_BFD"
+#			BFD_LIBS="-lbfd -liberty ${bfd_ldadd}"
+#			LIBS="$mule_backup_LIBS"
+#			LDFLAGS="$mule_backup_LDFLAGS"
+#			break
+#
+# fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
 		LIBS="$mule_backup_LIBS"
--- a/src/ClientCreditsList.cpp
+++ b/src/ClientCreditsList.cpp
@@ -311,7 +311,7 @@ void CClientCreditsList::InitalizeCrypting()
                 // calculate and store public key
                 CryptoPP::RSASSA_PKCS1v15_SHA_Verifier pubkey(*static_cast<CryptoPP::RSASSA_PKCS1v15_SHA_Signer *>(m_pSignkey));
                 CryptoPP::ArraySink asink(m_abyMyPublicKey, 80);
-                pubkey.DEREncode(asink);
+                pubkey.GetKey().DEREncode(asink);
                 m_nMyPublicKeyLen = asink.TotalPutLength();
                 asink.MessageEnd();
                 
arowana
Posts: 29
Joined: 05 Sep 2018 20:55

Re: Patching 2.3.3.3 for build success

Post by arowana »

Windows version when? :D
deployer
Posts: 3
Joined: 21 May 2022 11:21

Re: Patching 2.3.3.3 for build success

Post by deployer »

arowana wrote: 28 Jun 2022 12:27 Windows version when? :D
I cannot test compilation for Windows.
Try to build with:
  • UPnP disabled;
  • wxwidgets 3.0 (gtk2, shared) (wxGTK);
  • Crypto++ 8.6.0 (cryptopp);
  • Bison 3.8.2;
  • zlib 1.2.12;
  • GCC 11.3.0.
Post Reply