Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54568 - xmule error while compiling
Summary: xmule error while compiling
Status: RESOLVED DUPLICATE of bug 53638
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-20 15:21 UTC by Marco Squarcina
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 Marco Squarcina 2004-06-20 15:21:34 UTC
I try to emerge xmule ( ~amd64) but the compile process fail:

[...]
CryptoXMpp.h:430: warning: cast from pointer to integer of different size
CryptoXMpp.h:430: warning: cast from pointer to integer of different size
Compiling CMuleNotebookBase.cpp...
Compiling ColorFrameCtrl.cpp...
Compiling CommentDialog.cpp...
Compiling CommentDialogLst.cpp...
In file included from ClientCredits.h:30,
                 from updownclient.h:29,
                 from CommentDialogLst.cpp:26:
CryptoXMpp.h: In function `bool CryptoXMpp::IsAlignedOn(const void*, unsigned 
   int)':
CryptoXMpp.h:430: warning: cast from pointer to integer of different size
CryptoXMpp.h:430: warning: cast from pointer to integer of different size
Compiling CryptoXMpp.cpp...
In file included from CryptoXMpp.cpp:71:
CryptoXMpp.h: In function `bool CryptoXMpp::IsAlignedOn(const void*, unsigned 
   int)':
CryptoXMpp.h:430: warning: cast from pointer to integer of different size
CryptoXMpp.h:430: warning: cast from pointer to integer of different size
CryptoXMpp.h: At global scope:
CryptoXMpp.h: In instantiation of `CryptoXMpp::CompileAssert<false>':
CryptoXMpp.cpp:1006:   instantiated from here
CryptoXMpp.h:309: error: creating array with size zero (`-1')
CryptoXMpp.cpp: In function `void CryptoXMpp::AtomicInverseModPower2(word*, 
   long unsigned int, long unsigned int)':
CryptoXMpp.cpp:2571: warning: left shift count >= width of type
CryptoXMpp.cpp: In function `word CryptoXMpp::SubatomicDivide(word*, long 
   unsigned int, long unsigned int)':
CryptoXMpp.cpp:3845: warning: left shift count >= width of type
CryptoXMpp.cpp: In static member function `static void 
   CryptoXMpp::Integer::Divide(word&, CryptoXMpp::Integer&, const 
   CryptoXMpp::Integer&, long unsigned int)':
CryptoXMpp.cpp:5097: warning: left shift count >= width of type
CryptoXMpp.cpp:5098: warning: left shift count >= width of type
CryptoXMpp.cpp: In member function `word CryptoXMpp::Integer::Modulo(long 
   unsigned int) const':
CryptoXMpp.cpp:5144: warning: left shift count >= width of type
CryptoXMpp.cpp: In function `void CryptoXMpp::xorbuf(byte*, const byte*, 
   unsigned int)':
CryptoXMpp.cpp:5626: warning: cast from pointer to integer of different size
CryptoXMpp.cpp:5626: warning: cast from pointer to integer of different size
CryptoXMpp.cpp: In function `void CryptoXMpp::xorbuf(byte*, const byte*, const 
   byte*, unsigned int)':
CryptoXMpp.cpp:5637: warning: cast from pointer to integer of different size
CryptoXMpp.cpp:5637: warning: cast from pointer to integer of different size
CryptoXMpp.cpp:5637: warning: cast from pointer to integer of different size
make[1]: *** [CryptoXMpp.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/xmule-1.8.2-r2/work/xmule/src'
make: *** [all] Error 2

!!! ERROR: net-p2p/xmule-1.8.2-r2 failed.
!!! Function src_compile, Line 48, Exitcode 2
!!! (no error message)

_______________________________________________________________-


I've to notice also that I use this version of gcc:

lavish@darkstar lavish $ gcc --version
gcc (GCC) 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6)



Reproducible: Always
Steps to Reproduce:
1.emerge xmule



this is my make.conf:

USE="alsa acpi -oss 3dnow ipv6 -apm -arts -cups gtk  gtk2 -java jpeg -kde -gnome
mmx opengl -qt sdl sse truetype X xmms cdr dvdr dvd"
ARCH="amd64"
COMPILER="gcc3"
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"

I actually use fluxbox as WM with xorg-X11 and my cpu is an athlon 64 3200+
(2000 mhz overclocked to 2100 .. not so much)
Comment 1 Danny van Dyk (RETIRED) gentoo-dev 2004-06-26 13:57:34 UTC
Well, CryptoXMp.h is thoroughly (64bit)borked... don't expect us to deliver a patch soon if at all...

Sorry.
Comment 2 Danny van Dyk (RETIRED) gentoo-dev 2004-07-04 12:00:51 UTC

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