Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65413 - Can't compile amule 2.0.0rc5
Summary: Can't compile amule 2.0.0rc5
Status: RESOLVED DUPLICATE of bug 66605
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-26 08:51 UTC by Jure Repinc
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jure Repinc 2004-09-26 08:51:39 UTC
I get this error when trying to compile:

In file included from amule.h:28,
                 from UploadQueue.cpp:50:
GuiEvents.h: In member function `bool Notify_Event_Msg::PtrLooksGood()':
GuiEvents.h:310: warning: cast from pointer to integer of different size
GuiEvents.h: In member function `void* PtrsXferClient::LU(const void*)':
GuiEvents.h:368: warning: cast from pointer to integer of different size
GuiEvents.h:368: warning: cast to pointer from integer of different size
if g++ -DHAVE_CONFIG_H -I. -I. -I..     -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include    -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers -I/usr/include/ -D__CRYPTO_MDK_SUSE_FC__    -MT amule-amule.o -MD -MP -MF ".deps/amule-amule.Tpo" \
  -c -o amule-amule.o `test -f 'amule.cpp' || echo './'`amule.cpp; \
then mv -f ".deps/amule-amule.Tpo" ".deps/amule-amule.Po"; \
else rm -f ".deps/amule-amule.Tpo"; exit 1; \
fi
amule.cpp:102:2: warning: #warning This ones must be removed ASAP - exception: amuledlg, will be the LAST one.
amule.cpp:656:4: warning: #warning we need to move this lowid warning to the GUI itself.
In file included from amule.h:28,
                 from amule.cpp:74:
GuiEvents.h: In member function `bool Notify_Event_Msg::PtrLooksGood()':
GuiEvents.h:310: warning: cast from pointer to integer of different size
GuiEvents.h: In member function `void* PtrsXferClient::LU(const void*)':
GuiEvents.h:368: warning: cast from pointer to integer of different size
GuiEvents.h:368: warning: cast to pointer from integer of different size
if g++ -DHAVE_CONFIG_H -I. -I. -I..     -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include    -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers -I/usr/include/ -D__CRYPTO_MDK_SUSE_FC__    -MT amule-amuleDlg.o -MD -MP -MF ".deps/amule-amuleDlg.Tpo" \
  -c -o amule-amuleDlg.o `test -f 'amuleDlg.cpp' || echo './'`amuleDlg.cpp; \
then mv -f ".deps/amule-amuleDlg.Tpo" ".deps/amule-amuleDlg.Po"; \
else rm -f ".deps/amule-amuleDlg.Tpo"; exit 1; \
fi
amuleDlg.cpp:484:2: warning: #warning This isnt the right textctrl!
amuleDlg.cpp:753:3: warning: #warning This will be here till the core close is != app close
In file included from amule.h:28,
                 from StatisticsDlg.h:31,
                 from amuleDlg.cpp:65:
GuiEvents.h: In member function `bool Notify_Event_Msg::PtrLooksGood()':
GuiEvents.h:310: warning: cast from pointer to integer of different size
GuiEvents.h: In member function `void* PtrsXferClient::LU(const void*)':
GuiEvents.h:368: warning: cast from pointer to integer of different size
GuiEvents.h:368: warning: cast to pointer from integer of different size
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include   -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers    -MT amule-gsocket.o -MD -MP -MF ".deps/amule-gsocket.Tpo" \
  -c -o amule-gsocket.o `test -f 'gsocket.c' || echo './'`gsocket.c; \
then mv -f ".deps/amule-gsocket.Tpo" ".deps/amule-gsocket.Po"; \
else rm -f ".deps/amule-gsocket.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include   -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers    -MT amule-eggtrayicon.o -MD -MP -MF ".deps/amule-eggtrayicon.Tpo" \
  -c -o amule-eggtrayicon.o `test -f 'eggtrayicon.c' || echo './'`eggtrayicon.c; \
then mv -f ".deps/amule-eggtrayicon.Tpo" ".deps/amule-eggtrayicon.Po"; \
else rm -f ".deps/amule-eggtrayicon.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I..     -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include    -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers -I/usr/include/ -D__CRYPTO_MDK_SUSE_FC__    -MT amule-SysTray.o -MD -MP -MF ".deps/amule-SysTray.Tpo" \
  -c -o amule-SysTray.o `test -f 'SysTray.cpp' || echo './'`SysTray.cpp; \
then mv -f ".deps/amule-SysTray.Tpo" ".deps/amule-SysTray.Po"; \
else rm -f ".deps/amule-SysTray.Tpo"; exit 1; \
fi
In file included from amule.h:28,
                 from SysTray.cpp:53:
GuiEvents.h: In member function `bool Notify_Event_Msg::PtrLooksGood()':
GuiEvents.h:310: warning: cast from pointer to integer of different size
GuiEvents.h: In member function `void* PtrsXferClient::LU(const void*)':
GuiEvents.h:368: warning: cast from pointer to integer of different size
GuiEvents.h:368: warning: cast to pointer from integer of different size
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include   -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers    -MT amule-gtk2-funcs.o -MD -MP -MF ".deps/amule-gtk2-funcs.Tpo" \
  -c -o amule-gtk2-funcs.o `test -f 'gtk2-funcs.c' || echo './'`gtk2-funcs.c; \
then mv -f ".deps/amule-gtk2-funcs.Tpo" ".deps/amule-gtk2-funcs.Po"; \
else rm -f ".deps/amule-gtk2-funcs.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include   -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers    -MT amule-gtkplugxembed.o -MD -MP -MF ".deps/amule-gtkplugxembed.Tpo" \
  -c -o amule-gtkplugxembed.o `test -f 'gtkplugxembed.c' || echo './'`gtkplugxembed.c; \
then mv -f ".deps/amule-gtkplugxembed.Tpo" ".deps/amule-gtkplugxembed.Po"; \
else rm -f ".deps/amule-gtkplugxembed.Tpo"; exit 1; \
fi
g++  -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers -I/usr/include/ -D__CRYPTO_MDK_SUSE_FC__      -o amule  amule-ListenSocket.o amule-ECSocket.o amule-EMSocket.o amule-AddFriend.o amule-AddFileThread.o amule-BarShader.o amule-BaseClient.o amule-ChatSelector.o amule-ChatWnd.o amule-CatDialog.o amule-CFile.o amule-ClientCredits.o amule-ClientDetailDialog.o amule-ClientList.o amule-ClientUDPSocket.o amule-ColorFrameCtrl.o amule-CommentDialog.oamule-CommentDialogLst.o amule-DirectoryTreeCtrl.o amule-DownloadClient.o amule-DownloadListCtrl.o amule-DownloadQueue.o amule-ED2KLink.o amule-EditServerListDlg.o amule-ExternalConn.o amule-FileDetailDialog.o amule-FileDetailListCtrl.o amule-filemem.o amule-filefn.o amule-Friend.o amule-FriendListCtrl.o amule-MuleGifCtrl.o amule-HTTPDownloadDlg.o amule-IPFilter.o amule-KnownFile.o amule-KadDlg.o amule-KnownFileList.o amule-listctrl.o amule-MD5Sum.o amule-MuleListCtrl.o amule-MuleNotebook.o amule-muuli_wdr.o amule-OScopeCtrl.o amule-otherfunctions.o amule-packets.o amule-PartFile.o amule-Preferences.o amule-PrefsUnifiedDlg.o amule-Preview.o amule-QueueListCtrl.o amule-SafeFile.o amule-SearchDlg.o amule-SearchList.o amule-SearchListCtrl.o amule-server.o amule-ServerList.o amule-ServerListCtrl.o amule-ServerSocket.o amule-ServerWnd.o amule-SharedFileList.o amule-SharedFilesCtrl.o amule-SharedFilesWnd.o amule-sockets.oamule-StatisticsDlg.o amule-TransferWnd.o amule-UDPSocket.o amule-UploadClient.o amule-UploadListCtrl.o amule-UploadQueue.o amule-amule.o amule-amuleDlg.oamule-gsocket.o  amule-eggtrayicon.o amule-SysTray.o amule-gtk2-funcs.o amule-gtkplugxembed.o   -pthread -lwx_gtk-2.4 -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lz -L/usr/lib -lcurl -lidn -lssl -lcrypto -ldl -lssl -lcrypto -ldl -lz -lcryptopp
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcryptopp
collect2: ld returned 1 exit status
make[4]: *** [amule] Error 1
make[4]: Leaving directory `/var/tmp/portage/amule-2.0.0_rc5/work/aMule-2.0.0rc5/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/amule-2.0.0_rc5/work/aMule-2.0.0rc5/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/amule-2.0.0_rc5/work/aMule-2.0.0rc5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/amule-2.0.0_rc5/work/aMule-2.0.0rc5'
make: *** [all] Error 2

Reproducible: Always
Steps to Reproduce:
1. emerge amule
Actual Results:  
Compilation fails

Expected Results:  
Compilation should finish
Comment 1 Jure Repinc 2004-09-26 08:52:17 UTC
Portage 2.0.51_rc1 (default-linux/amd64/gcc34-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.8-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.8-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.5.3
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.7-r4
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/root/portageoverlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa amd64 apm arts avi berkdb bitmap-fonts cdr crypt cups curl dvd dvdr encode esd exif fam fbcon flac foomaticdb ftp gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imlib jabber jpeg kde libg++ libwww mad mikmod motif mozilla mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png posix ppds python qt quicktime readline samba scanner sdl slang slp speex spell ssl tcpd tetex theora tiff truetype unicode usb videos xml2 xmms xosd xprint xv xvid zlib linguas_en linguas_sl"
Comment 2 Jon Hood (RETIRED) gentoo-dev 2004-10-05 10:13:22 UTC
What version of wxGTK are you using? Is this fixed with rc6 (now in portage)?
Comment 3 Jon Hood (RETIRED) gentoo-dev 2004-10-22 10:39:15 UTC
rc6 and rc7 are using their own crypto libraries. Please keep an eye on bug #66605 for a better fix for this.

*** This bug has been marked as a duplicate of 66605 ***