aMule Forum

English => Compilation problems => Topic started by: Gorescore on June 02, 2007, 04:13:22 PM

Title: Fedora 7 compilation problems WxCasPrefs
Post by: Gorescore on June 02, 2007, 04:13:22 PM
Hello,

new distri new luck :D

Fedora 7 brings us wxGTK 2.8.3, so i decided this time not to compile wxWidgets, because
wxGTK 2.8.3 is quite new ...

Some output about the System :
Code: [Select]
[root@ip112 aMule-2.1.3]# ls -l /usr/bin/wx*
lrwxrwxrwx 1 root root    43  2. Jun 15:21 /usr/bin/wx-config -> /usr/lib/wx/config/gtk2-unicode-release-2.8
lrwxrwxrwx 1 root root     8  2. Jun 15:21 /usr/bin/wxrc -> wxrc-2.8
-rwxr-xr-x 1 root root 73104 15. Apr 19:47 /usr/bin/wxrc-2.8
[root@ip112 aMule-2.1.3]# ls -l /usr/local/bin/wx*
ls: Zugriff auf /usr/local/bin/wx* nicht möglich: Datei oder Verzeichnis nicht gefunden
[root@ip112 aMule-2.1.3]# rpm -qa | grep wx
wxGTK-2.8.3-2.fc7
wxGTK-devel-2.8.3-2.fc7
wxGTK-gl-2.8.3-2.fc7

This is my configure Line :
Code: [Select]
./configure --prefix=/usr --disable-debug --enable-optimize --enable-amulecmd --enable-amulecmdgui --enable-webserver --enable-webservergui --enable-amule-gui --enable-amule-daemon --enable-cas --enable-wxcas --enable-alc --enable-alcc --enable-utf8-systray --enable-webserver-php --enable-kad-compile --enable-nls
Compilation error :
Code: [Select]
/usr/include/wx-2.8/wx/clntdata.h:25: Warnung: Dereferenzierung eines Type-Pun-Zeigers verletzt strict-aliasing-Regeln
/usr/include/wx-2.8/wx/gdicmn.h: In member function »wxStringToColourHashMap_wxImplementation_HashTable::Node** wxStringToColourHashMap_wxImplementation_HashTable::GetNodePtr(const wxString&) const«:
/usr/include/wx-2.8/wx/gdicmn.h:544: Warnung: Dereferenzierung eines Type-Pun-Zeigers verletzt strict-aliasing-Regeln
/usr/include/wx-2.8/wx/image.h: In member function »wxImageHistogramBase_wxImplementation_HashTable::Node** wxImageHistogramBase_wxImplementation_HashTable::GetNodePtr(const long unsigned int&) const«:
/usr/include/wx-2.8/wx/image.h:136: Warnung: Dereferenzierung eines Type-Pun-Zeigers verletzt strict-aliasing-Regeln
wxcasprefs.cpp: At global scope:
wxcasprefs.cpp:324: Fehler: »OnCancel« ist kein Element von »WxCasPrefs«
make[5]: *** [wxcas-wxcasprefs.o] Fehler 1
make[5]: Leaving directory `/home/blut/aMule-2.1.3/src/utils/wxCas/src'
make[4]: *** [all-recursive] Fehler 1
make[4]: Leaving directory `/home/blut/aMule-2.1.3/src/utils/wxCas'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/home/blut/aMule-2.1.3/src/utils'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/blut/aMule-2.1.3/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/blut/aMule-2.1.3'
make: *** [all] Fehler 2

if i compile without --enable-wxcas i got another error ...
so i think there is something else missing or wrong ...

Thanks for any hints ... Gorescore ...
Title: Re: Fedora 7 compilation problems WxCasPrefs
Post by: skolnick on June 03, 2007, 06:09:53 AM
aMule 2.1.3 will not compile with wx 2.8 without patching the source code before. Next time, search first.
http://forum.amule.org/index.php?topic=11834.0

Regards.
Title: Re: Fedora 7 compilation problems WxCasPrefs
Post by: Gorescore on June 03, 2007, 03:29:26 PM
Thank you ...

PS: i did use the search function, but i didn´t find something ... make is easyer for us and make a sticky post here in this section about the patch.