aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: CryptoPP.cpp:1712:3: warning: #warning "You do not have GCC 3.3 ....  (Read 2752 times)

mauric

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13

Hello people,

i have download the last cvs update on the 16.04.05
and if i made configure it´s run without problem,
but if i run gmake it´s stops every time on the same place
i want run this on me solaris 9 X86 machine

please i don´t found me mistake can give me any one
more helps to solve this error.....

best regards
Mauric


CFLAGS="-SSE2" ./configure (changing nothing on this error)
       "-msse2"

# uname -ars
SunOS Stern 5.9 Generic_118559-03 i86pc i386 i86pc

# 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


# gmake -v
GNU Make 3.80
Copyright (C) 2002  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.


wxWidgets             2.5.5
GTK                   1.2.10


Making all in webserver
gmake[4]: Entering directory `/usr/source/amule-cvs/src/webserver'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory `/usr/source/amule-cvs/src/webserver'
gmake[4]: Entering directory `/usr/source/amule-cvs/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include -I/usr/local/lib/wx/include/gtk2-u
nicode-release-2.5 -I/usr/local/include/wx-2.5 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSE
T_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA   -DwxUSE_GUI=0 -I/usr/local/include -DAMULE_DAEMON
 -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0   -MT amu
led-CryptoPP.o -MD -MP -MF ".deps/amuled-CryptoPP.Tpo" \
  -c -o amuled-CryptoPP.o `test -f 'CryptoPP.cpp' || echo './'`CryptoPP.cpp; \
then mv -f ".deps/amuled-CryptoPP.Tpo" ".deps/amuled-CryptoPP.Po"; \
else rm -f ".deps/amuled-CryptoPP.Tpo"; exit 1; \
fi
CryptoPP.cpp:1712: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."
CryptoPP.cpp: In static member function `static CryptoPP::word CryptoPP::PentiumOptimized::Add(CryptoPP::word*,
const CryptoPP::word*, const CryptoPP::word*, unsigned int)':
CryptoPP.cpp:2761: warning: control reaches end of non-void function
CryptoPP.cpp: In static member function `static CryptoPP::word CryptoPP::PentiumOptimized::Subtract(CryptoPP::word*,
const CryptoPP::word*, const CryptoPP::word*, unsigned int)':
CryptoPP.cpp:2802: warning: control reaches end of non-void function
CryptoPP.cpp: In static member function `static CryptoPP::word CryptoPP::P4Optimized::Add(CryptoPP::word*,
const CryptoPP::word*, const CryptoPP::word*, unsigned int)':
CryptoPP.cpp:2854: warning: control reaches end of non-void function
CryptoPP.cpp: In static member function `static CryptoPP::word CryptoPP::P4Optimized::Subtract(CryptoPP::word*,
const CryptoPP::word*, const CryptoPP::word*, unsigned int)':
CryptoPP.cpp:2904: warning: control reaches end of non-void function
Assembler: CryptoPP.cpp
  "/var/tmp//cciLBPbq.s", line 30682 : Illegal mnemonic;    "/var/tmp//cciLBPbq.s", line 30682 : Syntax error
  "/var/tmp//cciLBPbq.s", line 30682 : Illegal mnemonic;    "/var/tmp//cciLBPbq.s", line 30682 : Syntax error
  "/var/tmp//cciLBPbq.s", line 30682 : Syntax error;        "/var/tmp//cciLBPbq.s", line 30682 : Syntax error
  "/var/tmp//cciLBPbq.s", line 30682 : Syntax error;        "/var/tmp//cciLBPbq.s", line 30682 : Syntax error
  "/var/tmp//cciLBPbq.s", line 30682 : Syntax error;        "/var/tmp//cciLBPbq.s", line 30682 : Syntax error
  "/var/tmp//cciLBPbq.s", line 30682 : Syntax error;        "/var/tmp//cciLBPbq.s", line 30682 : Syntax error
  "/var/tmp//cciLBPbq.s", line 30682 : Syntax error;        "/var/tmp//cciLBPbq.s", line 30682 : Syntax error
  "/var/tmp//cciLBPbq.s", line 30682 : Syntax error;        "/var/tmp//cciLBPbq.s", line 30682 : Syntax error
  "/var/tmp//cciLBPbq.s", line 30682 : Syntax error;        "/var/tmp//cciLBPbq.s", line 30682 : Syntax error
  "/var/tmp//cciLBPbq.s", line 30682 : Illegal mnemonic;    "/var/tmp//cciLBPbq.s", line 30682 : Syntax error
  "/var/tmp//cciLBPbq.s", line 30682 : Illegal mnemonic;    "/var/tmp//cciLBPbq.s", line 30712 : Illegal mnemonic
  "/var/tmp//cciLBPbq.s", line 30712 : Syntax error;        "/var/tmp//cciLBPbq.s", line 30712 : Illegal mnemonic
  "/var/tmp//cciLBPbq.s", line 30712 : Syntax error;        "/var/tmp//cciLBPbq.s", line 30712 : Syntax error
  "/var/tmp//cciLBPbq.s", line 30712 : Syntax error;        "/var/tmp//cciLBPbq.s", line 30712 : Syntax error
  "/var/tmp//cciLBPbq.s", line 30712 : Syntax error;        "/var/tmp//cciLBPbq.s", line 30712 : Syntax error
  "/var/tmp//cciLBPbq.s", line 30712 : Syntax error;
Too many errors - Goodbye
gmake[4]: *** [amuled-CryptoPP.o] Error 1
gmake[4]: Leaving directory `/usr/source/amule-cvs/src'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/source/amule-cvs/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/source/amule-cvs/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/source/amule-cvs'
gmake: *** [all] Error 2
#
#
Logged

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: CryptoPP.cpp:1712:3: warning: #warning "You do not have GCC 3.3 ....
« Reply #1 on: April 18, 2005, 04:55:24 PM »

Read this:

http://www.amule.org/wiki/index.php/HowTo_compile_on_Solaris

Recent CVS versions had problems compiling for me on solaris 10, not sure if they have been solved or not. For sure, CVS from 2005-03-26 works fine (it's the one I have running on my solaris box)

Regards.
Logged

mauric

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
Re: CryptoPP.cpp:1712:3: warning: #warning "You do not have GCC 3.3 ....
« Reply #2 on: April 19, 2005, 09:04:49 AM »

hello and thanks for your fast answer,

yesterday i have download the specified version from the following date 20052603
and i become a other error, please know you about a solutions of this problem
to solve it !?

iam where happy for any help´s
best regards

Mauric


>> ** here i have Info´s i hope you can need it.... ** <<
>> ** Configure --with-gtk-exec-refix=/usr/sfw      ** << run


gtk-config --version
1.2.10


checking for curl >= 7.9.5... yes (version 7.13.2)
checking for gdlib-config... /usr/local/bin/gdlib-config
checking for gdlib version >= 2.0.0... yes (version 2.0.33)
checking for libpng-config... /usr/local/bin/libpng-config
checking for libpng version >= 1.2.0... yes (version 1.2.8)
checking whether we need the GUI... yes
checking for wx-config... /usr/local/bin/wx-config
checking for wxWidgets version >= 2.4.2... yes (version 2.5.5)
configure: WARNING: wxWidgets >=2.5.0: Using wx-config --libs base,net
checking if wxWidgets was linked with GTK2... grep: illegal option -- q
Usage: grep -hblcnsviw pattern file ... no
checking for gtk-config... /usr/sfw/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking if wxWidgets version >=2.5.0 ... grep: illegal option -- q
Usage: grep -hblcnsviw pattern file ... no
crypto check disabled, using embedded libs
checking for X... libraries , headers



  Configured aMule CVS for 'i386-pc-solaris2.9'.

  **** aMule Core ****
  Prefix where aMule should be installed?                  /usr/local
  Should aMule be compiled in debug mode?                  yes
  Should aMule be compiled with systray?                   yes
  Should aMule be compiled with pure GTK code?             yes
  Should aMule monolithic application be built?            yes
  Crypto++ library/headers style?                          embedded

  **** aMule WebServer ****
  Should aMule WebServer be built?                         yes

  **** aMule ED2K Links Handler ****
  Should aMule ED2K Links Handler be built?                yes

  Libraries aMule will use to build:

                                  wxWidgets           2.5.5
                                  GTK                 1.2.10


#gmake   < become error >
Making all in webserver
gmake[4]: Entering directory `/usr/source/20050326/amule-cvs/src/webserver'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory `/usr/source/20050326/amule-cvs/src/webserver'
gmake[4]: Entering directory `/usr/source/20050326/amule-cvs/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include   -I/usr/local/lib/wx/include/gtk2-unicode-release-2.5 -I/usr/local/include/wx-2.5 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA   -I/usr/sfw/include/gtk-1.2 -I/usr/sfw/include/glib-1.2 -I/usr/sfw/lib/glib/include   -I/usr/local/include -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0   -MT amule-amule-gui.o -MD -MP -MF ".deps/amule-amule-gui.Tpo" \
  -c -o amule-amule-gui.o `test -f 'amule-gui.cpp' || echo './'`amule-gui.cpp; \
then mv -f ".deps/amule-amule-gui.Tpo" ".deps/amule-amule-gui.Po"; \
else rm -f ".deps/amule-amule-gui.Tpo"; exit 1; \
fi
In file included from /usr/sfw/include/gtk-1.2/gdk/gdk.h:31,
                 from amule-gui.cpp:33:
/usr/sfw/include/gtk-1.2/gdk/gdktypes.h:58: error: conflicting declaration 'typedef gulong GdkAtom'
/usr/local/include/wx-2.5/wx/defs.h:2630: error: 'GdkAtom' has a previous declaration as `typedef struct _GdkAtom*GdkAtom'
/usr/sfw/include/gtk-1.2/gdk/gdktypes.h:58: error: declaration of `typedef gulong GdkAtom'
/usr/local/include/wx-2.5/wx/defs.h:2630: error: conflicts with previous declaration `typedef struct _GdkAtom*GdkAtom'
/usr/sfw/include/gtk-1.2/gdk/gdktypes.h:58: error: declaration of `typedef gulong GdkAtom'
/usr/local/include/wx-2.5/wx/defs.h:2630: error: conflicts with previous declaration `typedef struct _GdkAtom*GdkAtom'
/usr/sfw/include/gtk-1.2/gdk/gdktypes.h:63: error: conflicting declaration 'typedef struct _GdkWindow GdkWindow'
/usr/local/include/wx-2.5/wx/defs.h:2631: error: 'GdkWindow' has a previous declaration as `typedef struct _GdkDrawable GdkWindow'
/usr/sfw/include/gtk-1.2/gdk/gdktypes.h:63: error: declaration of `typedef struct _GdkWindow GdkWindow'
/usr/local/include/wx-2.5/wx/defs.h:2631: error: conflicts with previous declaration `typedef struct _GdkDrawable GdkWindow'
/usr/sfw/include/gtk-1.2/gdk/gdktypes.h:63: error: declaration of `typedef struct _GdkWindow GdkWindow'
/usr/local/include/wx-2.5/wx/defs.h:2631: error: conflicts with previous declaration `typedef struct _GdkDrawable GdkWindow'
/usr/sfw/include/gtk-1.2/gdk/gdktypes.h:63: error: declaration of `typedef struct _GdkWindow GdkWindow'
/usr/local/include/wx-2.5/wx/defs.h:2631: error: conflicts with previous declaration `typedef struct _GdkDrawable GdkWindow'
/usr/sfw/include/gtk-1.2/gdk/gdktypes.h:64: error: conflicting declaration 'typedef struct _GdkWindow GdkPixmap'
/usr/local/include/wx-2.5/wx/defs.h:2633: error: 'GdkPixmap' has a previous declaration as `typedef struct _GdkDrawable GdkPixmap'
/usr/sfw/include/gtk-1.2/gdk/gdktypes.h:64: error: declaration of `typedef struct _GdkWindow GdkPixmap'
/usr/local/include/wx-2.5/wx/defs.h:2633: error: conflicts with previous declaration `typedef struct _GdkDrawable GdkPixmap'
/usr/sfw/include/gtk-1.2/gdk/gdktypes.h:64: error: declaration of `typedef struct _GdkWindow GdkPixmap'
/usr/local/include/wx-2.5/wx/defs.h:2633: error: conflicts with previous declaration `typedef struct _GdkDrawable GdkPixmap'
/usr/sfw/include/gtk-1.2/gdk/gdktypes.h:64: error: declaration of `typedef struct _GdkWindow GdkPixmap'
/usr/local/include/wx-2.5/wx/defs.h:2633: error: conflicts with previous declaration `typedef struct _GdkDrawable GdkPixmap'
/usr/sfw/include/gtk-1.2/gdk/gdktypes.h:65: error: conflicting declaration 'typedef struct _GdkWindow GdkBitmap'
/usr/local/include/wx-2.5/wx/defs.h:2632: error: 'GdkBitmap' has a previous declaration as `typedef struct _GdkDrawable GdkBitmap'
/usr/sfw/include/gtk-1.2/gdk/gdktypes.h:65: error: declaration of `typedef struct _GdkWindow GdkBitmap'
/usr/local/include/wx-2.5/wx/defs.h:2632: error: conflicts with previous declaration `typedef struct _GdkDrawable GdkBitmap'
/usr/sfw/include/gtk-1.2/gdk/gdktypes.h:65: error: declaration of `typedef struct _GdkWindow GdkBitmap'
/usr/local/include/wx-2.5/wx/defs.h:2632: error: conflicts with previous declaration `typedef struct _GdkDrawable GdkBitmap'
/usr/sfw/include/gtk-1.2/gdk/gdktypes.h:65: error: declaration of `typedef struct _GdkWindow GdkBitmap'
/usr/local/include/wx-2.5/wx/defs.h:2632: error: conflicts with previous declaration `typedef struct _GdkDrawable GdkBitmap'
gmake[4]: *** [amule-amule-gui.o] Error 1
gmake[4]: Leaving directory `/usr/source/20050326/amule-cvs/src'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/source/20050326/amule-cvs/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/source/20050326/amule-cvs/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/source/20050326/amule-cvs'
gmake: *** [all] Error 2
Logged