aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 [2]

Author Topic: aMule-CVS-20080302 compilation problem  (Read 7503 times)

Menion

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 95
  • Winter is coming...
Re: aMule-CVS-20080302 compilation problem
« Reply #15 on: March 16, 2008, 10:45:40 PM »

Yes, it happens also with R7929 with --disable-embedded-crypto

Configure output:

Quote
Configure script has finished system check.

Configured aMule SVN for 'powerpc-unknown-linux-gnu'.

aMule enabled options:

**** aMule Core ****
Prefix where aMule should be installed?                    /usr/local
Should aMule be compiled with i18n support?                yes
Should aMule be compiled in debug mode?                    no
Should aMule be compiled with profiling?                   no
Should aMule be compiled with optimizations?               no
Should aMule be compiled with UPnP support?                yes
Should aMule be compiled with IP2country support?          yes
Should aMule monolithic application be built?              no
Should aMule daemon version be built?                      yes
Should aMule remote gui be built? (EXPERIMENTAL)           no
Crypto++ library/headers style?                            mdk_suse_fc

**** aMule TextClient ****
Should aMule Command Line Client be built?                 yes

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

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

**** aMuleLinkCreator ****
Should aMuleLinkCreator GUI version (alc) be built?        no
Should aMuleLinkCreator for console (alcc) be built?       no

**** aMule Statistics ****
Should C aMule Statistics (CAS) be built?                  no
Should aMule GUI Statistics (wxCas) be built?              no

**** General Libraries and Tools ****
Should ccache support be enabled?                          no
Libraries aMule will use to build:
                                     wxWidgets             2.8.7 (,static)
                                     crypto++              5.5.2 (mdk_suse_fc)
                                     libpng                1.2.8
                                     libgd                 2.0.33
                                     zlib                  1.2.3

The error (seems the same):

Quote
Making all in cpp
make[6]: Entering directory `/usr/src/amule-svn-r7929/src/libs/ec/cpp'
make  all-am
make[7]: Entering directory `/usr/src/amule-svn-r7929/src/libs/ec/cpp'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../../..    -isystem /usr/local/lib/wx/inclu
de/base-unicode-release-static-2.8 -isystem /usr/local/include/wx-2.8 -D_FILE_OF
FSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DwxUSE_GUI=0 -pthread -I../..
/../../src -I../../../../src/libs -I../../../../src/include -isystem /usr/includ
e -D__CRYPTO_MDK_SUSE_FC__ -D__WEAK_CRYPTO__  -W -Wall -Wshadow -Wundef   -DUSE_
WX_EXTENSIONS -MT libec_a-ECTag.o -MD -MP -MF ".deps/libec_a-ECTag.Tpo" -c -o li
bec_a-ECTag.o `test -f 'ECTag.cpp' || echo './'`ECTag.cpp; \
then mv -f ".deps/libec_a-ECTag.Tpo" ".deps/libec_a-ECTag.Po"; else rm -f ".deps
/libec_a-ECTag.Tpo"; exit 1; fi
In file included from /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/../../../../i
nclude/c++/3.4.4/powerpc-unknown-linux-gnu/bits/gthr-default.h:43,
                 from /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/../../../../i
nclude/c++/3.4.4/powerpc-unknown-linux-gnu/bits/gthr.h:96,
                 from /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/../../../../i
nclude/c++/3.4.4/powerpc-unknown-linux-gnu/bits/c++io.h:37,
                 from /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/../../../../i
nclude/c++/3.4.4/iosfwd:47,
                 from /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/../../../../i
nclude/c++/3.4.4/ios:44,
                 from /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/../../../../i
nclude/c++/3.4.4/ostream:45,
                 from /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/../../../../i
nclude/c++/3.4.4/iostream:45,
                 from ECTag.h:28,
                 from ECTag.cpp:25:
/usr/include/pthread.h:163: error: expected `,' or `...' before "__thread"
/usr/include/pthread.h:591: error: storage class specifiers invalid in parameter
 declarations
/usr/include/pthread.h:591: error: storage class specified for parameter `parame
ter'
In file included from /usr/include/pthread.h:655,
                 from /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/../../../../i
nclude/c++/3.4.4/powerpc-unknown-linux-gnu/bits/gthr-default.h:43,
                 from /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/../../../../i
nclude/c++/3.4.4/powerpc-unknown-linux-gnu/bits/gthr.h:96,
                 from /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/../../../../i
nclude/c++/3.4.4/powerpc-unknown-linux-gnu/bits/c++io.h:37,
                 from /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/../../../../i
nclude/c++/3.4.4/iosfwd:47,
                 from /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/../../../../i
nclude/c++/3.4.4/ios:44,
                 from /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/../../../../i
nclude/c++/3.4.4/ostream:45,
                 from /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/../../../../i
nclude/c++/3.4.4/iostream:45,
                 from ECTag.h:28,
                 from ECTag.cpp:25:
/usr/include/bits/sigthread.h:36: error: storage class specifiers invalid in par
ameter declarations
/usr/include/bits/sigthread.h:36: error: storage class specified for parameter `
parameter'
make[7]: *** [libec_a-ECTag.o] Error 1
make[7]: Leaving directory `/usr/src/amule-svn-r7929/src/libs/ec/cpp'
make[6]: *** [all] Error 2
make[6]: Leaving directory `/usr/src/amule-svn-r7929/src/libs/ec/cpp'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/usr/src/amule-svn-r7929/src/libs/ec'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/usr/src/amule-svn-r7929/src/libs/ec'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/amule-svn-r7929/src/libs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/amule-svn-r7929/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/amule-svn-r7929'
make: *** [all] Error 2
Logged

Menion

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 95
  • Winter is coming...
Re: aMule-CVS-20080302 compilation problem
« Reply #16 on: March 29, 2008, 11:01:38 AM »

Any news about this problem?
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: aMule-CVS-20080302 compilation problem
« Reply #17 on: March 29, 2008, 11:05:03 AM »

Does today's (0329) snapshot work? GonoszTopi changes something, which might solve the problem. If not, then there are no news. :(
Logged

Menion

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 95
  • Winter is coming...
Re: aMule-CVS-20080302 compilation problem
« Reply #18 on: March 29, 2008, 12:52:22 PM »

It seems to compile  :D
I found that the configure output says:

Quote
Regex                   not installed

What is "regex"?
Bye!
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: aMule-CVS-20080302 compilation problem
« Reply #19 on: March 29, 2008, 02:03:18 PM »

I'm very glad to hear this. :) My poor head couldn't think of a reason for your problem, but fortunately the problem got exposed when the same happened with gcc 4.3. :)

Regex should be a part of glibc.

To actually answer the question: regex is an abbreviation for regular expression, which is something like "a[Mm]ule" (matches "aMule" and "amule") or "c*ilation", which would match every word starting with 'c' and ending with "ilation", for instance "compilation".
Logged

Menion

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 95
  • Winter is coming...
Re: aMule-CVS-20080302 compilation problem
« Reply #20 on: March 29, 2008, 11:54:55 PM »

Today snapshot compiled, linked and works flawlessy :D
I had a lot of warning releated to the crypto++, something on "this" that became hidden, I suppose it is nothing to be concerned.
Thanks to everybody!

Bye!
Logged
Pages: 1 [2]