aMule Bug Tracker - aMule
View Issue Details
0001247aMuleMiscpublic2008-01-25 13:012008-01-25 13:24
LucaCappelletti 
Xaignar 
normalblockalways
resolvednot fixable 
2.1.3 
 
Ubuntu 7.10 on i686
0001247: Compilation failed to libmuleappgui_a-MuleGifCtrl.o
trying to compile 2.1.3 under ubuntu
$ apt-get source amule
$ cd amule-2.1.3
$ CFLAGS="-Os -march=i686 -pipe" CXXFLAGS="-Os -march=i686 -pipe" ./configure --prefix=/tmp/Programs/ioAmule2.1.3/Linux-ix86
...
...
After configure Done:
$ make
..
..
tons of output...
then:
...

MuleGifCtrl.cpp:69: error: no matching function for call to 'wxGIFDecoder::wxGIFDecoder(wxMemoryInputStream*, int)'
/usr/include/wx-2.8/wx/gifdecod.h:105: note: candidates are: wxGIFDecoder::wxGIFDecoder(const wxGIFDecoder&)
/usr/include/wx-2.8/wx/gifdecod.h:53: note: wxGIFDecoder::wxGIFDecoder()
MuleGifCtrl.cpp:70: error: 'class wxGIFDecoder' has no member named 'ReadGIF'
MuleGifCtrl.cpp:76: error: 'class wxGIFDecoder' has no member named 'GoFirstFrame'
MuleGifCtrl.cpp:78: error: no matching function for call to 'wxGIFDecoder::ConvertToImage(wxImage*)'
/usr/include/wx-2.8/wx/gifdecod.h:83: note: candidates are: virtual bool wxGIFDecoder::ConvertToImage(unsigned int, wxImage*) const
MuleGifCtrl.cpp: In member function 'void MuleGifCtrl::Start()':
MuleGifCtrl.cpp:89: error: 'class wxGIFDecoder' has no member named 'GoLastFrame'
MuleGifCtrl.cpp: In member function 'virtual wxSize MuleGifCtrl::GetBestSize()':
MuleGifCtrl.cpp:105: error: 'class wxGIFDecoder' has no member named 'GetLogicalScreenWidth'
MuleGifCtrl.cpp:105: error: 'class wxGIFDecoder' has no member named 'GetLogicalScreenHeight'
MuleGifCtrl.cpp: In member function 'void MuleGifCtrl::OnTimer(wxTimerEvent&)':
MuleGifCtrl.cpp:113: error: 'class wxGIFDecoder' has no member named 'GoNextFrame'
MuleGifCtrl.cpp:116: error: no matching function for call to 'wxGIFDecoder::ConvertToImage(wxImage*)'
/usr/include/wx-2.8/wx/gifdecod.h:83: note: candidates are: virtual bool wxGIFDecoder::ConvertToImage(unsigned int, wxImage*) const
MuleGifCtrl.cpp:122: error: no matching function for call to 'wxGIFDecoder::GetDelay()'
/usr/include/wx-2.8/wx/gifdecod.h:66: note: candidates are: virtual long int wxGIFDecoder::GetDelay(unsigned int) const
MuleGifCtrl.cpp: In member function 'void MuleGifCtrl::OnPaint(wxPaintEvent&)':
MuleGifCtrl.cpp:132: error: 'class wxGIFDecoder' has no member named 'GetLogicalScreenWidth'
MuleGifCtrl.cpp:133: error: 'class wxGIFDecoder' has no member named 'GetLogicalScreenHeight'
MuleGifCtrl.cpp:137: error: 'class wxGIFDecoder' has no member named 'GetLeft'
MuleGifCtrl.cpp:137: error: 'class wxGIFDecoder' has no member named 'GetTop'
make[3]: *** [libmuleappgui_a-MuleGifCtrl.o] Error 1
make[3]: Leaving directory `/home/gutsy/amule-2.1.3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/gutsy/amule-2.1.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gutsy/amule-2.1.3'
make: *** [all] Error 2
Installed libwxgtk 2.8 dev
No tags attached.
Issue History
2008-01-25 13:01LucaCappellettiNew Issue
2008-01-25 13:01LucaCappellettiOperating System => Ubuntu 7.10 on i686
2008-01-25 13:03LucaCappellettiNote Added: 0002536
2008-01-25 13:24XaignarStatusnew => resolved
2008-01-25 13:24XaignarResolutionopen => not fixable
2008-01-25 13:24XaignarAssigned To => Xaignar
2008-01-25 13:24XaignarNote Added: 0002537

Notes
(0002536)
LucaCappelletti   
2008-01-25 13:03   
gutsy@cappelletti:~/amule-2.1.3$ env
SSH_AGENT_PID=5576
TERM=xterm
DESKTOP_STARTUP_ID=
SHELL=/bin/bash
XDG_SESSION_COOKIE=ec9a62dd66f902a7da4c37004794c000-1201187873.671424-725259585
GTK_RC_FILES=/etc/gtk/gtkrc:/home/administrator/.gtkrc-1.2-gnome2
WINDOWID=56623183
OLDPWD=/home/gutsy
LC_ALL=it_IT.UTF-8
USER=gutsy
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.flac=01;35:*.mp3=01;35:*.mpc=01;35:*.ogg=01;35:*.wav=01;35:
SUDO_USER=administrator
SUDO_UID=1000
GNOME_KEYRING_SOCKET=/tmp/keyring-Lx9Ql9/socket
SSH_AUTH_SOCK=/tmp/ssh-sPszoy5539/agent.5539
USERNAME=administrator
SESSION_MANAGER=local/cappelletti:/tmp/.ICE-unix/5539
MAIL=/var/mail/gutsy
DESKTOP_SESSION=default
PATH=/tmp/Programs/ioBinutils2.18.50-Ubuntu7.10/Linux-ix86/bin:/tmp/Programs/ioGcc4.2.2-Ubuntu7.10/Linux-ix86/bin:/tmp/Programs/ioGettext0.16-Ubuntu7.10/Linux-ix86/bin:/tmp/Programs/ioGperf3.0.3-Ubuntu7.10/Linux-ix86/bin:/tmp/Programs/ioMake3.81-Ubuntu7.10/Linux-ix86/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
GDM_XSERVER_LOCATION=local
PWD=/home/gutsy/amule-2.1.3
GNOME_KEYRING_PID=5536
LANG=it_IT.UTF-8
GDM_LANG=it_IT.UTF-8
GDMSESSION=default
HISTCONTROL=ignoreboth
SUDO_COMMAND=/bin/su
HOME=/home/gutsy
SHLVL=4
LANGUAGE=it_IT.UTF-8
GNOME_DESKTOP_SESSION_ID=Default
LOGNAME=gutsy
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-RfqmYgNxdB,guid=9c87883462c1e18ca92e50004798ac22
XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/
LESSOPEN=| /usr/bin/lesspipe %s
WINDOWPATH=7
SUDO_GID=1000
DISPLAY=:0.0
LESSCLOSE=/usr/bin/lesspipe %s %s
XAUTHORITY=/home/administrator/.Xauthority
COLORTERM=gnome-terminal
_=/usr/bin/env
(0002537)
Xaignar   
2008-01-25 13:24   
aMule 2.1.3 does not compile with wxWidgets-2.8.x, so if wish to use that, then I'd suggest that you grab a recent SVN snapshot. The alternative is to downgrade your copy of wxWidgets to 2.6.x.

Cheers.