aMule Forum

English => Compilation problems => Topic started by: mauric on August 09, 2005, 03:22:59 PM

Title: Solaris 9 / i386 / Compiling error CryptoPP
Post by: mauric on August 09, 2005, 03:22:59 PM
Hello Everybody,

me machine are a solaris 9 on i386 base,
if i want compile Amule-2.0.3 i become every time the
ame stop message, please know you why it's stoping.

./configure runs without error
  for any helps iam where Happy

best regards
Mauric  

----------------------------------------------->>
make or gmake give the same result.

pluto /usr/source/aMule-2.0.3 15:18:25 > make
make  all-recursive
Making all in m4
Making all in docs
Making all in man
Making all in src
Making all in utils
Making all in xas
Making all in docs
Making all in pixmaps
Making all in kademlia
Making all in io
Making all in kademlia
Making all in net
Making all in routing
Making all in utils
if g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -DUSE_WX_TRAY -I/usr
/lib/wx/include/gtk-ansi-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS
-D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA    -DHAVE_BFD
-DUSE_EMBEDDED_CRYPTO  -O2 -MT amule-CryptoPP.o -MD -MP -MF ".deps/amule-CryptoP
P.Tpo" -c -o amule-CryptoPP.o `test -f 'CryptoPP.cpp' || echo './'`CryptoPP.cpp;
 \
then mv -f ".deps/amule-CryptoPP.Tpo" ".deps/amule-CryptoPP.Po"; else rm -f ".de
ps/amule-CryptoPP.Tpo"; exit 1; fi
CryptoPP.cpp:1713:3: warning: #warning "You do not have GCC 3.3 or later, or did
 not specify -msse2 compiler option, so use of SSE2 intrinsics will be disabled.
"

Assembler: CryptoPP.cpp
        "/var/tmp//ccG4QYmI.s", line 23357 : Illegal mnemonic
        "/var/tmp//ccG4QYmI.s", line 23357 : Syntax error
        "/var/tmp//ccG4QYmI.s", line 23357 : Illegal mnemonic
        "/var/tmp//ccG4QYmI.s", line 23357 : Syntax error
        "/var/tmp//ccG4QYmI.s", line 23357 : Syntax error
        "/var/tmp//ccG4QYmI.s", line 23357 : Syntax error
        "/var/tmp//ccG4QYmI.s", line 23357 : Syntax error
        "/var/tmp//ccG4QYmI.s", line 23357 : Syntax error
        "/var/tmp//ccG4QYmI.s", line 23357 : Syntax error
        "/var/tmp//ccG4QYmI.s", line 23357 : Syntax error
        "/var/tmp//ccG4QYmI.s", line 23357 : Syntax error
        "/var/tmp//ccG4QYmI.s", line 23357 : Syntax error
        "/var/tmp//ccG4QYmI.s", line 23357 : Syntax error
        "/var/tmp//ccG4QYmI.s", line 23357 : Syntax error
        "/var/tmp//ccG4QYmI.s", line 23357 : Syntax error
        "/var/tmp//ccG4QYmI.s", line 23357 : Syntax error
        "/var/tmp//ccG4QYmI.s", line 23357 : Syntax error
        "/var/tmp//ccG4QYmI.s", line 23357 : Syntax error
        "/var/tmp//ccG4QYmI.s", line 23357 : Syntax error
        "/var/tmp//ccG4QYmI.s", line 23357 : Syntax error
        "/var/tmp//ccG4QYmI.s", line 23357 : Syntax error
        "/var/tmp//ccG4QYmI.s", line 23357 : Syntax error
        "/var/tmp//ccG4QYmI.s", line 23357 : Syntax error
        "/var/tmp//ccG4QYmI.s", line 23357 : Syntax error
        "/var/tmp//ccG4QYmI.s", line 23357 : Syntax error
        "/var/tmp//ccG4QYmI.s", line 23357 : Syntax error
        "/var/tmp//ccG4QYmI.s", line 23357 : Syntax error
        "/var/tmp//ccG4QYmI.s", line 23357 : Syntax error
        "/var/tmp//ccG4QYmI.s", line 23357 : Syntax error
        "/var/tmp//ccG4QYmI.s", line 23357 : Syntax error
        "/var/tmp//ccG4QYmI.s", line 23357 : Syntax error
Too many errors - Goodbye
*** Error code 1
make: Fatal error: Command failed for target `amule-CryptoPP.o'
Current working directory /usr/source/aMule-2.0.3/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/source/aMule-2.0.3/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/source/aMule-2.0.3
*** Error code 1
make: Fatal error: Command failed for target `all'
pluto /usr/source/aMule-2.0.3 15:22:48 >
Title: Re: Solaris 9 / i386 / Compiling error CryptoPP
Post by: skolnick on August 09, 2005, 05:17:42 PM
Which version of gcc/cc are you using? did you follow my guide to compile on solaris?

Regards.
Title: Re: Solaris 9 / i386 / Compiling error CryptoPP
Post by: mauric on August 09, 2005, 07:31:23 PM
Hello and thanks for your fast answer,
your installation guide i have done.

me version of gcc are the following

# gcc -v
Reading specs from /usr/local/lib/gcc/i386-pc-solaris2.9/3.4.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls --disable-libgcj --enable-languages=c,c+ : (reconfigured) ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls --disable-libgcj --enable-languages=c,c++
Thread model: posix
gcc version 3.4.2

regards
mauric
Title: Re: Solaris 9 / i386 / Compiling error CryptoPP
Post by: Kry on August 09, 2005, 08:15:23 PM
--with-as=/usr/ccs/bin/as


I have a feeling that's the problem.
Title: Re: Solaris 9 / i386 / Compiling error CryptoPP
Post by: mauric on August 10, 2005, 08:26:41 AM
Hello Together,

./configure --disable-debug --enable-optimize --with-as=/usr/ccs/bin/as && gmake

or

./configure --with-as=/usr/ccs/bin/as && gmake

are finishing with the same error :-/

greetings
Mauric
Title: Re: Solaris 9 / i386 / Compiling error CryptoPP
Post by: Kry on August 10, 2005, 03:23:30 PM
I mean, that's the ERROR, not the solution.


Does anyone know how to change the assembler that gcc is using?
Title: Re: Solaris 9 / i386 / Compiling error CryptoPP
Post by: mauric on August 11, 2005, 08:23:12 PM
Now Its Running to end :-) :-)  :baby:

but was a mistake from me, the compiled version of binutils
was under /usr/local/bin/as = GNU 2.16 and the compiler has taken from
the following path /usr/ccs/bin/as = Solaris.

im now whery happy then this error i have search for a long time.

best regards
Mauric

:-)  :))  :]  8)