Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108553 - amule 2.0.3 build crash related to crypto++
Summary: amule 2.0.3 build crash related to crypto++
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
: 108556 110475 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-08 18:00 UTC by Néstor Amigo Cairo
Modified: 2005-11-15 09:23 UTC (History)
2 users (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 Néstor Amigo Cairo 2005-10-08 18:00:55 UTC
This is the output of 'emerge crypto++ ; emerge amule':

i686-pc-linux-gnu-g++  -march=pentium4 -mcpu=pentium4 -pipe -O2 -I/usr/include
-D__CRYPTO_DEBIAN_GENTOO__     -Wl,-O1 -L/usr/lib  -lpthread -o amulegui 
amulegui-amule-gui.o amulegui-amule-remote-gui.o amulegui-amuleDlg.o
amulegui-AddFriend.o amulegui-BarShader.o amulegui-CatDialog.o amulegui-CFile.o
amulegui-ChatSelector.o amulegui-ChatWnd.o amulegui-ClientCredits.o
amulegui-ClientDetailDialog.o amulegui-ClientListCtrl.o
amulegui-ColorFrameCtrl.o amulegui-CommentDialog.o amulegui-CommentDialogLst.o
amulegui-DataToText.o amulegui-DirectoryTreeCtrl.o amulegui-DownloadListCtrl.o
amulegui-ED2KLink.o amulegui-ECSocket.o amulegui-ECPacket.o
amulegui-ECSpecialTags.o amulegui-EditServerListDlg.o
amulegui-FileDetailDialog.o amulegui-FileDetailListCtrl.o amulegui-Format.o
amulegui-FriendListCtrl.o amulegui-KadDlg.o amulegui-KnownFile.o
amulegui-listctrl.o amulegui-Logger.o amulegui-MD5Sum.o amulegui-MemFile.o
amulegui-MuleGifCtrl.o amulegui-MuleListCtrl.o amulegui-MuleNotebook.o
amulegui-MuleTextCtrl.o amulegui-muuli_wdr.o amulegui-NetworkFunctions.o
amulegui-OtherFunctions.o amulegui-OScopeCtrl.o amulegui-PartFile.o
amulegui-Packet.o amulegui-Preferences.o amulegui-PrefsUnifiedDlg.o
amulegui-Proxy.o amulegui-SHA.o amulegui-SHAHashSet.o amulegui-SafeFile.o
amulegui-SearchDlg.o amulegui-SearchListCtrl.o amulegui-Server.o
amulegui-ServerWnd.o amulegui-SharedFilesCtrl.o amulegui-SharedFilesWnd.o
amulegui-ServerListCtrl.o amulegui-Statistics.o amulegui-StatisticsDlg.o
amulegui-StringFunctions.o amulegui-TransferWnd.o  amulegui-MuleTrayIcon.o 
-pthread -Wl,-O1  -lwx_gtk2u_xrc-2.6 -lwx_gtk2u_html-2.6 -lwx_gtk2u_adv-2.6
-lwx_gtk2u_core-2.6 -lwx_baseu_xml-2.6 -lwx_baseu_net-2.6 -lwx_baseu-2.6  -lz
-lcrypto++ -lbfd -liberty
amulegui-ClientCredits.o(.gnu.linkonce.t._ZN8CryptoPP18StandardReallocateIjNS_16AlignedAllocatorIjEEEEN1A7pointerERS3_PT_NS3_9size_typeES8_b+0x3d):
In function `A::pointer CryptoPP::StandardReallocate<unsigned,
CryptoPP::AlignedAllocator<unsigned> >(A&, unsigned*, A::size_type,
A::size_type, bool)':
: undefined reference to
`CryptoPP::AlignedAllocator<unsigned>::allocate(unsigned, void const*)'
amulegui-ClientCredits.o(.gnu.linkonce.t._ZN8CryptoPP18StandardReallocateIjNS_16AlignedAllocatorIjEEEEN1A7pointerERS3_PT_NS3_9size_typeES8_b+0x77):
In function `A::pointer CryptoPP::StandardReallocate<unsigned,
CryptoPP::AlignedAllocator<unsigned> >(A&, unsigned*, A::size_type,
A::size_type, bool)':
: undefined reference to
`CryptoPP::AlignedAllocator<unsigned>::deallocate(void*, unsigned)'
amulegui-ClientCredits.o(.gnu.linkonce.t._ZN8CryptoPP18StandardReallocateIjNS_16AlignedAllocatorIjEEEEN1A7pointerERS3_PT_NS3_9size_typeES8_b+0x9c):
In function `A::pointer CryptoPP::StandardReallocate<unsigned,
CryptoPP::AlignedAllocator<unsigned> >(A&, unsigned*, A::size_type,
A::size_type, bool)':
: undefined reference to
`CryptoPP::AlignedAllocator<unsigned>::deallocate(void*, unsigned)'
amulegui-ClientCredits.o(.gnu.linkonce.t._ZN8CryptoPP18StandardReallocateIjNS_16AlignedAllocatorIjEEEEN1A7pointerERS3_PT_NS3_9size_typeES8_b+0xb3):
In function `A::pointer CryptoPP::StandardReallocate<unsigned,
CryptoPP::AlignedAllocator<unsigned> >(A&, unsigned*, A::size_type,
A::size_type, bool)':
: undefined reference to
`CryptoPP::AlignedAllocator<unsigned>::allocate(unsigned, void const*)'
collect2: ld devolvi
Comment 1 Néstor Amigo Cairo 2005-10-08 18:00:55 UTC
This is the output of 'emerge crypto++ ; emerge amule':

i686-pc-linux-gnu-g++  -march=pentium4 -mcpu=pentium4 -pipe -O2 -I/usr/include
-D__CRYPTO_DEBIAN_GENTOO__     -Wl,-O1 -L/usr/lib  -lpthread -o amulegui 
amulegui-amule-gui.o amulegui-amule-remote-gui.o amulegui-amuleDlg.o
amulegui-AddFriend.o amulegui-BarShader.o amulegui-CatDialog.o amulegui-CFile.o
amulegui-ChatSelector.o amulegui-ChatWnd.o amulegui-ClientCredits.o
amulegui-ClientDetailDialog.o amulegui-ClientListCtrl.o
amulegui-ColorFrameCtrl.o amulegui-CommentDialog.o amulegui-CommentDialogLst.o
amulegui-DataToText.o amulegui-DirectoryTreeCtrl.o amulegui-DownloadListCtrl.o
amulegui-ED2KLink.o amulegui-ECSocket.o amulegui-ECPacket.o
amulegui-ECSpecialTags.o amulegui-EditServerListDlg.o
amulegui-FileDetailDialog.o amulegui-FileDetailListCtrl.o amulegui-Format.o
amulegui-FriendListCtrl.o amulegui-KadDlg.o amulegui-KnownFile.o
amulegui-listctrl.o amulegui-Logger.o amulegui-MD5Sum.o amulegui-MemFile.o
amulegui-MuleGifCtrl.o amulegui-MuleListCtrl.o amulegui-MuleNotebook.o
amulegui-MuleTextCtrl.o amulegui-muuli_wdr.o amulegui-NetworkFunctions.o
amulegui-OtherFunctions.o amulegui-OScopeCtrl.o amulegui-PartFile.o
amulegui-Packet.o amulegui-Preferences.o amulegui-PrefsUnifiedDlg.o
amulegui-Proxy.o amulegui-SHA.o amulegui-SHAHashSet.o amulegui-SafeFile.o
amulegui-SearchDlg.o amulegui-SearchListCtrl.o amulegui-Server.o
amulegui-ServerWnd.o amulegui-SharedFilesCtrl.o amulegui-SharedFilesWnd.o
amulegui-ServerListCtrl.o amulegui-Statistics.o amulegui-StatisticsDlg.o
amulegui-StringFunctions.o amulegui-TransferWnd.o  amulegui-MuleTrayIcon.o 
-pthread -Wl,-O1  -lwx_gtk2u_xrc-2.6 -lwx_gtk2u_html-2.6 -lwx_gtk2u_adv-2.6
-lwx_gtk2u_core-2.6 -lwx_baseu_xml-2.6 -lwx_baseu_net-2.6 -lwx_baseu-2.6  -lz
-lcrypto++ -lbfd -liberty
amulegui-ClientCredits.o(.gnu.linkonce.t._ZN8CryptoPP18StandardReallocateIjNS_16AlignedAllocatorIjEEEEN1A7pointerERS3_PT_NS3_9size_typeES8_b+0x3d):
In function `A::pointer CryptoPP::StandardReallocate<unsigned,
CryptoPP::AlignedAllocator<unsigned> >(A&, unsigned*, A::size_type,
A::size_type, bool)':
: undefined reference to
`CryptoPP::AlignedAllocator<unsigned>::allocate(unsigned, void const*)'
amulegui-ClientCredits.o(.gnu.linkonce.t._ZN8CryptoPP18StandardReallocateIjNS_16AlignedAllocatorIjEEEEN1A7pointerERS3_PT_NS3_9size_typeES8_b+0x77):
In function `A::pointer CryptoPP::StandardReallocate<unsigned,
CryptoPP::AlignedAllocator<unsigned> >(A&, unsigned*, A::size_type,
A::size_type, bool)':
: undefined reference to
`CryptoPP::AlignedAllocator<unsigned>::deallocate(void*, unsigned)'
amulegui-ClientCredits.o(.gnu.linkonce.t._ZN8CryptoPP18StandardReallocateIjNS_16AlignedAllocatorIjEEEEN1A7pointerERS3_PT_NS3_9size_typeES8_b+0x9c):
In function `A::pointer CryptoPP::StandardReallocate<unsigned,
CryptoPP::AlignedAllocator<unsigned> >(A&, unsigned*, A::size_type,
A::size_type, bool)':
: undefined reference to
`CryptoPP::AlignedAllocator<unsigned>::deallocate(void*, unsigned)'
amulegui-ClientCredits.o(.gnu.linkonce.t._ZN8CryptoPP18StandardReallocateIjNS_16AlignedAllocatorIjEEEEN1A7pointerERS3_PT_NS3_9size_typeES8_b+0xb3):
In function `A::pointer CryptoPP::StandardReallocate<unsigned,
CryptoPP::AlignedAllocator<unsigned> >(A&, unsigned*, A::size_type,
A::size_type, bool)':
: undefined reference to
`CryptoPP::AlignedAllocator<unsigned>::allocate(unsigned, void const*)'
collect2: ld devolvió el estado de salida 1
make[3]: *** [amulegui] Error 1
make[3]: Leaving directory `/var/tmp/portage/amule-2.0.3/work/aMule-2.0.3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/amule-2.0.3/work/aMule-2.0.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/amule-2.0.3/work/aMule-2.0.3'
make: *** [all] Error 2

Reproducible: Always
Steps to Reproduce:
1. emerge amule
2. wait to compile
3. error appears

Actual Results:  
amule crashes when it tries to compile. I can't get it working then.

Expected Results:  
amule would compile fine.

dev-libs/crypto++-5.2.1
net-p2p/amule-2.0.3  +amuled -debug +gtk2 +nls -remote -stats +unicode

CFLAGS="-march=pentium4 -mcpu=pentium4 -pipe -O2"


`emerge info` output:

Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2,
2.6.13-gentoo-r3 i686)
=================================================================
System uname: 2.6.13-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -mcpu=pentium4 -pipe -O2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -mcpu=pentium4 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://linuv.uv.es/mirror/gentoo/ http://ftp.caliu.info/pub/gentoo/"
LANG="es_ES.UTF-8@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="es"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa avi bash-completion bmp bzip2 cdparanoia cdr crypt
cups dga directfb divx4linux doc dri dts dvd dvdread encode esd examples exif
fam fbcon ffmpeg firefox flac ftp gcj gd gif glut gnome gpm gstreamer gtk2
gtkhtml hal iconv imlib java javascript jpeg lcms libedit libwww lirc lm_sensors
mad mikmod mime mmap mmx mng mp3 mpeg mplayer msn ncurses nls nptl nsplugin ogg
oggvorbis opengl pdflib pic png quicktime readline sdl sharedmem slang speex
spell sse ssl svg symlink tcpd theora tiff truetype truetype-fonts unicode usb
vcd videos vorbis wifi win32codecs wmf xine xml2 xosd xprint xv zlib linguas_es
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, PORTDIR_OVERLAY
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-10-08 18:10:20 UTC
*** Bug 108556 has been marked as a duplicate of this bug. ***
Comment 3 Marcin Kryczek (RETIRED) gentoo-dev 2005-10-11 13:18:01 UTC
can you use version 2.0.3-r3 or 2.0.3-r4 (they're both in ~x86)? they should go 
stable soon anyway...
Comment 4 Néstor Amigo Cairo 2005-10-11 17:48:37 UTC
(In reply to comment #2)
> can you use version 2.0.3-r3 or 2.0.3-r4 (they're both in ~x86)? they should go 
> stable soon anyway...

i get the following:
emerge amule
Calculating dependencies ...done!
>>> emerge (1 of 1) net-p2p/amule-2.0.3-r4 to /

[.......
........]

>>> md5 src_uri ;-) aMule-2.0.3.tar.bz2
!!! set-wxconfig: Error:  Can't find normal or debug version:
!!! set-wxconfig:         /usr/lib/wx/config/base-unicode-release-2.6 not
found!!! set-wxconfig:         /usr/lib/wx/config/base-unicode-debug-2.6 not found
Comment 5 Marcin Kryczek (RETIRED) gentoo-dev 2005-10-12 01:11:59 UTC
you need wxGTK compiled with the same USE as amule. it's about flags unicode and 
gtk 
basically - if you want to keep your existing USE set for amule, you have to 
recompile wxGTK with USE="unicode -gtk2" (but that's propably not what you want 
- you won't get GUI in that case - read below)

your current set is not valid. you've got:
-gtk (means: do not compile any GUI if it's optional)
gtk2 (means: if you compile GUI and there's a choice between gtk1 and gtk2 
versions, i'd prefer gtk2)

so basically you won't have any GUI in most application, which support is as an 
option. (and if you get, that means the ebuild is broken)

PS: gtk2 flag would be entirely removed from gentoo soon, but until it exists i 
suggest to have both (gtk and gtk2) in USE. Adding gtk to set will also fix the 
problem (you won't have to recompile wxGTK)
Comment 6 Carlos Fuertes 2005-10-14 19:18:31 UTC
I have also tryed to emerge amule (net-p2p/amule version 2.0.3, the latest
stable available version) and what I get is a kind of similar error (and I'm
sure to have compiled wxGTK and amule with the same USE set): 

...
i686-pc-linux-gnu-g++  -O2 -march=pentium4 -pipe -I/usr/include -D__CRYPTO_DEBIA
N_GENTOO__     -L/usr/lib  -lpthread -o amule  amule-AddFriend.o amule-AddFileTh
read.o amule-AICHSyncThread.o amule-amule.o amule-amule-gui.o amule-amuleDlg.o a
mule-BarShader.o amule-BaseClient.o amule-ChatSelector.o amule-ChatWnd.o amule-C
atDialog.o amule-CFile.o amule-ClientCredits.o amule-ClientDetailDialog.o amule-
ClientList.o amule-ClientListCtrl.o amule-ClientUDPSocket.o amule-ColorFrameCtrl
.o amule-CommentDialog.o amule-CommentDialogLst.o amule-DataToText.o amule-DeadS
ourceList.o amule-DirectoryTreeCtrl.o amule-DownloadClient.o amule-DownloadListC
trl.o amule-DownloadQueue.o amule-ECSocket.o amule-ECPacket.o amule-ECSpecialTag
s.o amule-ED2KLink.o amule-EditServerListDlg.o amule-EMSocket.o amule-ExternalCo
nn.o amule-FileDetailDialog.o amule-FileDetailListCtrl.o amule-filefn.o amule-Fo
rmat.o amule-Friend.o amule-FriendList.o amule-FriendListCtrl.o amule-HTTPDownlo
ad.o amule-IPFilter.o amule-KnownFile.o amule-KadDlg.o amule-KnownFileList.o amu
le-ListenSocket.o amule-listctrl.o amule-Logger.o amule-MemFile.o amule-MD5Sum.o
 amule-MuleGifCtrl.o amule-MuleListCtrl.o amule-MuleNotebook.o amule-MuleTextCtr
l.o amule-muuli_wdr.o amule-NetworkFunctions.o amule-OScopeCtrl.o amule-OtherFun
ctions.o amule-Packet.o amule-PartFile.o amule-Preferences.o amule-PrefsUnifiedD
lg.o amule-Proxy.o amule-SafeFile.o amule-SearchDlg.o amule-SearchList.o amule-S
earchListCtrl.o amule-Server.o amule-ServerConnect.o amule-ServerList.o amule-Se
rverListCtrl.o amule-ServerSocket.o amule-ServerUDPSocket.o amule-ServerWnd.o am
ule-SharedFileList.o amule-SharedFilesCtrl.o amule-SharedFilesWnd.o amule-SHA.o
amule-SHAHashSet.o amule-Statistics.o amule-StatisticsDlg.o amule-StateMachine.o
 amule-StringFunctions.o amule-TransferWnd.o amule-UploadClient.o amule-UploadQu
eue.o amule-ByteIO.o amule-DataIO.o amule-FileIO.o amule-IOException.o amule-UIn
t128.o    amule-MuleTrayIcon.o  -pthread   -lwx_gtk2_xrc-2.6 -lwx_gtk2_html-2.6
-lwx_gtk2_adv-2.6 -lwx_gtk2_core-2.6 -lwx_base_xml-2.6 -lwx_base_net-2.6 -lwx_ba
se-2.6  -lz -lcrypto++  -lbfd -liberty
amule-ClientCredits.o(.text+0x1d66): In function `CClientCreditsList::CreateKeyP
air()':
: undefined reference to `CryptoPP::AlignedAllocator<unsigned>::deallocate(void*
, unsigned)'
amule-ClientCredits.o(.text+0x23ef): In function `CClientCreditsList::CreateKeyP
air()':
: undefined reference to `CryptoPP::AlignedAllocator<unsigned>::deallocate(void*
, unsigned)'
amule-ClientCredits.o(.gnu.linkonce.t._ZN8CryptoPP11RSAFunctionC1Ev+0xcf): In fu
nction `CryptoPP::RSAFunction::RSAFunction[in-charge]()':
: undefined reference to `CryptoPP::AlignedAllocator<unsigned>::deallocate(void*
, unsigned)'
amule-ClientCredits.o(.gnu.linkonce.t._ZN8CryptoPP11RSAFunctionD1Ev+0x3f): In fu
nction `CryptoPP::RSAFunction::~RSAFunction [in-charge]()':
: undefined reference to `CryptoPP::AlignedAllocator<unsigned>::deallocate(void*
, unsigned)'
amule-ClientCredits.o(.gnu.linkonce.t._ZN8CryptoPP11RSAFunctionD1Ev+0x68): In fu
nction `CryptoPP::RSAFunction::~RSAFunction [in-charge]()':
: undefined reference to `CryptoPP::AlignedAllocator<unsigned>::deallocate(void*
, unsigned)'
amule-ClientCredits.o(.gnu.linkonce.t._ZN8CryptoPP11RSAFunctionD1Ev+0x13f): more
 undefined references to `CryptoPP::AlignedAllocator<unsigned>::deallocate(void*
, unsigned)' follow
amule-ClientCredits.o(.gnu.linkonce.t._ZN8CryptoPP18StandardReallocateIjNS_16Ali
gnedAllocatorIjEEEEN1A7pointerERS3_PT_NS3_9size_typeES8_b+0x3d): In function `A:
:pointer CryptoPP::StandardReallocate<unsigned, CryptoPP::AlignedAllocator<unsig
ned> >(A&, unsigned*, A::size_type, A::size_type, bool)':
: undefined reference to `CryptoPP::AlignedAllocator<unsigned>::allocate(unsigne
d, void const*)'
amule-ClientCredits.o(.gnu.linkonce.t._ZN8CryptoPP18StandardReallocateIjNS_16Ali
gnedAllocatorIjEEEEN1A7pointerERS3_PT_NS3_9size_typeES8_b+0x77): In function `A:
:pointer CryptoPP::StandardReallocate<unsigned, CryptoPP::AlignedAllocator<unsig
ned> >(A&, unsigned*, A::size_type, A::size_type, bool)':
: undefined reference to `CryptoPP::AlignedAllocator<unsigned>::deallocate(void*
, unsigned)'
amule-ClientCredits.o(.gnu.linkonce.t._ZN8CryptoPP18StandardReallocateIjNS_16Ali
gnedAllocatorIjEEEEN1A7pointerERS3_PT_NS3_9size_typeES8_b+0x9c): In function `A:
:pointer CryptoPP::StandardReallocate<unsigned, CryptoPP::AlignedAllocator<unsig
ned> >(A&, unsigned*, A::size_type, A::size_type, bool)':
: undefined reference to `CryptoPP::AlignedAllocator<unsigned>::deallocate(void*
, unsigned)'
amule-ClientCredits.o(.gnu.linkonce.t._ZN8CryptoPP18StandardReallocateIjNS_16Ali
gnedAllocatorIjEEEEN1A7pointerERS3_PT_NS3_9size_typeES8_b+0xb3): In function `A:
:pointer CryptoPP::StandardReallocate<unsigned, CryptoPP::AlignedAllocator<unsig
ned> >(A&, unsigned*, A::size_type, A::size_type, bool)':
: undefined reference to `CryptoPP::AlignedAllocator<unsigned>::allocate(unsigne
d, void const*)'
amule-ClientCredits.o(.gnu.linkonce.t._ZNK8CryptoPP22TF_SignatureSchemeBaseINS_1
1PK_VerifierENS_7TF_BaseINS_16TrapdoorFunctionENS_33PK_SignatureMessageEncodingM
ethodEEEE15SignatureLengthEv+0x52): In function `CryptoPP::TF_SignatureSchemeBas
e<CryptoPP::PK_Verifier, CryptoPP::TF_Base<CryptoPP::TrapdoorFunction, CryptoPP:
:PK_SignatureMessageEncodingMethod> >::SignatureLength() const':
: undefined reference to `CryptoPP::AlignedAllocator<unsigned>::deallocate(void*
, unsigned)'
amule-ClientCredits.o(.gnu.linkonce.t._ZNK8CryptoPP22TF_SignatureSchemeBaseINS_1
1PK_VerifierENS_7TF_BaseINS_16TrapdoorFunctionENS_33PK_SignatureMessageEncodingM
ethodEEEE15SignatureLengthEv+0x8e): In function `CryptoPP::TF_SignatureSchemeBas
e<CryptoPP::PK_Verifier, CryptoPP::TF_Base<CryptoPP::TrapdoorFunction, CryptoPP:
:PK_SignatureMessageEncodingMethod> >::SignatureLength() const':
: undefined reference to `CryptoPP::AlignedAllocator<unsigned>::deallocate(void*
, unsigned)'
amule-ClientCredits.o(.gnu.linkonce.t._ZNK8CryptoPP22TF_SignatureSchemeBaseINS_1
1PK_VerifierENS_7TF_BaseINS_16TrapdoorFunctionENS_33PK_SignatureMessageEncodingM
ethodEEEE20MaxRecoverableLengthEv+0x7c): In function `CryptoPP::TF_SignatureSche
meBase<CryptoPP::PK_Verifier, CryptoPP::TF_Base<CryptoPP::TrapdoorFunction, Cryp
toPP::PK_SignatureMessageEncodingMethod> >::MaxRecoverableLength() const':
: undefined reference to `CryptoPP::AlignedAllocator<unsigned>::deallocate(void*
, unsigned)'
amule-ClientCredits.o(.gnu.linkonce.t._ZNK8CryptoPP22TF_SignatureSchemeBaseINS_1
1PK_VerifierENS_7TF_BaseINS_16TrapdoorFunctionENS_33PK_SignatureMessageEncodingM
ethodEEEE20MaxRecoverableLengthEv+0xd2): In function `CryptoPP::TF_SignatureSche
meBase<CryptoPP::PK_Verifier, CryptoPP::TF_Base<CryptoPP::TrapdoorFunction, Cryp
toPP::PK_SignatureMessageEncodingMethod> >::MaxRecoverableLength() const':
: undefined reference to `CryptoPP::AlignedAllocator<unsigned>::deallocate(void*
, unsigned)'
amule-ClientCredits.o(.gnu.linkonce.t._ZNK8CryptoPP17TF_ObjectImplBaseINS_8TwoBa
sesINS_15TF_VerifierBaseENS_15PublicKeyCopierINS_3RSAEEEEENS_25TF_SignatureSchem
eOptionsINS_5TF_SSINS_8PKCS1v15ENS_3SHAES4_iEES4_NS_39PKCS1v15_SignatureMessageE
ncodingMethodESA_EENS_11RSAFunctionEE26NewVerificationAccumulatorEv+0x192): In f
unction `CryptoPP::TF_ObjectImplBase<CryptoPP::TwoBases<CryptoPP::TF_VerifierBas
e, CryptoPP::PublicKeyCopier<CryptoPP::RSA> >, CryptoPP::TF_SignatureSchemeOptio
ns<CryptoPP::TF_SS<CryptoPP::PKCS1v15, CryptoPP::SHA, CryptoPP::RSA, int>, Crypt
oPP::RSA, CryptoPP::PKCS1v15_SignatureMessageEncodingMethod, CryptoPP::SHA>, Cry
ptoPP::RSAFunction>::NewVerificationAccumulator() const':
: undefined reference to `CryptoPP::AlignedAllocator<unsigned>::deallocate(void*
, unsigned)'
amule-ClientCredits.o(.gnu.linkonce.t._ZNK8CryptoPP17TF_ObjectImplBaseINS_8TwoBa
sesINS_15TF_VerifierBaseENS_15PublicKeyCopierINS_3RSAEEEEENS_25TF_SignatureSchem
eOptionsINS_5TF_SSINS_8PKCS1v15ENS_3SHAES4_iEES4_NS_39PKCS1v15_SignatureMessageE
ncodingMethodESA_EENS_11RSAFunctionEE26NewVerificationAccumulatorEv+0x1bb): more
 undefined references to `CryptoPP::AlignedAllocator<unsigned>::deallocate(void*
, unsigned)' follow
collect2: ld devolvi
Comment 7 Carlos Fuertes 2005-10-14 19:18:31 UTC
I have also tryed to emerge amule (net-p2p/amule version 2.0.3, the latest
stable available version) and what I get is a kind of similar error (and I'm
sure to have compiled wxGTK and amule with the same USE set): 

...
i686-pc-linux-gnu-g++  -O2 -march=pentium4 -pipe -I/usr/include -D__CRYPTO_DEBIA
N_GENTOO__     -L/usr/lib  -lpthread -o amule  amule-AddFriend.o amule-AddFileTh
read.o amule-AICHSyncThread.o amule-amule.o amule-amule-gui.o amule-amuleDlg.o a
mule-BarShader.o amule-BaseClient.o amule-ChatSelector.o amule-ChatWnd.o amule-C
atDialog.o amule-CFile.o amule-ClientCredits.o amule-ClientDetailDialog.o amule-
ClientList.o amule-ClientListCtrl.o amule-ClientUDPSocket.o amule-ColorFrameCtrl
.o amule-CommentDialog.o amule-CommentDialogLst.o amule-DataToText.o amule-DeadS
ourceList.o amule-DirectoryTreeCtrl.o amule-DownloadClient.o amule-DownloadListC
trl.o amule-DownloadQueue.o amule-ECSocket.o amule-ECPacket.o amule-ECSpecialTag
s.o amule-ED2KLink.o amule-EditServerListDlg.o amule-EMSocket.o amule-ExternalCo
nn.o amule-FileDetailDialog.o amule-FileDetailListCtrl.o amule-filefn.o amule-Fo
rmat.o amule-Friend.o amule-FriendList.o amule-FriendListCtrl.o amule-HTTPDownlo
ad.o amule-IPFilter.o amule-KnownFile.o amule-KadDlg.o amule-KnownFileList.o amu
le-ListenSocket.o amule-listctrl.o amule-Logger.o amule-MemFile.o amule-MD5Sum.o
 amule-MuleGifCtrl.o amule-MuleListCtrl.o amule-MuleNotebook.o amule-MuleTextCtr
l.o amule-muuli_wdr.o amule-NetworkFunctions.o amule-OScopeCtrl.o amule-OtherFun
ctions.o amule-Packet.o amule-PartFile.o amule-Preferences.o amule-PrefsUnifiedD
lg.o amule-Proxy.o amule-SafeFile.o amule-SearchDlg.o amule-SearchList.o amule-S
earchListCtrl.o amule-Server.o amule-ServerConnect.o amule-ServerList.o amule-Se
rverListCtrl.o amule-ServerSocket.o amule-ServerUDPSocket.o amule-ServerWnd.o am
ule-SharedFileList.o amule-SharedFilesCtrl.o amule-SharedFilesWnd.o amule-SHA.o
amule-SHAHashSet.o amule-Statistics.o amule-StatisticsDlg.o amule-StateMachine.o
 amule-StringFunctions.o amule-TransferWnd.o amule-UploadClient.o amule-UploadQu
eue.o amule-ByteIO.o amule-DataIO.o amule-FileIO.o amule-IOException.o amule-UIn
t128.o    amule-MuleTrayIcon.o  -pthread   -lwx_gtk2_xrc-2.6 -lwx_gtk2_html-2.6
-lwx_gtk2_adv-2.6 -lwx_gtk2_core-2.6 -lwx_base_xml-2.6 -lwx_base_net-2.6 -lwx_ba
se-2.6  -lz -lcrypto++  -lbfd -liberty
amule-ClientCredits.o(.text+0x1d66): In function `CClientCreditsList::CreateKeyP
air()':
: undefined reference to `CryptoPP::AlignedAllocator<unsigned>::deallocate(void*
, unsigned)'
amule-ClientCredits.o(.text+0x23ef): In function `CClientCreditsList::CreateKeyP
air()':
: undefined reference to `CryptoPP::AlignedAllocator<unsigned>::deallocate(void*
, unsigned)'
amule-ClientCredits.o(.gnu.linkonce.t._ZN8CryptoPP11RSAFunctionC1Ev+0xcf): In fu
nction `CryptoPP::RSAFunction::RSAFunction[in-charge]()':
: undefined reference to `CryptoPP::AlignedAllocator<unsigned>::deallocate(void*
, unsigned)'
amule-ClientCredits.o(.gnu.linkonce.t._ZN8CryptoPP11RSAFunctionD1Ev+0x3f): In fu
nction `CryptoPP::RSAFunction::~RSAFunction [in-charge]()':
: undefined reference to `CryptoPP::AlignedAllocator<unsigned>::deallocate(void*
, unsigned)'
amule-ClientCredits.o(.gnu.linkonce.t._ZN8CryptoPP11RSAFunctionD1Ev+0x68): In fu
nction `CryptoPP::RSAFunction::~RSAFunction [in-charge]()':
: undefined reference to `CryptoPP::AlignedAllocator<unsigned>::deallocate(void*
, unsigned)'
amule-ClientCredits.o(.gnu.linkonce.t._ZN8CryptoPP11RSAFunctionD1Ev+0x13f): more
 undefined references to `CryptoPP::AlignedAllocator<unsigned>::deallocate(void*
, unsigned)' follow
amule-ClientCredits.o(.gnu.linkonce.t._ZN8CryptoPP18StandardReallocateIjNS_16Ali
gnedAllocatorIjEEEEN1A7pointerERS3_PT_NS3_9size_typeES8_b+0x3d): In function `A:
:pointer CryptoPP::StandardReallocate<unsigned, CryptoPP::AlignedAllocator<unsig
ned> >(A&, unsigned*, A::size_type, A::size_type, bool)':
: undefined reference to `CryptoPP::AlignedAllocator<unsigned>::allocate(unsigne
d, void const*)'
amule-ClientCredits.o(.gnu.linkonce.t._ZN8CryptoPP18StandardReallocateIjNS_16Ali
gnedAllocatorIjEEEEN1A7pointerERS3_PT_NS3_9size_typeES8_b+0x77): In function `A:
:pointer CryptoPP::StandardReallocate<unsigned, CryptoPP::AlignedAllocator<unsig
ned> >(A&, unsigned*, A::size_type, A::size_type, bool)':
: undefined reference to `CryptoPP::AlignedAllocator<unsigned>::deallocate(void*
, unsigned)'
amule-ClientCredits.o(.gnu.linkonce.t._ZN8CryptoPP18StandardReallocateIjNS_16Ali
gnedAllocatorIjEEEEN1A7pointerERS3_PT_NS3_9size_typeES8_b+0x9c): In function `A:
:pointer CryptoPP::StandardReallocate<unsigned, CryptoPP::AlignedAllocator<unsig
ned> >(A&, unsigned*, A::size_type, A::size_type, bool)':
: undefined reference to `CryptoPP::AlignedAllocator<unsigned>::deallocate(void*
, unsigned)'
amule-ClientCredits.o(.gnu.linkonce.t._ZN8CryptoPP18StandardReallocateIjNS_16Ali
gnedAllocatorIjEEEEN1A7pointerERS3_PT_NS3_9size_typeES8_b+0xb3): In function `A:
:pointer CryptoPP::StandardReallocate<unsigned, CryptoPP::AlignedAllocator<unsig
ned> >(A&, unsigned*, A::size_type, A::size_type, bool)':
: undefined reference to `CryptoPP::AlignedAllocator<unsigned>::allocate(unsigne
d, void const*)'
amule-ClientCredits.o(.gnu.linkonce.t._ZNK8CryptoPP22TF_SignatureSchemeBaseINS_1
1PK_VerifierENS_7TF_BaseINS_16TrapdoorFunctionENS_33PK_SignatureMessageEncodingM
ethodEEEE15SignatureLengthEv+0x52): In function `CryptoPP::TF_SignatureSchemeBas
e<CryptoPP::PK_Verifier, CryptoPP::TF_Base<CryptoPP::TrapdoorFunction, CryptoPP:
:PK_SignatureMessageEncodingMethod> >::SignatureLength() const':
: undefined reference to `CryptoPP::AlignedAllocator<unsigned>::deallocate(void*
, unsigned)'
amule-ClientCredits.o(.gnu.linkonce.t._ZNK8CryptoPP22TF_SignatureSchemeBaseINS_1
1PK_VerifierENS_7TF_BaseINS_16TrapdoorFunctionENS_33PK_SignatureMessageEncodingM
ethodEEEE15SignatureLengthEv+0x8e): In function `CryptoPP::TF_SignatureSchemeBas
e<CryptoPP::PK_Verifier, CryptoPP::TF_Base<CryptoPP::TrapdoorFunction, CryptoPP:
:PK_SignatureMessageEncodingMethod> >::SignatureLength() const':
: undefined reference to `CryptoPP::AlignedAllocator<unsigned>::deallocate(void*
, unsigned)'
amule-ClientCredits.o(.gnu.linkonce.t._ZNK8CryptoPP22TF_SignatureSchemeBaseINS_1
1PK_VerifierENS_7TF_BaseINS_16TrapdoorFunctionENS_33PK_SignatureMessageEncodingM
ethodEEEE20MaxRecoverableLengthEv+0x7c): In function `CryptoPP::TF_SignatureSche
meBase<CryptoPP::PK_Verifier, CryptoPP::TF_Base<CryptoPP::TrapdoorFunction, Cryp
toPP::PK_SignatureMessageEncodingMethod> >::MaxRecoverableLength() const':
: undefined reference to `CryptoPP::AlignedAllocator<unsigned>::deallocate(void*
, unsigned)'
amule-ClientCredits.o(.gnu.linkonce.t._ZNK8CryptoPP22TF_SignatureSchemeBaseINS_1
1PK_VerifierENS_7TF_BaseINS_16TrapdoorFunctionENS_33PK_SignatureMessageEncodingM
ethodEEEE20MaxRecoverableLengthEv+0xd2): In function `CryptoPP::TF_SignatureSche
meBase<CryptoPP::PK_Verifier, CryptoPP::TF_Base<CryptoPP::TrapdoorFunction, Cryp
toPP::PK_SignatureMessageEncodingMethod> >::MaxRecoverableLength() const':
: undefined reference to `CryptoPP::AlignedAllocator<unsigned>::deallocate(void*
, unsigned)'
amule-ClientCredits.o(.gnu.linkonce.t._ZNK8CryptoPP17TF_ObjectImplBaseINS_8TwoBa
sesINS_15TF_VerifierBaseENS_15PublicKeyCopierINS_3RSAEEEEENS_25TF_SignatureSchem
eOptionsINS_5TF_SSINS_8PKCS1v15ENS_3SHAES4_iEES4_NS_39PKCS1v15_SignatureMessageE
ncodingMethodESA_EENS_11RSAFunctionEE26NewVerificationAccumulatorEv+0x192): In f
unction `CryptoPP::TF_ObjectImplBase<CryptoPP::TwoBases<CryptoPP::TF_VerifierBas
e, CryptoPP::PublicKeyCopier<CryptoPP::RSA> >, CryptoPP::TF_SignatureSchemeOptio
ns<CryptoPP::TF_SS<CryptoPP::PKCS1v15, CryptoPP::SHA, CryptoPP::RSA, int>, Crypt
oPP::RSA, CryptoPP::PKCS1v15_SignatureMessageEncodingMethod, CryptoPP::SHA>, Cry
ptoPP::RSAFunction>::NewVerificationAccumulator() const':
: undefined reference to `CryptoPP::AlignedAllocator<unsigned>::deallocate(void*
, unsigned)'
amule-ClientCredits.o(.gnu.linkonce.t._ZNK8CryptoPP17TF_ObjectImplBaseINS_8TwoBa
sesINS_15TF_VerifierBaseENS_15PublicKeyCopierINS_3RSAEEEEENS_25TF_SignatureSchem
eOptionsINS_5TF_SSINS_8PKCS1v15ENS_3SHAES4_iEES4_NS_39PKCS1v15_SignatureMessageE
ncodingMethodESA_EENS_11RSAFunctionEE26NewVerificationAccumulatorEv+0x1bb): more
 undefined references to `CryptoPP::AlignedAllocator<unsigned>::deallocate(void*
, unsigned)' follow
collect2: ld devolvió el estado de salida 1
make[3]: *** [amule] Error 1
make[3]: Leaving directory `/var/tmp/portage/amule-2.0.3/work/aMule-2.0.3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/amule-2.0.3/work/aMule-2.0.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/amule-2.0.3/work/aMule-2.0.3'
make: *** [all] Error 2

!!! ERROR: net-p2p/amule-2.0.3 failed.
!!! Function src_compile, Line 71, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


I have compiled all applications with the USE wich appears in the 'emerge info':


Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2,
2.6.12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /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="-O2 -march=pentium4 -pipe "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.caliu.info/pub/gentoo/"
LANG="es_ES@euro"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.es.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts browserplugin cdr crypt cups
curl divx4linux dvd dvdr eds emboss encode esd fam foomaticdb fortran gd gdbm
gif gnome gpm gstreamer gtk gtk2 hal howl imlib ipv6 java jpeg kde ldap libg++
libwww mad mikmod motif mozilla mp3 mpeg ncurses nls nsplugin nvidia ogg
oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline samba
sdl spell ssl tcpd tetex tiff truetype truetype-fonts type1-fonts vorbis xml2
xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY


Comment 8 Marcin Kryczek (RETIRED) gentoo-dev 2005-10-15 02:37:20 UTC
you havn't read the whole conversation;> look at comment #2
Comment 9 Carlos Fuertes 2005-10-16 15:36:43 UTC
ok, sorry! I have emerged 2.0.3-r4 in ~x86 and got no problem
Comment 10 pedro venda 2005-10-17 18:13:17 UTC
didn't want to file a new bug report. this one seems close enough.  
  
Can anybody confirm that the amule ebuilds are checking for crypto++  
dependency? None of mine are doing so. amule's configure script dies with a lot  
of text about the need to have crypto installed.  
  
there are no use flags that affect it and it isn't listed as a dependency.  
  
checking for crypto++ version >= 5.1... no 
configure: error: 
          WARNING: crypto++ >= 5.1 is not found. 
          Please check that cryptopp-headers are in your default include path, 
          check out LD_LIBRARY_PATH or equivalent variable. 
 
(...) 
 
archon ~ # emerge -pv amule 
 
These are the packages that I would merge, in order: 
 
Calculating dependencies ...done! 
[ebuild  N    ] net-p2p/amule-2.0.3  -amuled -debug +gtk2 +nls -remote -stats 
+unicode 0 kB  
 
Total size of downloads: 0 kB 
archon amule #  
 
regards, 
pedro venda. 
Comment 11 Andrew Sayman 2005-10-17 20:49:40 UTC
2.0.3-r4 doesn't appear to have this problem, but the current x86 stable does.
Comment 12 Matthias Vill 2005-10-20 09:42:46 UTC
I also stumbled over this problem emerging amule-2.0.3 seems to be a missing
dependency. i believe adding crypto++ to list of dependecies would solve those
problems. till then you schould try and emerge crypto++ manually
Comment 13 Karol Wojtaszek (RETIRED) gentoo-dev 2005-10-29 07:50:15 UTC
*** Bug 110475 has been marked as a duplicate of this bug. ***
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2005-11-06 04:37:09 UTC
(In reply to comment #8)
> didn't want to file a new bug report. this one seems close enough.  
>   
> Can anybody confirm that the amule ebuilds are checking for crypto++  
> dependency? None of mine are doing so. amule's configure script dies with a lot  
> of text about the need to have crypto installed.  

Please, search and don't clutter this bug with irrelevant comments (Bug 106380
and a ton of duplicates).
Comment 15 Karol Wojtaszek (RETIRED) gentoo-dev 2005-11-15 09:23:21 UTC
amule-2.0.3-r4 will be stable soon. Please look at bug #106380