Guida alla compilazione di aMule AdunanzA su Raspberry PI

amule_adunanza
raspberry

#41

Ciao @CoGe,
figurati, ben vengano i ritardi (se così possiamo chiamarli) finché si è in ferie :slight_smile:.
Ho provato a contattare anche lo sviluppatore dell’app ma ad oggi non ho ancora ricevuto risposta, spero non abbia abbandonato il progetto :frowning:.


#42

Buongiorno Ragazzi

so che avete molta esperienza e pertanto mi affido a voi nel capire l’origine del mio caso.

Ho seguito la guida qui sopra per installare Adunanza su una RPi2 ma mi ritrovo che spesso il daemon crasha.
facendo “top” su shell vedo che amuled è ancora attivo, quindi suppongo che crashi solo il daemon…
quando in passato avevo amule normale invece non avevo alcun crash

ho provato a fare degli amuled -d per disabilitare eventuali eccezioni fatali e talvolta riparte ma talvolta mi viene dato l’errore:
*** buffer overflow detected ***: amuled terminated

nel suo complesso, questi sono i messaggi che ricevo:

pi@raspberrypi:~ $ amuled -d
 2017-09-06 09:27:22: Initialising aMuleDAdunanzA SVN compiled with wxBase(GTK2) v2.8.12 (Snapshot: rev. 566+) AdunanzA 2016.1b1
 2017-09-06 09:27:22: Checking if there is an instance already running...
 2017-09-06 09:27:22: No other instances are running.
 2017-09-06 09:27:22: ListenSocket: Ok.
 2017-09-06 09:27:22: Caricamento dei file Part da: /media/pi/hdd/incomplete/
 2017-09-06 09:27:22: Caricamento del file Part 1 su 17
 2017-09-06 09:27:22: Caricamento del file Part 2 su 17
 2017-09-06 09:27:22: Caricamento del file Part 3 su 17
 2017-09-06 09:27:22: Caricamento del file Part 4 su 17
 2017-09-06 09:27:22: Caricamento del file Part 5 su 17
 2017-09-06 09:27:22: Caricamento del file Part 6 su 17
 2017-09-06 09:27:22: Caricamento del file Part 7 su 17
 2017-09-06 09:27:22: Caricamento del file Part 8 su 17
 2017-09-06 09:27:22: Caricamento del file Part 9 su 17
 2017-09-06 09:27:22: Caricamento del file Part 10 su 17
 2017-09-06 09:27:22: Caricamento del file Part 11 su 17
 2017-09-06 09:27:22: Caricamento del file Part 12 su 17
 2017-09-06 09:27:22: Caricamento del file Part 13 su 17
 2017-09-06 09:27:22: Caricamento del file Part 14 su 17
 2017-09-06 09:27:22: Caricamento del file Part 15 su 17
 2017-09-06 09:27:22: Caricamento del file Part 16 su 17
 2017-09-06 09:27:22: Caricamento del file Part 17 su 17
 2017-09-06 09:27:22: Tutti i file Part sono caricati.
Mr Hyde: Running command <'amuleweb' '--amule-config-file=/home/pi/.aMuleAdunanzA/amule.conf'>
 2017-09-06 09:27:24: amuled: OnInit - Avvio del timer
*** buffer overflow detected ***: amuled terminated
Annullato
pi@raspberrypi:~ $

secondo voi potrebbe essere questo buffer overflow che fa crashare il daemon e a volte non lo fa neanche ripartire?

e come consigliate di gestire questo buffer overflow?

ho individuato queste due pagine sul forum, ma in entrambi i casi fa riferimento a gtk diverse da quelle suggerite in questo post


rispetto a quanto suggerito nel post qui sopra, le uniche cose diverse che ho fatto è stato modificare qualche configurazione, ovvero ho usato:

./configure --enable-optimize --disable-debug --enable-amule-daemon --disable-geoip --disable-amulecmd --enable-webserver --disable-amule-gui --disable-monolithic --disable-ed2k

secondo voi queste configurazioni possono aver influito sui crash o sul buffer overflow?

so che ogni gesto di aiuto è una donazione di tempo, perciò vi ringrazio in anticipo e mi rendo disponibile se posso ricambiare in qualche modo


#43

amuled è il demone… forse intendi che ti crasha amuleweb?

sul nostro rasp quelle sono le gtk e per amule sono ok

vanno bene, ma vedo che non usi le librerie boost, prova ad usarle e vedi se cambia qualcosa.

in altro a dx c’è il nostro link a patreon per chi vuole aiutarci.


#44

Ciao CoGe

amuled è il demone… forse intendi che ti crasha amuleweb?

sì esatto. non avevo cognizione della differenza tra amuled e amuleweb, ma adesso ho approfondito ti confermo che ciò che crasha è amuleweb

non usi le librerie boost

non le conoscevo, le ho implementate. in realtà amuleweb crasha lo stesso, però grazie al fatto che adesso ho capito la differenza tra amuled e amuleweb, ho letto qualche pagina del forum dedicata ad amuleweb e mi pare di aver capito che sia una cosa abbastanza frequente e pertanto la cosa migliore è usare amulegui. che ne pensi? sei d’accordo?

ho implementato amulegui e mi sembra molto efficace

in altro a dx c’è il nostro link a patreon

fatto, ho attivato patreon, grazie


#45

#46

Ciao a tutti. Ho seguito questa guida per installare amuled su raspberry ed è andato tutto liscio fino a quando non ho provato a far partire il demone digitando su terminale il comando “amuled”, purtroppo mi ha restituito l’errore:

Fatal Error: Mismatch between the program and library build versions detected.
The library used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.6),
and your program used 2.8 (no debug,Unicode,compiler with C++ ABI 1010,wx containers,compatible with 2.6).
Aborted

ci capisco nulla linux e non saprei dove mettere le mani, leggendo in giro penso di aver capito che c’è una discrepanza tra i compilatori del wxwidgets.

Come posso risolvere? Il SO è Raspbian 9.

Grazie mille


#47

Stesso problema risolto in parte installando le librerie libgtk3.0-dev anzichè libgtk2.0-dev dopo che raspbian wheezy si è piantato e sono passato a raspian stretch lite

ecco gli orrori riscontrati

$ svn co http://svn.code.sf.net/p/amule-adunanza/code/branches/MoonRiver/ amule-adunanza

Estratta revisione 566.
$ cd amule-adunanza/

~/amule-adunanza $ ./autogen.sh 
Setting up internationalization files.
Copying file intl/ChangeLog
Copying file intl/Makefile.in
Copying file intl/VERSION
Copying file intl/bindtextdom.c
Copying file intl/config.charset
Copying file intl/dcgettext.c
Copying file intl/dcigettext.c
Copying file intl/dcngettext.c
Copying file intl/dgettext.c
Copying file intl/dngettext.c
Copying file intl/eval-plural.h
Copying file intl/explodename.c
Copying file intl/finddomain.c
Copying file intl/gettext.c
Copying file intl/gettextP.h
Copying file intl/gmo.h
Copying file intl/hash-string.h
Copying file intl/intl-compat.c
Copying file intl/l10nflist.c
Copying file intl/libgnuintl.h
Copying file intl/loadinfo.h
Copying file intl/loadmsgcat.c
Copying file intl/localcharset.c
Copying file intl/locale.alias
Copying file intl/localealias.c
Copying file intl/localename.c
Copying file intl/ngettext.c
Copying file intl/os2compat.c
Copying file intl/os2compat.h
Copying file intl/osdep.c
Copying file intl/plural-exp.c
Copying file intl/plural-exp.h
Copying file intl/plural.c
Copying file intl/plural.y
Copying file intl/ref-add.sin
Copying file intl/ref-del.sin
Copying file intl/textdomain.c
Copying file mkinstalldirs
Copying file po/Makefile.in.in
autopoint does not honor dataroot variable, patching.
Running aclocal -I m4
Running autoheader
Running autoconf
Creating pixmaps Makefile.am
Running automake --foreign -a -c -f
src/Makefile.am:83: warning: source file 'kademlia/utils/UInt128.cpp' is in a subdirectory,
src/Makefile.am:83: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding output
automake: object file(s) will be placed in the top-level directory.  However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
src/Makefile.am:114: warning: source file 'kademlia/kademlia/Entry.cpp' is in a subdirectory,
src/Makefile.am:114: but option 'subdir-objects' is disabled
src/Makefile.am:114: warning: source file 'kademlia/kademlia/Indexed.cpp' is in a subdirectory,
src/Makefile.am:114: but option 'subdir-objects' is disabled
src/Makefile.am:114: warning: source file 'kademlia/kademlia/SearchManager.cpp' is in a subdirectory,
src/Makefile.am:114: but option 'subdir-objects' is disabled
src/Makefile.am:114: warning: source file 'kademlia/routing/RoutingBin.cpp' is in a subdirectory,
src/Makefile.am:114: but option 'subdir-objects' is disabled
src/Makefile.am:140: warning: source file 'extern/wxWidgets/listctrl.cpp' is in a subdirectory,
src/Makefile.am:140: but option 'subdir-objects' is disabled
src/Makefile.am:157: warning: source file 'kademlia/kademlia/Kademlia.cpp' is in a subdirectory,
src/Makefile.am:157: but option 'subdir-objects' is disabled
src/Makefile.am:157: warning: source file 'kademlia/kademlia/Prefs.cpp' is in a subdirectory,
src/Makefile.am:157: but option 'subdir-objects' is disabled
src/Makefile.am:157: warning: source file 'kademlia/kademlia/Search.cpp' is in a subdirectory,
src/Makefile.am:157: but option 'subdir-objects' is disabled
src/Makefile.am:157: warning: source file 'kademlia/kademlia/UDPFirewallTester.cpp' is in a subdirectory,
src/Makefile.am:157: but option 'subdir-objects' is disabled
src/Makefile.am:157: warning: source file 'kademlia/net/KademliaUDPListener.cpp' is in a subdirectory,
src/Makefile.am:157: but option 'subdir-objects' is disabled
src/Makefile.am:157: warning: source file 'kademlia/net/PacketTracking.cpp' is in a subdirectory,
src/Makefile.am:157: but option 'subdir-objects' is disabled
src/Makefile.am:157: warning: source file 'kademlia/routing/Contact.cpp' is in a subdirectory,
src/Makefile.am:157: but option 'subdir-objects' is disabled
src/Makefile.am:157: warning: source file 'kademlia/routing/RoutingZone.cpp' is in a subdirectory,
src/Makefile.am:157: but option 'subdir-objects' is disabled
src/utils/fileview/Makefile.am:3: warning: source file '../../CFile.cpp' is in a subdirectory,
src/utils/fileview/Makefile.am:3: but option 'subdir-objects' is disabled
src/utils/fileview/Makefile.am:3: warning: source file '../../SafeFile.cpp' is in a subdirectory,
src/utils/fileview/Makefile.am:3: but option 'subdir-objects' is disabled
src/utils/fileview/Makefile.am:3: warning: source file '../../OtherFunctions.cpp' is in a subdirectory,
src/utils/fileview/Makefile.am:3: but option 'subdir-objects' is disabled
src/utils/fileview/Makefile.am:3: warning: source file '../../Tag.cpp' is in a subdirectory,
src/utils/fileview/Makefile.am:3: but option 'subdir-objects' is disabled
src/utils/fileview/Makefile.am:3: warning: source file '../../kademlia/utils/UInt128.cpp' is in a subdirectory,
src/utils/fileview/Makefile.am:3: but option 'subdir-objects' is disabled
src/webserver/src/Makefile.am:3: warning: source file '$(top_srcdir)/src/ExternalConnector.cpp' is in a subdirectory,
src/webserver/src/Makefile.am:3: but option 'subdir-objects' is disabled
src/webserver/src/Makefile.am:3: warning: source file '$(top_srcdir)/src/OtherFunctions.cpp' is in a subdirectory,
src/webserver/src/Makefile.am:3: but option 'subdir-objects' is disabled
src/webserver/src/Makefile.am:3: warning: source file '$(top_srcdir)/src/RLE.cpp' is in a subdirectory,
src/webserver/src/Makefile.am:3: but option 'subdir-objects' is disabled
src/webserver/src/Makefile.am:3: warning: source file '$(top_srcdir)/src/NetworkFunctions.cpp' is in a subdirectory,
src/webserver/src/Makefile.am:3: but option 'subdir-objects' is disabled
src/webserver/src/Makefile.am:3: warning: source file '$(top_srcdir)/src/LoggerConsole.cpp' is in a subdirectory,
src/webserver/src/Makefile.am:3: but option 'subdir-objects' is disabled
src/webserver/src/Makefile.am:3: warning: source file '$(top_srcdir)/src/UPnPBase.cpp' is in a subdirectory,
src/webserver/src/Makefile.am:3: but option 'subdir-objects' is disabled
unittests/muleunit/Makefile.am:2: warning: source file '$(top_srcdir)/src/libs/common/MuleDebug.cpp' is in a subdirectory,
unittests/muleunit/Makefile.am:2: but option 'subdir-objects' is disabled
unittests/muleunit/Makefile.am:2: warning: source file '$(top_srcdir)/src/libs/common/StringFunctions.cpp' is in a subdirectory,
unittests/muleunit/Makefile.am:2: but option 'subdir-objects' is disabled
unittests/tests/Makefile.am:51: warning: source file '$(top_srcdir)/src/SafeFile.cpp' is in a subdirectory,
unittests/tests/Makefile.am:51: but option 'subdir-objects' is disabled
unittests/tests/Makefile.am:51: warning: source file '$(top_srcdir)/src/MemFile.cpp' is in a subdirectory,
unittests/tests/Makefile.am:51: but option 'subdir-objects' is disabled
unittests/tests/Makefile.am:51: warning: source file '$(top_srcdir)/src/Tag.cpp' is in a subdirectory,
unittests/tests/Makefile.am:51: but option 'subdir-objects' is disabled
unittests/tests/Makefile.am:51: warning: source file '$(top_srcdir)/src/libs/common/Format.cpp' is in a subdirectory,
unittests/tests/Makefile.am:51: but option 'subdir-objects' is disabled
unittests/tests/Makefile.am:51: warning: source file '$(top_srcdir)/src/libs/common/strerror_r.c' is in a subdirectory,
unittests/tests/Makefile.am:51: but option 'subdir-objects' is disabled
unittests/tests/Makefile.am:19: warning: source file '$(top_srcdir)/src/kademlia/utils/UInt128.cpp' is in a subdirectory,
unittests/tests/Makefile.am:19: but option 'subdir-objects' is disabled
unittests/tests/Makefile.am:19: warning: source file '$(top_srcdir)/src/libs/common/Format.cpp' is in a subdirectory,
unittests/tests/Makefile.am:19: but option 'subdir-objects' is disabled
unittests/tests/Makefile.am:19: warning: source file '$(top_srcdir)/src/libs/common/strerror_r.c' is in a subdirectory,
unittests/tests/Makefile.am:19: but option 'subdir-objects' is disabled
unittests/tests/Makefile.am:40: warning: source file '$(top_srcdir)/src/SafeFile.cpp' is in a subdirectory,
unittests/tests/Makefile.am:40: but option 'subdir-objects' is disabled
unittests/tests/Makefile.am:40: warning: source file '$(top_srcdir)/src/CFile.cpp' is in a subdirectory,
unittests/tests/Makefile.am:40: but option 'subdir-objects' is disabled
unittests/tests/Makefile.am:40: warning: source file '$(top_srcdir)/src/MemFile.cpp' is in a subdirectory,
unittests/tests/Makefile.am:40: but option 'subdir-objects' is disabled
unittests/tests/Makefile.am:40: warning: source file '$(top_srcdir)/src/kademlia/utils/UInt128.cpp' is in a subdirectory,
unittests/tests/Makefile.am:40: but option 'subdir-objects' is disabled
unittests/tests/Makefile.am:40: warning: source file '$(top_srcdir)/src/libs/common/StringFunctions.cpp' is in a subdirectory,
unittests/tests/Makefile.am:40: but option 'subdir-objects' is disabled
unittests/tests/Makefile.am:40: warning: source file '$(top_srcdir)/src/Tag.cpp' is in a subdirectory,
unittests/tests/Makefile.am:40: but option 'subdir-objects' is disabled
unittests/tests/Makefile.am:40: warning: source file '$(top_srcdir)/src/libs/common/Path.cpp' is in a subdirectory,
unittests/tests/Makefile.am:40: but option 'subdir-objects' is disabled
unittests/tests/Makefile.am:40: warning: source file '$(top_srcdir)/src/libs/common/Format.cpp' is in a subdirectory,
unittests/tests/Makefile.am:40: but option 'subdir-objects' is disabled
unittests/tests/Makefile.am:40: warning: source file '$(top_srcdir)/src/libs/common/strerror_r.c' is in a subdirectory,
unittests/tests/Makefile.am:40: but option 'subdir-objects' is disabled
unittests/tests/Makefile.am:25: warning: source file '$(top_srcdir)/src/libs/common/Format.cpp' is in a subdirectory,
unittests/tests/Makefile.am:25: but option 'subdir-objects' is disabled
unittests/tests/Makefile.am:25: warning: source file '$(top_srcdir)/src/libs/common/strerror_r.c' is in a subdirectory,
unittests/tests/Makefile.am:25: but option 'subdir-objects' is disabled
unittests/tests/Makefile.am:34: warning: source file '$(top_srcdir)/src/NetworkFunctions.cpp' is in a subdirectory,
unittests/tests/Makefile.am:34: but option 'subdir-objects' is disabled
unittests/tests/Makefile.am:34: warning: source file '$(top_srcdir)/src/LibSocket.cpp' is in a subdirectory,
unittests/tests/Makefile.am:34: but option 'subdir-objects' is disabled
unittests/tests/Makefile.am:34: warning: source file '$(top_srcdir)/src/libs/common/Format.cpp' is in a subdirectory,
unittests/tests/Makefile.am:34: but option 'subdir-objects' is disabled
unittests/tests/Makefile.am:34: warning: source file '$(top_srcdir)/src/libs/common/strerror_r.c' is in a subdirectory,
unittests/tests/Makefile.am:34: but option 'subdir-objects' is disabled
unittests/tests/Makefile.am:43: warning: source file '$(top_srcdir)/src/libs/common/Path.cpp' is in a subdirectory,
unittests/tests/Makefile.am:43: but option 'subdir-objects' is disabled
unittests/tests/Makefile.am:43: warning: source file '$(top_srcdir)/src/libs/common/StringFunctions.cpp' is in a subdirectory,
unittests/tests/Makefile.am:43: but option 'subdir-objects' is disabled
unittests/tests/Makefile.am:28: warning: source file '$(top_srcdir)/src/libs/common/StringFunctions.cpp' is in a subdirectory,
unittests/tests/Makefile.am:28: but option 'subdir-objects' is disabled
unittests/tests/Makefile.am:28: warning: source file '$(top_srcdir)/src/libs/common/Path.cpp' is in a subdirectory,
unittests/tests/Makefile.am:28: but option 'subdir-objects' is disabled
unittests/tests/Makefile.am:46: warning: source file '$(top_srcdir)/src/libs/common/Path.cpp' is in a subdirectory,
unittests/tests/Makefile.am:46: but option 'subdir-objects' is disabled
unittests/tests/Makefile.am:46: warning: source file '$(top_srcdir)/src/libs/common/StringFunctions.cpp' is in a subdirectory,
unittests/tests/Makefile.am:46: but option 'subdir-objects' is disabled
unittests/tests/Makefile.am:46: warning: source file '$(top_srcdir)/src/libs/common/TextFile.cpp' is in a subdirectory,
unittests/tests/Makefile.am:46: but option 'subdir-objects' is disabled

chi me lo traduce?
come risolvo?
ciò nonostante vado avanti

~/amule-adunanza $ ./configure --enable-optimize --disable-debug --enable-amule-daemon --disable-geoip --enable-amulecmd --disable-webserver --disable-amule-gui --disable-upnp --disable-monolithic --disable-ed2k

Libraries aMule will use to build:
                             wxWidgets             3.0.2 (gtk2,shared)                                    
                             crypto++              5.6.4 (in /usr)
                             libintl               system
                             zlib                  1.2.8

compilo e lancio il demone

~ $ amuled -f
Initialising aMuleDAdunanzA SVN compiled with wxBase(GTK2) v3.0.2 (Snapshot: rev. 566+) AdunanzA 2016.1b1

ma nella GUI il demone restituisce molteplici errori nel log

2018-02-03 18:39:45: 18:39:45: Error: Failed to modify descriptor 13 in epoll descriptor 6 (error 2: File o directory non esistente)
2018-02-03 18:39:45: HTTP: WARNING: Void response on stream creation
2018-02-03 18:39:45: Risposta non valida dal server HTTP
2018-02-03 18:40:36: 18:40:36: Error: Failed to modify descriptor 15 in epoll descriptor 6 (error 2: File o directory non esistente)
2018-02-03 18:40:36: HTTP: WARNING: Void response on stream creation
2018-02-03 18:40:36: Risposta non valida dal server HTTP
2018-02-03 18:55:03: 18:55:03: Error: Failed to modify descriptor 17 in epoll descriptor 6 (error 2: File o directory non esistente)
2018-02-03 18:55:03: HTTP: WARNING: Void response on stream creation
2018-02-03 18:55:03: Risposta non valida dal server HTTP
2018-02-03 18:55:05: 18:55:05: Error: Failed to modify descriptor 19 in epoll descriptor 6 (error 2: File o directory non esistente)
2018-02-03 18:55:05: HTTP: WARNING: Void response on stream creation
2018-02-03 18:55:05: Risposta non valida dal server HTTP
2018-02-03 19:04:07: 19:04:07: Error: Failed to modify descriptor 47 in epoll descriptor 6 (error 2: File o directory non esistente)

2018-02-03 19:08:16: 19:08:16: Error: Failed to modify descriptor 9 in epoll descriptor 6 (error 2: File o directory non esistente)
2018-02-03 19:11:01: 19:11:01: Error: Failed to modify descriptor 33 in epoll descriptor 6 (error 2: File o directory non esistente)

2018-02-03 19:11:07: 19:11:07: Error: Failed to modify descriptor 33 in epoll descriptor 6 (error 2: File o directory non esistente)
2018-02-03 19:11:51: 19:11:51: Error: Failed to unregister descriptor 33 from epoll descriptor 6 (error 2: File o directory non esistente)

2018-02-03 19:15:21: 19:15:21: Error: Failed to modify descriptor 36 in epoll descriptor 6 (error 2: File o directory non esistente)
ssertion failed: DownloadClient.cpp:SendFileRequest:222: Assertion 'm_reqfile' failed. Cannot request file when no reqfile is set
acktrace follows:
3] wxOnAssert(char const*, int, char const*, char const*, wchar_t const*) in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x76954888]
4] CUpDownClient::SendFileRequest() in :0
5] CUpDownClient::ConnectionEstablished() in :0
6] CClientTCPSocket::ProcessPacket(unsigned char const*, unsigned int, unsigned char) in :0
7] CClientTCPSocket::PacketReceived(CPacket*) in :0
8] CEMSocket::OnReceive(int) in :0
9] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x7694e4b0]
10] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x76ac597c]
11] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x76ac5ad4]
12] wxEvtHandler::TryHereOnly(wxEvent&) in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x76ac5f90]
13] wxEvtHandler::ProcessEventLocally(wxEvent&) in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x76ac602c]
14] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x76ac609c]
15] wxEvtHandler::ProcessPendingEvents() in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x76ac6d78]
16] wxAppConsoleBase::ProcessPendingEvents() in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x76950888]
17] wxEventLoopManual::ProcessEvents() in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x7698f3dc]
18] wxEventLoopManual::DoRun() in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x7698f46c]
19] wxEventLoopBase::Run() in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x7698f140]
20] wxAppConsoleBase::MainLoop() in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x76954e68]
21] CamuleDaemonApp::OnRun() in :0
22] wxEntry(int&, wchar_t**) in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x769d9fa4]
23] main in :0
24] __libc_start_main in /lib/arm-linux-gnueabihf/libc.so.6[0x765e5678]
2018-02-03 19:16:01: 19:16:01: Error: Failed to modify descriptor 40 in epoll descriptor 6 (error 2: File o directory non esistente)
2018-02-03 19:16:03: 19:16:03: Error: Failed to modify descriptor 39 in epoll descriptor 6 (error 2: File o directory non esistente)
2018-02-03 19:16:03: 19:16:03: Error: Failed to modify descriptor 39 in epoll descriptor 6 (error 2: File o directory non esistente)
2018-02-03 19:16:03: 19:16:03: Error: Failed to modify descriptor 39 in epoll descriptor 6 (error 2: File o directory non esistente)
2018-02-03 19:16:39: 19:16:39: Error: Failed to modify descriptor 36 in epoll descriptor 6 (error 2: File o directory non esistente)
2018-02-03 19:16:46: 19:16:46: Error: Failed to unregister descriptor 39 from epoll descriptor 6 (error 2: File o directory non esistente)
2018-02-03 19:16:52: 19:16:52: Error: Failed to modify descriptor 36 in epoll descriptor 6 (error 2: File o directory non esistente)

2018-02-03 19:18:27: 19:18:27: Error: Failed to modify descriptor 15 in epoll descriptor 6 (error 2: File o directory non esistente)
2018-02-03 19:18:40: 19:18:40: Error: Failed to modify descriptor 15 in epoll descriptor 6 (error 2: File o directory non esistente)
ssertion failed: DownloadClient.cpp:SendBlockRequests:832: Assertion 'Assert failure' failed. No free blocks to request after freeing some blocks
acktrace follows:
3] wxOnAssert(char const*, int, char const*, char const*, wchar_t const*) in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x76954888]
4] CUpDownClient::SendBlockRequests() in :0
5] CUpDownClient::ProcessBlockPacket(unsigned char const*, unsigned int, bool, bool) in :0
6] CClientTCPSocket::ProcessExtPacket(unsigned char const*, unsigned int, unsigned char) in :0
7] CClientTCPSocket::PacketReceived(CPacket*) in :0
8] CEMSocket::OnReceive(int) in :0
9] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x7694e4b0]
10] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x76ac597c]
11] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x76ac5ad4]
12] wxEvtHandler::TryHereOnly(wxEvent&) in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x76ac5f90]
13] wxEvtHandler::ProcessEventLocally(wxEvent&) in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x76ac602c]
14] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x76ac609c]
15] wxEvtHandler::ProcessPendingEvents() in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x76ac6d78]
16] wxAppConsoleBase::ProcessPendingEvents() in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x76950888]
17] wxEventLoopManual::ProcessEvents() in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x7698f3dc]
18] wxEventLoopManual::DoRun() in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x7698f46c]
19] wxEventLoopBase::Run() in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x7698f140]
20] wxAppConsoleBase::MainLoop() in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x76954e68]
21] CamuleDaemonApp::OnRun() in :0
22] wxEntry(int&, wchar_t**) in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x769d9fa4]
23] main in :0
24] __libc_start_main in /lib/arm-linux-gnueabihf/libc.so.6[0x765e5678] 
2018-02-03 19:19:01: 19:19:01: Error: Failed to modify descriptor 15 in epoll descriptor 6 (error 2: File o directory non esistente)
2018-02-03 19:19:12: 19:19:12: Error: Failed to modify descriptor 15 in epoll descriptor 6 (error 2: File o directory non esistente)
ssertion failed: DownloadClient.cpp:SendFileRequest:222: Assertion 'm_reqfile' failed. Cannot request file when no reqfile is set
acktrace follows:
3] wxOnAssert(char const*, int, char const*, char const*, wchar_t const*) in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x76954888]
4] CUpDownClient::SendFileRequest() in :0
5] CUpDownClient::ConnectionEstablished() in :0
6] CClientTCPSocket::ProcessPacket(unsigned char const*, unsigned int, unsigned char) in :0
7] CClientTCPSocket::PacketReceived(CPacket*) in :0
8] CEMSocket::OnReceive(int) in :0
9] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x7694e4b0]
10] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x76ac597c]
11] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x76ac5ad4]
12] wxEvtHandler::TryHereOnly(wxEvent&) in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x76ac5f90]
13] wxEvtHandler::ProcessEventLocally(wxEvent&) in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x76ac602c]
14] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x76ac609c]
15] wxEvtHandler::ProcessPendingEvents() in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x76ac6d78]
16] wxAppConsoleBase::ProcessPendingEvents() in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x76950888]
17] wxEventLoopManual::ProcessEvents() in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x7698f3dc]
18] wxEventLoopManual::DoRun() in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x7698f46c]
19] wxEventLoopBase::Run() in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x7698f140]
20] wxAppConsoleBase::MainLoop() in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x76954e68]
21] CamuleDaemonApp::OnRun() in :0
22] wxEntry(int&, wchar_t**) in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0x769d9fa4]
23] main in :0
24] __libc_start_main in /lib/arm-linux-gnueabihf/libc.so.6[0x765e5678]
2018-02-03 19:21:25: 19:21:25: Error: Failed to modify descriptor 15 in epoll descriptor 6 (error 2: File o directory non esistente)
2018-02-03 19:21:25: 19:21:25: Error: Failed to modify descriptor 15 in epoll descriptor 6 (error 2: File o directory non esistente)
2018-02-03 19:21:25: 19:21:25: Error: Failed to modify descriptor 15 in epoll descriptor 6 (error 2: File o directory non esistente)
2018-02-03 19:22:05: 19:22:05: Error: Failed to unregister descriptor 15 from epoll descriptor 6 (error 2: File o directory non esistente)
2018-02-03 19:22:09: 19:22:09: Error: Failed to modify descriptor 32 in epoll descriptor 6 (error 2: File o directory non esistente)
2018-02-03 19:22:09: 19:22:09: Error: Failed to modify descriptor 32 in epoll descriptor 6 (error 2: File o directory non esistente)
2018-02-03 19:22:09: 19:22:09: Error: Failed to modify descriptor 32 in epoll descriptor 6 (error 2: File o directory non esistente)
2018-02-03 19:22:10: 19:22:10: Error: Failed to add descriptor 32 to epoll descriptor 6 (error 17: File già esistente)
2018-02-03 19:22:10: 19:22:10: Error: Failed to add descriptor 32 to epoll descriptor 6 (error 17: File già esistente)
2018-02-03 19:22:10: 19:22:10: Error: Failed to add descriptor 32 to epoll descriptor 6 (error 17: File già esistente)

praticamente all’infinito

ora il demone è instabile e crasha random mentre prima con wheezy era stabilissimo.
quache dritta per rimediare?
Grazie


#48

purtroppo amule è “vecchio” come progetto, se non puoi usare le libgtk2.0 prova a usare il webserver e non la remote GUI

PS ma quale GUI usi?


#49

Sulla GUI, in alto e cliccando il punto di domanda indicato come informazioni c’è scritto:

aMule AdunanzA remote control 2016.1b1 Snapshot: rev. 566+.

Nel log della GUI c’è scritto:

2018-02-05 19:37:47 (remote-GUI): Initialising aMuleGUIAdunanzA SVN compiled with wxGTK2 v3.0.2 (Snapshot: rev. 566+) AdunanzA 2016.1b1

2018-02-05 19:37:51 (remote-GUI):  - Questo è aMule SVN compiled with wxGTK2 v3.0.2 (Snapshot: rev. 566+) AdunanzA 2016.1b1 basato su eMule.

Non ricordo se ho installato le amule-utils-gui perchè ho aggiornato la distribuzione e ora dice che non sono installate…

Ti ringrazio comunque per l’assistenza.

Puoi tradurmi questo?

Running automake --foreign -a -c -f
src/Makefile.am:83: warning: source file 'kademlia/utils/UInt128.cpp' is in a subdirectory,
src/Makefile.am:83: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding output
automake: object file(s) will be placed in the top-level directory.  However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.

Questo avvertimento dipende dall’utilizzo dalle libgtk3.0 anzichè libgtk2.0 ??


#50

Vado a memoria, ma mi pare di aver avuto lo stesso identico errore quando ho compilato amule sul NAS e di aver risolto utilizzando le wxGTK 2.8.12 --> https://github.com/wxWidgets/wxWidgets/releases/download/v2.8.12/wxGTK-2.8.12.tar.gz

e compilate con le opzioni “–enable-unicode --enable-gui --enable-utf8”

k.


#52

Arrivo tardi probabilmente, ma dopo un aggiornamento dei pacchetti sul NAS mi sono trovato con il tuo stesso errore

[amule@XXX ~]$ amuled -f
Fatal Error: Mismatch between the program and library build versions detected.
The library used 2.8 (no debug,Unicode,compiler with C++ ABI 1011,wx containers,                            
compatible with 2.6),
and your program used 2.8 (no debug,Unicode,compiler with C++ ABI 1009,wx contai                            
ners,compatible with 2.6).
Aborted

Il problema si verifica per l’aggiornamento del compilatore GCC, per cui ho ricompilato le wxGTK-2.8.12, e poi:

[amule@XXX ~]$ amuled -f
 2018-03-27 18:20:20: amuleAppCommon.cpp(393): Initialising aMuleDAdunanzA MOD based 
on aMule SVN compiled with wxGTK2 v2.8.12 and Boost 1.59 (Debugging) (Snapshot: rev. 
548) AdunanzA 2015.1b1
 2018-03-27 18:20:20: amuleAppCommon.cpp(462): Checking if there is an instance already 
running...
 2018-03-27 18:20:20: amuleAppCommon.cpp(514): No other instances are running.
 2018-03-27 18:20:21: ListenSocket.cpp(80): ListenSocket: Ok.
 2018-03-27 18:20:21: amuled.cpp(758): amuled: forking to background - see you
[amule@XXX ~]$

Spero possa ancora esserti utile.
Ciao
k.


#53

Ti ringrazio per la risposta, con raspbian jessie lite nessun problema, al contrario con stretch anche compilando le wxGTK2 v2.8.12, durante la compilazione del demone di adunanza, ottengo sempre l’errore relativo alle subdir:

e il demone non parte:

amuled
Fatal Error: Mismatch between the program and library build versions detected.
The library used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.6),
and your program used 2.8 (no debug,Unicode,compiler with C++ ABI 1010,wx containers,compatible with 2.6).
Annullato

Qualcuno sa dirmi come risolvere gli errori relativi alle subdir etc?


#54

Ho modificato il configure.ac in

AM_INIT_AUTOMAKE([subdir-objects])

poi ./autogen.sh senza warning

configuro il demone che restituisce

Libraries aMule will use to build:
wxWidgets 2.8.12 (gtk2,shared)
crypto++ 5.6.4 (in /usr)
libintl system
zlib 1.2.8

e lancio il make che dura solo cinque minuti e di nuovo amuled

Fatal Error: Mismatch between the program and library build versions detected.
The library used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.6),
and your program used 2.8 (no debug,Unicode,compiler with C++ ABI 1010,wx containers,compatible with 2.6).
Annullato


#55

Vedi sopra, le wx sono state compilate con una versione precedente.
ricompilale e rilancia amuled


#56

Su raspbian jessie ho commesso l’azzardo di estrarre con svn la [r572] e ora il make restituisce

make all-recursive
make[1]: ingresso nella directory “/home/pi/amule-adunanza”
Making all in intl
make[2]: ingresso nella directory “/home/pi/amule-adunanza/intl”
make[2]: Nessuna operazione da eseguire per “all”.
make[2]: uscita dalla directory “/home/pi/amule-adunanza/intl”
Making all in po
make[2]: ingresso nella directory “/home/pi/amule-adunanza/po”
rm -f it.gmo && /usr/bin/msgfmt -c --statistics -o it.gmo it.po
it.po: attenzione: L’intestazione non specifica un set di caratteri.
La conversione del messaggio nel set di caratteri dell’utente non funzionerà.
it.po:24:2: syntax error
it.po:24: la parola chiave “mine” è sconosciuta
it.po:38: la parola chiave “r572” è sconosciuta
it.po:43: la parola chiave “mine” è sconosciuta
it.po:47: la parola chiave “r572” è sconosciuta
it.po:340:2: syntax error
it.po:340: la parola chiave “mine” è sconosciuta
it.po:344: la parola chiave “r572” è sconosciuta
it.po:348:2: syntax error
it.po:348: la parola chiave “mine” è sconosciuta
it.po:352: la parola chiave “r572” è sconosciuta
it.po:441:2: syntax error
it.po:441: la parola chiave “mine” è sconosciuta
it.po:445: la parola chiave “r572” è sconosciuta
it.po:529:2: syntax error
it.po:529: la parola chiave “mine” è sconosciuta
it.po:533:2: syntax error
it.po:537:2: syntax error
it.po:537: la parola chiave “r572” è sconosciuta
it.po:545:2: syntax error
/usr/bin/msgfmt: troppi errori, interrotto
Makefile:184: set di istruzioni per l’obiettivo “it.gmo” non riuscito
make[2]: *** [it.gmo] Errore 1
make[2]: uscita dalla directory “/home/pi/amule-adunanza/po”
Makefile:496: set di istruzioni per l’obiettivo “all-recursive” non riuscito
make[1]: *** [all-recursive] Errore 1
make[1]: uscita dalla directory “/home/pi/amule-adunanza”
Makefile:397: set di istruzioni per l’obiettivo “all” non riuscito
make: *** [all] Errore 2

perciò non riesco più ad utilizzare il demone mentre prima fino alla 566 tutto funzionava…ora non so come tornare indietro…

su raspbian stretch non ho ancora capito come ricompilare le wx con la stessa versione del demone perciò continuo a ricevere

Fatal Error: Mismatch between the program and library build versions detected.
The library used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.6),
and your program used 2.8 (no debug,Unicode,compiler with C++ ABI 1010,wx containers,compatible with 2.6).
Annullato


#57

Sul primo errore, sono bloccato anche io.
QNAP ha aggiornato l’OS e ha “sputtanato” gran parte dell’installazione amule.
Nel tentativo di ricompilare la versione installata, sto avendo numerosi problemi…prendendo la versione ultima da svn, anche io ho il problema sul file it.gmo, preso dalla vecchia folder, il problema si è spostato su uk.gmo e poi su altri ancora…

Per il secondo problema, invece:

Devi ricompilarle con la nuova versione di GCC, in generale così…

./configure --enable-unicode --enable-gui --enable-utf8

poi make e make install

Se poi hai una cartella “prefix” diversa dalla /usr (ad es. sul QNAP la cartella è la “opt”)

./configure --prefix=/opt --enable-unicode --enable-gui --enable-utf8

adattalo un po’ alle tue esigenze

ciao
k.