aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: Howto Compile aMule SVN to Debian 8.5 Arch64  (Read 2151 times)

klode82

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25
Howto Compile aMule SVN to Debian 8.5 Arch64
« on: September 09, 2016, 12:17:41 PM »

HI,
I'm trying to compile aMule SVN to my new Pine64A+ with Debian LXDE 8.5 on board.

With commands you've request for help:

Code: [Select]
debian@pine64:~$ ls -l /usr/bin/wx*
ls: cannot access /usr/bin/wx*: No such file or directory
debian@pine64:~$ ls -l /usr/local/bin/wx*
ls: cannot access /usr/local/bin/wx*: No such file or directory
debian@pine64:~$ rpm -qa | grep wx
bash: rpm: command not found
debian@pine64:~$ sudo apt-get install wxwidgets
[sudo] password for debian:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package wxwidgets
debian@pine64:~$



So, when I'm trying to compile aMule I get this error:
Code: [Select]

debian@pine64:~/src/amule$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... ./config.guess: unable to guess system type

This script, last modified 2009-11-20, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
and
  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD

If the version you run (./config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to <config-patches@gnu.org> in order to provide the needed
information to handle your system.

config.guess timestamp = 2009-11-20

uname -m = aarch64
uname -r = 3.10.102-2-pine64-longsleep
uname -s = Linux
uname -v = #66 SMP PREEMPT Sat Jul 16 10:53:13 CEST 2016

/usr/bin/uname -p =
/bin/uname -X     =

hostinfo               =
/bin/universe          =
/usr/bin/arch -k       =
/bin/arch              =
/usr/bin/oslevel       =
/usr/convex/getsysinfo =

UNAME_MACHINE = aarch64
UNAME_RELEASE = 3.10.102-2-pine64-longsleep
UNAME_SYSTEM  = Linux
UNAME_VERSION = #66 SMP PREEMPT Sat Jul 16 10:53:13 CEST 2016
configure: error: cannot guess build type; you must specify one
debian@pine64:~/src/amule$



Now, Indeed I need of wxWidgets in order to compile aMule, but it does not start because the build type is not defined. How can I define build type?

Logged

klode82

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25
Re: Howto Compile aMule SVN to Debian 8.5 Arch64
« Reply #1 on: September 09, 2016, 12:42:07 PM »

Small update I've update the config.guess file using the link in the error message, and now I got this:

Code: [Select]

debian@pine64:~/src/amule$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... aarch64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking if this is a FreeBSD 4 or earlier system... no
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for gawk... (cached) gawk
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether make sets $(MAKE)... (cached) yes
checking for flex... no
checking for lex... no
checking for ranlib... ranlib
checking for a sed that does not truncate output... /bin/sed
checking for bison... no
checking for byacc... no
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for ar... ar
checking for ld... ld
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... yes
checking for zlib >= 1.1.4... yes (version 1.2.8)
checking for File::Copy... ok
checking for the --with-toolkit option... will be automatically detected
checking for the --with-wxshared option... will be automatically detected
checking for the --with-wxdebug option... will be automatically detected
checking for the --with-wxversion option... will be automatically detected
checking for wx-config... no
configure: error:
wxWidgets must be installed on your system but wx-config
script couldn't be found. Please check that wx-config is
in path or specified by --with-wx-config=path flag, the
directory where wxWidgets libraries are installed (returned
by 'wx-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and wxWidgets version is 2.8.12 or above.

debian@pine64:~/src/amule$ sudo apt-get install wxWidgets
[sudo] password for debian:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package wxWidgets
debian@pine64:~/src/amule$


Logged

klode82

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25
Re: Howto Compile aMule SVN to Debian 8.5 Arch64
« Reply #2 on: September 09, 2016, 04:21:53 PM »

Another update...
I'm working on install wxWidgets. I've downloaded the new version 3.1.0, the configure got me the same error for the config.guess, but it need of libgtk-3-dev, but it seems to be a broken package. Now I am on a breakpoint again!

Logged

klode82

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25
Re: Howto Compile aMule SVN to Debian 8.5 Arch64
« Reply #3 on: September 10, 2016, 05:20:26 PM »

So, here I am with a new update.

I was trying to install wxWidgets, but it get me an error, unable to find libgtk-3-dev.

So I was working on install libgtk-3-dev on Debian Longsleep 8.5, for my PineA64+.

With command:

Code: [Select]
sudo apt-get install libgtk-3-dev

I got some error:

Code: [Select]
The following packages have unmet dependencies:
  libgtk-3-dev : Depends: libglib2.0-dev (>= 2.37.5) but it is not going to be installed
                 Depends: libgdk-pixbuf2.0-dev (>= 2.27.1) but it is not going to be installed
                 Depends: libpango1.0-dev (>= 1.32.4) but it is not going to be installed
                 Depends: libatk1.0-dev (>= 2.7.5) but it is not going to be installed
                 Depends: libatk-bridge2.0-dev but it is not going to be installed
                 Depends: libcairo2-dev (>= 1.13.0~20140204) but it is not going to be installed
 E: Unable to correct problems, you have held broken packages.

After some readings on Internet, I got a possible solution. The problem consists on different versions installed on my distro. The version required from package is minor rather than the version installed. So, I was used aptitude, and it helps me to choose the right version to get:



Code: [Select]
sudo aptitude install libgtk-3-dev

So I've made a downgrade of some library (like libglib2.0).



After that, I've installed finally wxWidgets.
So, I've made the first configure command, and I get some warnings about btd.h not found and libupnp not found. For the first error, I've installed the package binutils-dev, then I've set this configure command:;

Code: [Select]
./configure --with-crypto-prefix=/home/debian/src/amule/cryptopp --disable-debug --disable-optimize --with-libupnp-prefix=/usr/lib/aarch64-linux-gnu/ --with-gdlib-config=/usr/lib/aarch64-linux-gnu

The configure was gone well, but in make, I got this error:

Code: [Select]

g++ -DHAVE_CONFIG_H -I. -I..  -DUSE_WX_EXTENSIONS -I/usr/local/lib/wx/include/gtk3-unicode-static-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -I./libs -I./include -I/usr/include/upnp  -DENABLE_UPNP=1   -W -Wall -Wshadow -Wundef  -MT libmuleappgui_a-listctrl.o -MD -MP -MF .deps/libmuleappgui_a-listctrl.Tpo -c -o libmuleappgui_a-listctrl.o `test -f 'extern/wxWidgets/listctrl.cpp' || echo './'`extern/wxWidgets/listctrl.cpp
In file included from extern/wxWidgets/listctrl.cpp:26:0:
extern/wxWidgets/listctrl.h:173:5: warning: "WXWIN_COMPATIBILITY_2_6" is not defined [-Wundef]
 #if WXWIN_COMPATIBILITY_2_6
     ^
extern/wxWidgets/listctrl.cpp:5324:5: warning: "WXWIN_COMPATIBILITY_2_6" is not defined [-Wundef]
 #if WXWIN_COMPATIBILITY_2_6
     ^


Something goes wrong...

Logged

klode82

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25
Re: Howto Compile aMule SVN to Debian 8.5 Arch64
« Reply #4 on: September 10, 2016, 10:33:34 PM »

So, I've recompile with wxWidgets 3.0.2, then I've recompiled again crypto++ library. When I was finally completed the compiling of aMule, I got this error:

Code: [Select]
Fatal Error: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1002,wx containers,compatible with 2.8),
and wxCore used 3.0 (wchar_t,compiler with C++ ABI 1002,wx containers,compatible with 2.6,compatible with 2.8).
Aborted

So now I'm going to recompile with wxWidgets 2.8  :'(
Logged

klode82

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25
Re: Howto Compile aMule SVN to Debian 8.5 Arch64
« Reply #5 on: September 11, 2016, 07:20:55 AM »

So, with my surprise, wxWidgets 2.8 cannot be installed on this distro.
So, I've tried to recompile wxWidgets 3.0.2 (I've readed on Internet this is the only version compatible with aMule SVN).
I've removed all wx* files into /usr/local/bin, then I've recompiled wxWidgets 3.0.2, then I've compiled again aMule SVN. All things done.

BUT, when I try to run aMule from Terminal, I get this error:

Code: [Select]
2016-09-11 07:16:29: Initialising aMule SVN compiled with wxGTK2 v3.0.2 (Snapshot: rev. 10950)
 2016-09-11 07:16:29: Checking if there is an instance already running...
 2016-09-11 07:16:29: No other instances are running.
07:16:30 AM: Debug: Failed to connect to session manager: SESSION_MANAGER environment variable not defined
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

Can this be resolved???

Logged

klode82

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25
Re: Howto Compile aMule SVN to Debian 8.5 Arch64
« Reply #6 on: September 12, 2016, 07:57:42 AM »

I've executed amule with option -o, to see log during execution. I've found some issue.

first of all, amule remains to 100% on using CPU (one of the core) during creation of cryptkey.dat. So i've created myself the cryptkey.dat (an empty file) and when I've rerun again amule I got this:

Code: [Select]
2016-09-12 07:53:13: amuleAppCommon.cpp(335): Initialising aMule SVN compiled with wxGTK2 v3.0.2 (Debugging) (Snapshot: rev. 10950)
 2016-09-12 07:53:13: amuleAppCommon.cpp(382): Checking if there is an instance already running...
 2016-09-12 07:53:13: amuleAppCommon.cpp(413): No other instances are running.
07:53:13 AM: Debug: Failed to connect to session manager: SESSION_MANAGER environment variable not defined
 2016-09-12 07:53:14: ListenSocket.cpp(67): ListenSocket: Ok.
 2016-09-12 07:53:15: DownloadQueue.cpp(113): Loading temp files from /home/debian/.aMule/Temp.
 2016-09-12 07:53:15: DownloadQueue.cpp(163): All PartFiles Loaded.

(amule:16972): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(amule:16972): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(amule:16972): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 127

Now, aMule does not respond to my command.
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 163
  • Offline Offline
  • Posts: 2688
Re: Howto Compile aMule SVN to Debian 8.5 Arch64
« Reply #7 on: September 12, 2016, 01:55:12 PM »

Please post the output of
Code: [Select]
ldd amule
Logged
concordia cum veritate

klode82

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25
Re: Howto Compile aMule SVN to Debian 8.5 Arch64
« Reply #8 on: September 12, 2016, 04:55:45 PM »

This is the result of ldd amule:

Code: [Select]
        linux-vdso.so.1 (0x0000007f9cfd1000)
        libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000007f9cf87000)
        libbfd-2.25-system.so => /usr/lib/libbfd-2.25-system.so (0x0000007f9ce89000)
        libz.so.1 => /lib/aarch64-linux-gnu/libz.so.1 (0x0000007f9ce5f000)
        libcryptopp.so => not found
        libupnp.so.6 => /usr/lib/aarch64-linux-gnu/libupnp.so.6 (0x0000007f9ce1d000)
        libthreadutil.so.6 => /usr/lib/aarch64-linux-gnu/libthreadutil.so.6 (0x0000007f9ce05000)
        libixml.so.2 => /usr/lib/aarch64-linux-gnu/libixml.so.2 (0x0000007f9cde9000)
        libwx_gtk3u_adv-3.0.so.0 => /usr/local/lib/libwx_gtk3u_adv-3.0.so.0 (0x0000007f9cbda000)
        libwx_gtk3u_core-3.0.so.0 => /usr/local/lib/libwx_gtk3u_core-3.0.so.0 (0x0000007f9c536000)
        libwx_baseu_net-3.0.so.0 => /usr/lib/aarch64-linux-gnu/libwx_baseu_net-3.0.so.0 (0x0000007f9c4d7000)
        libwx_baseu-3.0.so.0 => /usr/lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0 (0x0000007f9c21b000)
        libstdc++.so.6 => /usr/lib/aarch64-linux-gnu/libstdc++.so.6 (0x0000007f9c101000)
        libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000007f9c061000)
        libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x0000007f9c03f000)
        libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000007f9bef1000)
        /lib/ld-linux-aarch64.so.1 (0x0000005575c09000)
        libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x0000007f9bede000)
        libgtk-3.so.0 => /usr/lib/aarch64-linux-gnu/libgtk-3.so.0 (0x0000007f9b8e1000)
        libgdk-3.so.0 => /usr/lib/aarch64-linux-gnu/libgdk-3.so.0 (0x0000007f9b832000)
        libpangocairo-1.0.so.0 => /usr/lib/aarch64-linux-gnu/libpangocairo-1.0.so.0 (0x0000007f9b817000)
        libpango-1.0.so.0 => /usr/lib/aarch64-linux-gnu/libpango-1.0.so.0 (0x0000007f9b7c0000)
        libatk-1.0.so.0 => /usr/lib/aarch64-linux-gnu/libatk-1.0.so.0 (0x0000007f9b78d000)
        libcairo-gobject.so.2 => /usr/lib/aarch64-linux-gnu/libcairo-gobject.so.2 (0x0000007f9b774000)
        libcairo.so.2 => /usr/lib/aarch64-linux-gnu/libcairo.so.2 (0x0000007f9b682000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/aarch64-linux-gnu/libgdk_pixbuf-2.0.so.0 (0x0000007f9b655000)
        libgio-2.0.so.0 => /usr/lib/aarch64-linux-gnu/libgio-2.0.so.0 (0x0000007f9b507000)
        libgobject-2.0.so.0 => /usr/lib/aarch64-linux-gnu/libgobject-2.0.so.0 (0x0000007f9b4ae000)
        libgthread-2.0.so.0 => /usr/lib/aarch64-linux-gnu/libgthread-2.0.so.0 (0x0000007f9b49c000)
        libglib-2.0.so.0 => /lib/aarch64-linux-gnu/libglib-2.0.so.0 (0x0000007f9b39b000)
        libX11.so.6 => /usr/lib/aarch64-linux-gnu/libX11.so.6 (0x0000007f9b26c000)
        libXxf86vm.so.1 => /usr/lib/aarch64-linux-gnu/libXxf86vm.so.1 (0x0000007f9b257000)
        libSM.so.6 => /usr/lib/aarch64-linux-gnu/libSM.so.6 (0x0000007f9b23f000)
        libpng12.so.0 => /lib/aarch64-linux-gnu/libpng12.so.0 (0x0000007f9b20e000)
        libjpeg.so.62 => /usr/lib/aarch64-linux-gnu/libjpeg.so.62 (0x0000007f9b1b9000)
        libtiff.so.5 => /usr/lib/aarch64-linux-gnu/libtiff.so.5 (0x0000007f9b141000)
        libgmodule-2.0.so.0 => /usr/lib/aarch64-linux-gnu/libgmodule-2.0.so.0 (0x0000007f9b12c000)
        libXi.so.6 => /usr/lib/aarch64-linux-gnu/libXi.so.6 (0x0000007f9b10d000)
        libXcomposite.so.1 => /usr/lib/aarch64-linux-gnu/libXcomposite.so.1 (0x0000007f9b0f9000)
        libXdamage.so.1 => /usr/lib/aarch64-linux-gnu/libXdamage.so.1 (0x0000007f9b0e6000)
        libXfixes.so.3 => /usr/lib/aarch64-linux-gnu/libXfixes.so.3 (0x0000007f9b0d0000)
        libatk-bridge-2.0.so.0 => /usr/lib/aarch64-linux-gnu/libatk-bridge-2.0.so.0 (0x0000007f9b095000)
        libpangoft2-1.0.so.0 => /usr/lib/aarch64-linux-gnu/libpangoft2-1.0.so.0 (0x0000007f9b072000)
        libfontconfig.so.1 => /usr/lib/aarch64-linux-gnu/libfontconfig.so.1 (0x0000007f9b02c000)
        libfreetype.so.6 => /usr/lib/aarch64-linux-gnu/libfreetype.so.6 (0x0000007f9af8d000)
        libXinerama.so.1 => /usr/lib/aarch64-linux-gnu/libXinerama.so.1 (0x0000007f9af7a000)
        libXrandr.so.2 => /usr/lib/aarch64-linux-gnu/libXrandr.so.2 (0x0000007f9af60000)
        libXcursor.so.1 => /usr/lib/aarch64-linux-gnu/libXcursor.so.1 (0x0000007f9af46000)
        libwayland-client.so.0 => /usr/lib/aarch64-linux-gnu/libwayland-client.so.0 (0x0000007f9af2a000)
        libxkbcommon.so.0 => /usr/lib/aarch64-linux-gnu/libxkbcommon.so.0 (0x0000007f9aee2000)
        libwayland-cursor.so.0 => /usr/lib/aarch64-linux-gnu/libwayland-cursor.so.0 (0x0000007f9aeca000)
        libXext.so.6 => /usr/lib/aarch64-linux-gnu/libXext.so.6 (0x0000007f9aeaa000)
        librt.so.1 => /lib/aarch64-linux-gnu/librt.so.1 (0x0000007f9ae92000)
        libthai.so.0 => /usr/lib/aarch64-linux-gnu/libthai.so.0 (0x0000007f9ae7a000)
        libpixman-1.so.0 => /usr/lib/aarch64-linux-gnu/libpixman-1.so.0 (0x0000007f9ae0b000)
        libxcb-shm.so.0 => /usr/lib/aarch64-linux-gnu/libxcb-shm.so.0 (0x0000007f9adf8000)
        libxcb-render.so.0 => /usr/lib/aarch64-linux-gnu/libxcb-render.so.0 (0x0000007f9ade0000)
        libxcb.so.1 => /usr/lib/aarch64-linux-gnu/libxcb.so.1 (0x0000007f9adb4000)
        libXrender.so.1 => /usr/lib/aarch64-linux-gnu/libXrender.so.1 (0x0000007f9ad9b000)
        libselinux.so.1 => /lib/aarch64-linux-gnu/libselinux.so.1 (0x0000007f9ad6a000)
        libresolv.so.2 => /lib/aarch64-linux-gnu/libresolv.so.2 (0x0000007f9ad45000)
        libffi.so.6 => /usr/lib/aarch64-linux-gnu/libffi.so.6 (0x0000007f9ad2c000)
        libpcre.so.3 => /lib/aarch64-linux-gnu/libpcre.so.3 (0x0000007f9acc0000)
        libICE.so.6 => /usr/lib/aarch64-linux-gnu/libICE.so.6 (0x0000007f9ac96000)
        libuuid.so.1 => /lib/aarch64-linux-gnu/libuuid.so.1 (0x0000007f9ac81000)
        liblzma.so.5 => /lib/aarch64-linux-gnu/liblzma.so.5 (0x0000007f9ac52000)
        libjbig.so.0 => /usr/lib/aarch64-linux-gnu/libjbig.so.0 (0x0000007f9ac35000)
        libatspi.so.0 => /usr/lib/aarch64-linux-gnu/libatspi.so.0 (0x0000007f9abf8000)
        libdbus-1.so.3 => /lib/aarch64-linux-gnu/libdbus-1.so.3 (0x0000007f9abac000)
        libharfbuzz.so.0 => /usr/lib/aarch64-linux-gnu/libharfbuzz.so.0 (0x0000007f9ab4f000)
        libexpat.so.1 => /lib/aarch64-linux-gnu/libexpat.so.1 (0x0000007f9ab1a000)
        libdatrie.so.1 => /usr/lib/aarch64-linux-gnu/libdatrie.so.1 (0x0000007f9ab04000)
        libXau.so.6 => /usr/lib/aarch64-linux-gnu/libXau.so.6 (0x0000007f9aaf0000)
        libXdmcp.so.6 => /usr/lib/aarch64-linux-gnu/libXdmcp.so.6 (0x0000007f9aadb000)
        libgraphite2.so.3 => /usr/lib/aarch64-linux-gnu/libgraphite2.so.3 (0x0000007f9aaac000)

Thanks.
Logged

klode82

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25
Re: Howto Compile aMule SVN to Debian 8.5 Arch64
« Reply #9 on: September 13, 2016, 12:21:22 AM »

I have recompiled cryptopp as shown on Wiki:

https://www.cryptopp.com/wiki/Linux#Make_and_Install

then I made the configure with prefix of cryptopp to the build folder (/usr/local/lib). The previous ldd amule show me libcryptopp.so not found. Now I've configure with folder to the source directory, and the libcryptopp.so not appears.

Code: [Select]
        linux-vdso.so.1 (0x0000007f9eb4f000)
libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000007f9eb05000)
libbfd-2.25-system.so => /usr/lib/libbfd-2.25-system.so (0x0000007f9ea07000)
libz.so.1 => /lib/aarch64-linux-gnu/libz.so.1 (0x0000007f9e9dd000)
libupnp.so.6 => /usr/lib/aarch64-linux-gnu/libupnp.so.6 (0x0000007f9e99b000)
libthreadutil.so.6 => /usr/lib/aarch64-linux-gnu/libthreadutil.so.6 (0x0000007f9e984000)
libixml.so.2 => /usr/lib/aarch64-linux-gnu/libixml.so.2 (0x0000007f9e967000)
libwx_gtk3u_adv-3.0.so.0 => /usr/local/lib/libwx_gtk3u_adv-3.0.so.0 (0x0000007f9e758000)
libwx_gtk3u_core-3.0.so.0 => /usr/local/lib/libwx_gtk3u_core-3.0.so.0 (0x0000007f9e0b5000)
libwx_baseu_net-3.0.so.0 => /usr/lib/aarch64-linux-gnu/libwx_baseu_net-3.0.so.0 (0x0000007f9e055000)
libwx_baseu-3.0.so.0 => /usr/lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0 (0x0000007f9dd99000)
libstdc++.so.6 => /usr/lib/aarch64-linux-gnu/libstdc++.so.6 (0x0000007f9dc80000)
libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000007f9dbdf000)
libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x0000007f9dbbd000)
libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000007f9da70000)
/lib/ld-linux-aarch64.so.1 (0x0000005591744000)
libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x0000007f9da5c000)
libgtk-3.so.0 => /usr/lib/aarch64-linux-gnu/libgtk-3.so.0 (0x0000007f9d460000)
libgdk-3.so.0 => /usr/lib/aarch64-linux-gnu/libgdk-3.so.0 (0x0000007f9d3b0000)
libpangocairo-1.0.so.0 => /usr/lib/aarch64-linux-gnu/libpangocairo-1.0.so.0 (0x0000007f9d395000)
libpango-1.0.so.0 => /usr/lib/aarch64-linux-gnu/libpango-1.0.so.0 (0x0000007f9d33f000)
libatk-1.0.so.0 => /usr/lib/aarch64-linux-gnu/libatk-1.0.so.0 (0x0000007f9d30c000)
libcairo-gobject.so.2 => /usr/lib/aarch64-linux-gnu/libcairo-gobject.so.2 (0x0000007f9d2f2000)
libcairo.so.2 => /usr/lib/aarch64-linux-gnu/libcairo.so.2 (0x0000007f9d201000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/aarch64-linux-gnu/libgdk_pixbuf-2.0.so.0 (0x0000007f9d1d4000)
libgio-2.0.so.0 => /usr/lib/aarch64-linux-gnu/libgio-2.0.so.0 (0x0000007f9d085000)
libgobject-2.0.so.0 => /usr/lib/aarch64-linux-gnu/libgobject-2.0.so.0 (0x0000007f9d02d000)
libgthread-2.0.so.0 => /usr/lib/aarch64-linux-gnu/libgthread-2.0.so.0 (0x0000007f9d01b000)
libglib-2.0.so.0 => /lib/aarch64-linux-gnu/libglib-2.0.so.0 (0x0000007f9cf19000)
libX11.so.6 => /usr/lib/aarch64-linux-gnu/libX11.so.6 (0x0000007f9cdeb000)
libXxf86vm.so.1 => /usr/lib/aarch64-linux-gnu/libXxf86vm.so.1 (0x0000007f9cdd6000)
libSM.so.6 => /usr/lib/aarch64-linux-gnu/libSM.so.6 (0x0000007f9cdbd000)
libpng12.so.0 => /lib/aarch64-linux-gnu/libpng12.so.0 (0x0000007f9cd8d000)
libjpeg.so.62 => /usr/lib/aarch64-linux-gnu/libjpeg.so.62 (0x0000007f9cd38000)
libtiff.so.5 => /usr/lib/aarch64-linux-gnu/libtiff.so.5 (0x0000007f9ccbf000)
libgmodule-2.0.so.0 => /usr/lib/aarch64-linux-gnu/libgmodule-2.0.so.0 (0x0000007f9ccab000)
libXi.so.6 => /usr/lib/aarch64-linux-gnu/libXi.so.6 (0x0000007f9cc8b000)
libXcomposite.so.1 => /usr/lib/aarch64-linux-gnu/libXcomposite.so.1 (0x0000007f9cc78000)
libXdamage.so.1 => /usr/lib/aarch64-linux-gnu/libXdamage.so.1 (0x0000007f9cc65000)
libXfixes.so.3 => /usr/lib/aarch64-linux-gnu/libXfixes.so.3 (0x0000007f9cc4e000)
libatk-bridge-2.0.so.0 => /usr/lib/aarch64-linux-gnu/libatk-bridge-2.0.so.0 (0x0000007f9cc14000)
libpangoft2-1.0.so.0 => /usr/lib/aarch64-linux-gnu/libpangoft2-1.0.so.0 (0x0000007f9cbf1000)
libfontconfig.so.1 => /usr/lib/aarch64-linux-gnu/libfontconfig.so.1 (0x0000007f9cbaa000)
libfreetype.so.6 => /usr/lib/aarch64-linux-gnu/libfreetype.so.6 (0x0000007f9cb0c000)
libXinerama.so.1 => /usr/lib/aarch64-linux-gnu/libXinerama.so.1 (0x0000007f9caf8000)
libXrandr.so.2 => /usr/lib/aarch64-linux-gnu/libXrandr.so.2 (0x0000007f9cadf000)
libXcursor.so.1 => /usr/lib/aarch64-linux-gnu/libXcursor.so.1 (0x0000007f9cac5000)
libwayland-client.so.0 => /usr/lib/aarch64-linux-gnu/libwayland-client.so.0 (0x0000007f9caa8000)
libxkbcommon.so.0 => /usr/lib/aarch64-linux-gnu/libxkbcommon.so.0 (0x0000007f9ca61000)
libwayland-cursor.so.0 => /usr/lib/aarch64-linux-gnu/libwayland-cursor.so.0 (0x0000007f9ca49000)
libXext.so.6 => /usr/lib/aarch64-linux-gnu/libXext.so.6 (0x0000007f9ca28000)
librt.so.1 => /lib/aarch64-linux-gnu/librt.so.1 (0x0000007f9ca11000)
libthai.so.0 => /usr/lib/aarch64-linux-gnu/libthai.so.0 (0x0000007f9c9f8000)
libpixman-1.so.0 => /usr/lib/aarch64-linux-gnu/libpixman-1.so.0 (0x0000007f9c98a000)
libxcb-shm.so.0 => /usr/lib/aarch64-linux-gnu/libxcb-shm.so.0 (0x0000007f9c976000)
libxcb-render.so.0 => /usr/lib/aarch64-linux-gnu/libxcb-render.so.0 (0x0000007f9c95e000)
libxcb.so.1 => /usr/lib/aarch64-linux-gnu/libxcb.so.1 (0x0000007f9c933000)
libXrender.so.1 => /usr/lib/aarch64-linux-gnu/libXrender.so.1 (0x0000007f9c91a000)
libselinux.so.1 => /lib/aarch64-linux-gnu/libselinux.so.1 (0x0000007f9c8e9000)
libresolv.so.2 => /lib/aarch64-linux-gnu/libresolv.so.2 (0x0000007f9c8c4000)
libffi.so.6 => /usr/lib/aarch64-linux-gnu/libffi.so.6 (0x0000007f9c8aa000)
libpcre.so.3 => /lib/aarch64-linux-gnu/libpcre.so.3 (0x0000007f9c83f000)
libICE.so.6 => /usr/lib/aarch64-linux-gnu/libICE.so.6 (0x0000007f9c814000)
libuuid.so.1 => /lib/aarch64-linux-gnu/libuuid.so.1 (0x0000007f9c7ff000)
liblzma.so.5 => /lib/aarch64-linux-gnu/liblzma.so.5 (0x0000007f9c7d1000)
libjbig.so.0 => /usr/lib/aarch64-linux-gnu/libjbig.so.0 (0x0000007f9c7b3000)
libatspi.so.0 => /usr/lib/aarch64-linux-gnu/libatspi.so.0 (0x0000007f9c777000)
libdbus-1.so.3 => /lib/aarch64-linux-gnu/libdbus-1.so.3 (0x0000007f9c72a000)
libharfbuzz.so.0 => /usr/lib/aarch64-linux-gnu/libharfbuzz.so.0 (0x0000007f9c6cd000)
libexpat.so.1 => /lib/aarch64-linux-gnu/libexpat.so.1 (0x0000007f9c698000)
libdatrie.so.1 => /usr/lib/aarch64-linux-gnu/libdatrie.so.1 (0x0000007f9c682000)
libXau.so.6 => /usr/lib/aarch64-linux-gnu/libXau.so.6 (0x0000007f9c66f000)
libXdmcp.so.6 => /usr/lib/aarch64-linux-gnu/libXdmcp.so.6 (0x0000007f9c659000)
libgraphite2.so.3 => /usr/lib/aarch64-linux-gnu/libgraphite2.so.3 (0x0000007f9c62b000)



I got again problem with creation of cryptkey.dat, with core of processor to 100%.
Logged

klode82

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25
Re: Howto Compile aMule SVN to Debian 8.5 Arch64
« Reply #10 on: September 13, 2016, 10:53:27 AM »

I'm trying to compile with libcrypto++9 (librcypto ver. 5.6.1 from debian jessie repository), and I get ok with configure, but some error during the make:

this is a trunk only, not the entire output for putty reasons:

Code: [Select]
                                                                                                                                                   ^
/usr/include/crypto++/simple.h: In instantiation of ‘size_t CryptoPP::InputRejecting<T>::ChannelPut2(const string&, const byte*, size_t, int, bool) [with T = CryptoPP::Filter; size_t = long unsigned int; std::string = std::basic_string<char>; byte = unsigned char]’:
GuiEvents.cpp:778:1:   required from here
/usr/include/crypto++/simple.h:93:40: warning: unused parameter ‘channel’ [-Wunused-parameter]
  size_t ChannelPut2(const std::string &channel, const byte *begin, size_t length, int messageEnd, bool blocking)
                                        ^
/usr/include/crypto++/simple.h:93:61: warning: unused parameter ‘begin’ [-Wunused-parameter]
  size_t ChannelPut2(const std::string &channel, const byte *begin, size_t length, int messageEnd, bool blocking)
                                                             ^
/usr/include/crypto++/simple.h:93:75: warning: unused parameter ‘length’ [-Wunused-parameter]
  size_t ChannelPut2(const std::string &channel, const byte *begin, size_t length, int messageEnd, bool blocking)
                                                                           ^
/usr/include/crypto++/simple.h:93:87: warning: unused parameter ‘messageEnd’ [-Wunused-parameter]
  size_t ChannelPut2(const std::string &channel, const byte *begin, size_t length, int messageEnd, bool blocking)
                                                                                       ^
/usr/include/crypto++/simple.h:93:104: warning: unused parameter ‘blocking’ [-Wunused-parameter]
  size_t ChannelPut2(const std::string &channel, const byte *begin, size_t length, int messageEnd, bool blocking)
                                                                                                        ^
/usr/include/crypto++/simple.h: In instantiation of ‘bool CryptoPP::Unflushable<T>::IsolatedFlush(bool, bool) [with T = CryptoPP::Filter]’:
GuiEvents.cpp:778:1:   required from here
/usr/include/crypto++/simple.h:62:26: warning: unused parameter ‘hardFlush’ [-Wunused-parameter]
  bool IsolatedFlush(bool hardFlush, bool blocking)
                          ^
/usr/include/crypto++/simple.h:62:42: warning: unused parameter ‘blocking’ [-Wunused-parameter]
  bool IsolatedFlush(bool hardFlush, bool blocking)
                                          ^
/usr/include/crypto++/simple.h: In instantiation of ‘bool CryptoPP::Bufferless<T>::IsolatedFlush(bool, bool) [with T = CryptoPP::BufferedTransformation]’:
GuiEvents.cpp:778:1:   required from here
/usr/include/crypto++/simple.h:52:26: warning: unused parameter ‘hardFlush’ [-Wunused-parameter]
  bool IsolatedFlush(bool hardFlush, bool blocking) {return false;}
                          ^
/usr/include/crypto++/simple.h:52:42: warning: unused parameter ‘blocking’ [-Wunused-parameter]
  bool IsolatedFlush(bool hardFlush, bool blocking) {return false;}
                                          ^
/usr/include/crypto++/simple.h: In instantiation of ‘size_t CryptoPP::InputRejecting<T>::Put2(const byte*, size_t, int, bool) [with T = CryptoPP::BufferedTransformation; size_t = long unsigned int; byte = unsigned char]’:
GuiEvents.cpp:778:1:   required from here
/usr/include/crypto++/simple.h:88:26: warning: unused parameter ‘begin’ [-Wunused-parameter]
  size_t Put2(const byte *begin, size_t length, int messageEnd, bool blocking)
                          ^
/usr/include/crypto++/simple.h:88:40: warning: unused parameter ‘length’ [-Wunused-parameter]
  size_t Put2(const byte *begin, size_t length, int messageEnd, bool blocking)
                                        ^
/usr/include/crypto++/simple.h:88:52: warning: unused parameter ‘messageEnd’ [-Wunused-parameter]
  size_t Put2(const byte *begin, size_t length, int messageEnd, bool blocking)
                                                    ^
/usr/include/crypto++/simple.h:88:69: warning: unused parameter ‘blocking’ [-Wunused-parameter]
  size_t Put2(const byte *begin, size_t length, int messageEnd, bool blocking)
                                                                     ^
/usr/include/crypto++/simple.h: In instantiation of ‘size_t CryptoPP::InputRejecting<T>::ChannelPut2(const string&, const byte*, size_t, int, bool) [with T = CryptoPP::BufferedTransformation; size_t = long unsigned int; std::string = std::basic_string<char>; byte = unsigned char]’:
GuiEvents.cpp:778:1:   required from here
/usr/include/crypto++/simple.h:93:40: warning: unused parameter ‘channel’ [-Wunused-parameter]
  size_t ChannelPut2(const std::string &channel, const byte *begin, size_t length, int messageEnd, bool blocking)
                                        ^
/usr/include/crypto++/simple.h:93:61: warning: unused parameter ‘begin’ [-Wunused-parameter]
  size_t ChannelPut2(const std::string &channel, const byte *begin, size_t length, int messageEnd, bool blocking)
                                                             ^
/usr/include/crypto++/simple.h:93:75: warning: unused parameter ‘length’ [-Wunused-parameter]
  size_t ChannelPut2(const std::string &channel, const byte *begin, size_t length, int messageEnd, bool blocking)
                                                                           ^
/usr/include/crypto++/simple.h:93:87: warning: unused parameter ‘messageEnd’ [-Wunused-parameter]
  size_t ChannelPut2(const std::string &channel, const byte *begin, size_t length, int messageEnd, bool blocking)
                                                                                       ^
/usr/include/crypto++/simple.h:93:104: warning: unused parameter ‘blocking’ [-Wunused-parameter]
  size_t ChannelPut2(const std::string &channel, const byte *begin, size_t length, int messageEnd, bool blocking)
                                                                                                        ^
/usr/include/crypto++/simple.h: In instantiation of ‘void CryptoPP::CustomSignalPropagation<T>::IsolatedInitialize(const CryptoPP::NameValuePairs&) [with T = CryptoPP::Sink]’:
GuiEvents.cpp:778:1:   required from here
/usr/include/crypto++/simple.h:117:48: warning: unused parameter ‘parameters’ [-Wunused-parameter]
  void IsolatedInitialize(const NameValuePairs &parameters) {assert(false);}
                                                ^
/usr/include/crypto++/simple.h: In instantiation of ‘bool CryptoPP::CustomFlushPropagation<T>::IsolatedFlush(bool, bool) [with T = CryptoPP::Sink]’:
GuiEvents.cpp:778:1:   required from here
/usr/include/crypto++/simple.h:106:26: warning: unused parameter ‘hardFlush’ [-Wunused-parameter]
  bool IsolatedFlush(bool hardFlush, bool blocking) {assert(false); return false;}
                          ^
/usr/include/crypto++/simple.h:106:42: warning: unused parameter ‘blocking’ [-Wunused-parameter]
  bool IsolatedFlush(bool hardFlush, bool blocking) {assert(false); return false;}
                                          ^
/usr/include/crypto++/simple.h: In instantiation of ‘bool CryptoPP::Bufferless<T>::IsolatedFlush(bool, bool) [with T = CryptoPP::Filter]’:
GuiEvents.cpp:778:1:   required from here
/usr/include/crypto++/simple.h:52:26: warning: unused parameter ‘hardFlush’ [-Wunused-parameter]
  bool IsolatedFlush(bool hardFlush, bool blocking) {return false;}
                          ^
/usr/include/crypto++/simple.h:52:42: warning: unused parameter ‘blocking’ [-Wunused-parameter]
  bool IsolatedFlush(bool hardFlush, bool blocking) {return false;}
                                          ^
/usr/include/crypto++/simple.h: In instantiation of ‘bool CryptoPP::Bufferless<T>::IsolatedFlush(bool, bool) [with T = CryptoPP::Sink]’:
GuiEvents.cpp:778:1:   required from here
/usr/include/crypto++/simple.h:52:26: warning: unused parameter ‘hardFlush’ [-Wunused-parameter]
  bool IsolatedFlush(bool hardFlush, bool blocking) {return false;}
                          ^
/usr/include/crypto++/simple.h:52:42: warning: unused parameter ‘blocking’ [-Wunused-parameter]
  bool IsolatedFlush(bool hardFlush, bool blocking) {return false;}
                                          ^
In file included from /usr/include/crypto++/secblock.h:7:0,
                 from /usr/include/crypto++/iterhash.h:5,
                 from /usr/include/crypto++/md4.h:4,
                 from CryptoPP_Inc.h:51,
                 from EncryptedStreamSocket.h:41,
                 from EMSocket.h:29,
                 from GuiEvents.cpp:59:
/usr/include/crypto++/misc.h:549:20: warning: ‘std::string CryptoPP::StringNarrow(const wchar_t*, bool)’ defined but not used [-Wunused-function]
 static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
                    ^
mv -f .deps/amule-GuiEvents.Tpo .deps/amule-GuiEvents.Po
g++ -DHAVE_CONFIG_H -I. -I..  -D__DEBUG__ -DUSE_WX_EXTENSIONS  -I/usr/include/upnp  -DENABLE_UPNP=1 -pthread  -I/usr/local/lib/wx/include/gtk3-unicode-3.0 -I/usr/local/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__  -I./libs -Ilibs -I./include -D__WEAK_CRYPTO__  -g -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0 -pthread   -MT amule-HTTPDownload.o -MD -MP -MF .deps/amule-HTTPDownload.Tpo -c -o amule-HTTPDownload.o `test -f 'HTTPDownload.cpp' || echo './'`HTTPDownload.cpp
mv -f .deps/amule-HTTPDownload.Tpo .deps/amule-HTTPDownload.Po
g++ -DHAVE_CONFIG_H -I. -I..  -D__DEBUG__ -DUSE_WX_EXTENSIONS  -I/usr/include/upnp  -DENABLE_UPNP=1 -pthread  -I/usr/local/lib/wx/include/gtk3-unicode-3.0 -I/usr/local/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__  -I./libs -Ilibs -I./include -D__WEAK_CRYPTO__  -g -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0 -pthread   -MT amule-Logger.o -MD -MP -MF .deps/amule-Logger.Tpo -c -o amule-Logger.o `test -f 'Logger.cpp' || echo './'`Logger.cpp
mv -f .deps/amule-Logger.Tpo .deps/amule-Logger.Po
g++ -DHAVE_CONFIG_H -I. -I..  -D__DEBUG__ -DUSE_WX_EXTENSIONS  -I/usr/include/upnp  -DENABLE_UPNP=1 -pthread  -I/usr/local/lib/wx/include/gtk3-unicode-3.0 -I/usr/local/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__  -I./libs -Ilibs -I./include -D__WEAK_CRYPTO__  -g -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0 -pthread   -MT amule-PartFile.o -MD -MP -MF .deps/amule-PartFile.Tpo -c -o amule-PartFile.o `test -f 'PartFile.cpp' || echo './'`PartFile.cpp
mv -f .deps/amule-PartFile.Tpo .deps/amule-PartFile.Po
g++ -DHAVE_CONFIG_H -I. -I..  -D__DEBUG__ -DUSE_WX_EXTENSIONS  -I/usr/include/upnp  -DENABLE_UPNP=1 -pthread  -I/usr/local/lib/wx/include/gtk3-unicode-3.0 -I/usr/local/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__  -I./libs -Ilibs -I./include -D__WEAK_CRYPTO__  -g -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0 -pthread   -MT amule-Preferences.o -MD -MP -MF .deps/amule-Preferences.Tpo -c -o amule-Preferences.o `test -f 'Preferences.cpp' || echo './'`Preferences.cpp
mv -f .deps/amule-Preferences.Tpo .deps/amule-Preferences.Po
g++ -DHAVE_CONFIG_H -I. -I..  -D__DEBUG__ -DUSE_WX_EXTENSIONS  -I/usr/include/upnp  -DENABLE_UPNP=1 -pthread  -I/usr/local/lib/wx/include/gtk3-unicode-3.0 -I/usr/local/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__  -I./libs -Ilibs -I./include -D__WEAK_CRYPTO__  -g -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0 -pthread   -MT amule-Proxy.o -MD -MP -MF .deps/amule-Proxy.Tpo -c -o amule-Proxy.o `test -f 'Proxy.cpp' || echo './'`Proxy.cpp
mv -f .deps/amule-Proxy.Tpo .deps/amule-Proxy.Po
g++ -DHAVE_CONFIG_H -I. -I..  -D__DEBUG__ -DUSE_WX_EXTENSIONS  -I/usr/include/upnp  -DENABLE_UPNP=1 -pthread  -I/usr/local/lib/wx/include/gtk3-unicode-3.0 -I/usr/local/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__  -I./libs -Ilibs -I./include -D__WEAK_CRYPTO__  -g -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0 -pthread   -MT amule-Server.o -MD -MP -MF .deps/amule-Server.Tpo -c -o amule-Server.o `test -f 'Server.cpp' || echo './'`Server.cpp
mv -f .deps/amule-Server.Tpo .deps/amule-Server.Po
g++ -DHAVE_CONFIG_H -I. -I..  -D__DEBUG__ -DUSE_WX_EXTENSIONS  -I/usr/include/upnp  -DENABLE_UPNP=1 -pthread  -I/usr/local/lib/wx/include/gtk3-unicode-3.0 -I/usr/local/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__  -I./libs -Ilibs -I./include -D__WEAK_CRYPTO__  -g -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0 -pthread   -MT amule-Statistics.o -MD -MP -MF .deps/amule-Statistics.Tpo -c -o amule-Statistics.o `test -f 'Statistics.cpp' || echo './'`Statistics.cpp
mv -f .deps/amule-Statistics.Tpo .deps/amule-Statistics.Po
g++ -DHAVE_CONFIG_H -I. -I..  -D__DEBUG__ -DUSE_WX_EXTENSIONS  -I/usr/include/upnp  -DENABLE_UPNP=1 -pthread  -I/usr/local/lib/wx/include/gtk3-unicode-3.0 -I/usr/local/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__  -I./libs -Ilibs -I./include -D__WEAK_CRYPTO__  -g -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0 -pthread   -MT amule-StatTree.o -MD -MP -MF .deps/amule-StatTree.Tpo -c -o amule-StatTree.o `test -f 'StatTree.cpp' || echo './'`StatTree.cpp
mv -f .deps/amule-StatTree.Tpo .deps/amule-StatTree.Po
g++ -DHAVE_CONFIG_H -I. -I..  -D__DEBUG__ -DUSE_WX_EXTENSIONS  -I/usr/include/upnp  -DENABLE_UPNP=1 -pthread  -I/usr/local/lib/wx/include/gtk3-unicode-3.0 -I/usr/local/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__  -I./libs -Ilibs -I./include -D__WEAK_CRYPTO__  -g -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0 -pthread   -MT amule-UserEvents.o -MD -MP -MF .deps/amule-UserEvents.Tpo -c -o amule-UserEvents.o `test -f 'UserEvents.cpp' || echo './'`UserEvents.cpp
mv -f .deps/amule-UserEvents.Tpo .deps/amule-UserEvents.Po
g++ -g -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0 -pthread   -lpthread  -o amule amule-CaptchaDialog.o amule-CaptchaGenerator.o amule-PartFileConvert.o amule-PartFileConvertDlg.o amule-amule.o amule-BaseClient.o amule-ClientList.o amule-ClientCreditsList.o amule-ClientTCPSocket.o amule-ClientUDPSocket.o amule-CorruptionBlackBox.o amule-DownloadClient.o amule-DownloadQueue.o amule-ECSpecialCoreTags.o amule-EMSocket.o amule-EncryptedStreamSocket.o amule-EncryptedDatagramSocket.o amule-ExternalConn.o amule-FriendList.o amule-IPFilter.o amule-KnownFileList.o amule-ListenSocket.o amule-MuleUDPSocket.o amule-SearchFile.o amule-SearchList.o amule-ServerConnect.o amule-ServerList.o amule-ServerSocket.o amule-ServerUDPSocket.o amule-SHAHashSet.o amule-SharedFileList.o amule-ThreadTasks.o amule-UploadBandwidthThrottler.o amule-UploadClient.o amule-UploadQueue.o amule-Kademlia.o amule-Prefs.o amule-Search.o amule-UDPFirewallTester.o amule-KademliaUDPListener.o amule-PacketTracking.o amule-Contact.o amule-RoutingZone.o amule-amule-gui.o amule-amuleDlg.o amule-AddFriend.o amule-CatDialog.o amule-ChatSelector.o amule-ChatWnd.o amule-CommentDialog.o amule-CommentDialogLst.o amule-GenericClientListCtrl.o amule-ClientDetailDialog.o amule-DirectoryTreeCtrl.o amule-FileDetailDialog.o amule-KadDlg.o amule-OScopeCtrl.o amule-PrefsUnifiedDlg.o amule-SearchDlg.o amule-ServerWnd.o amule-SharedFilesWnd.o amule-StatisticsDlg.o amule-SearchListCtrl.o amule-DownloadListCtrl.o amule-SourceListCtrl.o amule-SharedFilePeersListCtrl.o amule-FriendListCtrl.o amule-ServerListCtrl.o amule-SharedFilesCtrl.o amule-MuleTrayIcon.o amule-TransferWnd.o amule-amuleAppCommon.o amule-ClientRef.o amule-ECSpecialMuleTags.o amule-KnownFile.o amule-GetTickCount.o amule-GuiEvents.o amule-HTTPDownload.o amule-Logger.o amule-PartFile.o amule-Preferences.o amule-Proxy.o amule-Server.o amule-Statistics.o amule-StatTree.o amule-UserEvents.o -L. -lmuleappcommon -Llibs/common -Llibs/ec/cpp -lmulecommon -lec -lbfd  -lz  -lmulesocket    /usr/include/crypto++/libcryptopp.a -L. -lmuleappcore  -pthread  -lupnp -lthreadutil -lixml   -L. -lmuleappgui -L/usr/local/lib -pthread   -lwx_gtk3u_adv-3.0 -lwx_gtk3u_core-3.0 -lwx_baseu_net-3.0 -lwx_baseu-3.0
g++: error: /usr/include/crypto++/libcryptopp.a: No such file or directory
Makefile:1126: recipe for target 'amule' failed
make[3]: *** [amule] Error 1
make[3]: Leaving directory '/home/debian/src/amule/src'
Makefile:5336: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/debian/src/amule/src'
Makefile:532: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/debian/src/amule'
Makefile:426: recipe for target 'all' failed
make: *** [all] Error 2
Logged

klode82

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25
Re: Howto Compile aMule SVN to Debian 8.5 Arch64
« Reply #11 on: September 13, 2016, 11:07:59 AM »

IT WORKS!!!
I've create symbolic link from /usr/lib to /usr/include/crypto++ of files:

libcryptopp.a
libcryptopp.so

and now it works like a charm!

Sorry for my long and unuseful thread! :(

Logged

klode82

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25
Re: Howto Compile aMule SVN to Debian 8.5 Arch64
« Reply #12 on: September 13, 2016, 11:08:47 AM »

A question, how can I help you on debugging software?
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 163
  • Offline Offline
  • Posts: 2688
Re: Howto Compile aMule SVN to Debian 8.5 Arch64
« Reply #13 on: September 15, 2016, 05:43:55 PM »

It's very nice to hear that it works for you :)

I have recompiled cryptopp as shown on Wiki:

https://www.cryptopp.com/wiki/Linux#Make_and_Install

then I made the configure with prefix of cryptopp to the build folder (/usr/local/lib). The previous ldd amule show me libcryptopp.so not found. Now I've configure with folder to the source directory, and the libcryptopp.so not appears.

That is because cryptopp is now linked as a static library, not dynamic.

I've create symbolic link from /usr/lib to /usr/include/crypto++ of files:

libcryptopp.a
libcryptopp.so

That shouldn't be necessary. I don't know what configure flags you used for compilation, but I guess it was something like --with-crypto-prefx=/usr/include/crypto++ instead of --with-crypto-prefx=/usr (which shouldn't be necessary at all).

Configure tries hard to detect whether the provided location is an install path or a source tree built in place. Let's see the difference:

1) You give --with-crypto-prefix=/usr/include/crypto++

configure looks for cryptlib.h in /usr/include/crypto++ and finds it. This signals it's a source tree, so it will try to link the library from the same place - which isn't there.

2) You give --with-crypto-prefix=/usr

configure looks for cryptlib.h in /usr and doesn't find it. So it's not a source tree.
configure looks for cryptlib.h in /usr/include/crypto++ and finds it. This means the path you gave was an install path, therefore the library will be in /usr/lib/crypto++ -- and everything is fine.

3) You don't give any path.

configure will try to compile a program using cryptlib.h and see if the compiler finds it. If yes, then we assume that the it will be able to find the library too.

This is the result of ldd amule:

Code: [Select]
        libwx_gtk3u_adv-3.0.so.0 => /usr/local/lib/libwx_gtk3u_adv-3.0.so.0 (0x0000007f9cbda000)
        libwx_gtk3u_core-3.0.so.0 => /usr/local/lib/libwx_gtk3u_core-3.0.so.0 (0x0000007f9c536000)
        libwx_baseu_net-3.0.so.0 => /usr/lib/aarch64-linux-gnu/libwx_baseu_net-3.0.so.0 (0x0000007f9c4d7000)
        libwx_baseu-3.0.so.0 => /usr/lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0 (0x0000007f9c21b000)

I see your aMule binary partially links to the wxWidgets libraries installed on your system and partially to what you compiled. I don't know if this is responsible for (at least some) of the errors you have, but it is likely.
Logged
concordia cum veritate

klode82

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25
Re: Howto Compile aMule SVN to Debian 8.5 Arch64
« Reply #14 on: September 30, 2016, 08:19:15 AM »

thanks GonoszTopi for your help. Maybe I got some problem with wxWidgets using my compiled aMule. However, I want to try agsin to recompile aMule using your instruction above. For wxWidget does I need to use libraries in aarch64 folder?
Logged
Pages: [1] 2