aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Configuration error with gcc 3.4.3  (Read 5916 times)

exalik

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Configuration error with gcc 3.4.3
« on: April 19, 2005, 08:00:42 AM »

Look what i have when i tried to configure aMule CVS :

./configure --prefix=/usr --disable-debug --enable-optimise && make
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking target system type... x86_64-redhat-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
checking for C++ compiler default output... configure: error: C++ compiler cannot create executables
See `config.log' for more details.


gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-7mdk)

I have already gcc-c++ 3.4.3   ;)

gcc -v
Reading specs from /usr/lib/gcc/x86_64-mandrake-linux-gnu/3.4.3/specs
Configured with: ../configure --prefix=/usr --libexecdir=/usr/lib --with-slibdir=/lib64 --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --enable-long-long --enable-__cxa_atexit --enable-clocale=gnu --disable-libunwind-exceptions --enable-languages=c,c++,ada,f77,objc,java --host=x86_64-mandrake-linux-gnu --with-system-zlib
Thread model: posix
gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-7mdk)



Could somebody help me please ???

Thanks

Exalik
« Last Edit: April 19, 2005, 10:30:09 AM by exalik »
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Configuration error with gcc 3.4.3
« Reply #1 on: April 19, 2005, 08:24:35 AM »

you miss some glibc files...but I have no clue how they area called on mdk
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

exalik

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Re: Configuration error with gcc 3.4.3
« Reply #2 on: April 19, 2005, 10:27:26 AM »

I've already install all the glibc packages but it's the same result.

 ;(
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

exalik

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Re: Configuration error with gcc 3.4.3
« Reply #4 on: April 19, 2005, 11:08:36 AM »

YES i have binutils-2.15.92.0.2-6mdk and lib64binutils2-2.15.92.0.2-6mdk
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Configuration error with gcc 3.4.3
« Reply #5 on: April 19, 2005, 11:18:58 AM »

is there a libc-dev package?
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

exalik

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Re: Configuration error with gcc 3.4.3
« Reply #6 on: April 19, 2005, 11:28:41 AM »

glibc-devel-2.3.4-8mdk already installed
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Configuration error with gcc 3.4.3
« Reply #7 on: April 19, 2005, 11:46:57 AM »

libc-devel not glibc-devel
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

lfroen

  • Guest
Re: Configuration error with gcc 3.4.3
« Reply #8 on: April 19, 2005, 04:28:17 PM »

Quote
See `config.log' for more details.

This is very usefull piece of advise, please follow it. What it say is that your gcc is @#$ up.
Try to compile hello.c using "gcc hello.c" and confirm that you have runnable a.out. If you don't - RTFM for your distribution.
Logged

exalik

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Re: Configuration error with gcc 3.4.3
« Reply #9 on: April 19, 2005, 05:01:29 PM »

Quote
Originally posted by stefanero
libc-devel not glibc-devel

If i tried ti=o install libc-devel i have to uninstall glibc-devel and gcc and many others packages !

Look at a part of the conf.org :

gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-7mdk)
configure:2018: $? = 0
configure:2020: g++ -V &5
g++: `-V' option must have argument
configure:2023: $? = 1
configure:2047: checking for C++ compiler default output
configure:2050: g++    conftest.cc  >&5
/root/tmp/ccgQxaOg.s: Assembler messages:
/root/tmp/ccgQxaOg.s:8: Error: suffix or operands invalid for `push'
configure:2053: $? = 1
configure: failed program was:
| #line 2026 "configure"
| /* confdefs.h.  */
|


I can't install aMule with the last rpm because it shut down itself after about 1 hour of running ...

UPDATE :

Now it is configured (i updated gcc-c++ 3.4.7) but the make failed :

make
make  all-recursive
make[1]: Entering directory `/home/Compil/amule-cvs'
Making all in m4
make[2]: Entering directory `/home/Compil/amule-cvs/m4'
make[2]: Rien à faire pour « all ».
make[2]: Leaving directory `/home/Compil/amule-cvs/m4'
Making all in intl
make[2]: Entering directory `/home/Compil/amule-cvs/intl'
make[2]: Rien à faire pour « all ».
make[2]: Leaving directory `/home/Compil/amule-cvs/intl'
Making all in po
make[2]: Entering directory `/home/Compil/amule-cvs/po'
make[2]: Rien à faire pour « all ».
make[2]: Leaving directory `/home/Compil/amule-cvs/po'
Making all in docs
make[2]: Entering directory `/home/Compil/amule-cvs/docs'
Making all in man
make[3]: Entering directory `/home/Compil/amule-cvs/docs/man'
make[3]: Rien à faire pour « all ».
make[3]: Leaving directory `/home/Compil/amule-cvs/docs/man'
make[3]: Entering directory `/home/Compil/amule-cvs/docs'
make[3]: Rien à faire pour « all-am ».
make[3]: Leaving directory `/home/Compil/amule-cvs/docs'
make[2]: Leaving directory `/home/Compil/amule-cvs/docs'
Making all in src
make[2]: Entering directory `/home/Compil/amule-cvs/src'
make  all-recursive
make[3]: Entering directory `/home/Compil/amule-cvs/src'
Making all in utils
make[4]: Entering directory `/home/Compil/amule-cvs/src/utils'
Making all in xas
make[5]: Entering directory `/home/Compil/amule-cvs/src/utils/xas'
Making all in docs
make[6]: Entering directory `/home/Compil/amule-cvs/src/utils/xas/docs'
make[6]: Rien à faire pour « all ».
make[6]: Leaving directory `/home/Compil/amule-cvs/src/utils/xas/docs'
make[6]: Entering directory `/home/Compil/amule-cvs/src/utils/xas'
make[6]: Rien à faire pour « all-am ».
make[6]: Leaving directory `/home/Compil/amule-cvs/src/utils/xas'
make[5]: Leaving directory `/home/Compil/amule-cvs/src/utils/xas'
make[5]: Entering directory `/home/Compil/amule-cvs/src/utils'
make[5]: Rien à faire pour « all-am ».
make[5]: Leaving directory `/home/Compil/amule-cvs/src/utils'
make[4]: Leaving directory `/home/Compil/amule-cvs/src/utils'
Making all in pixmaps
make[4]: Entering directory `/home/Compil/amule-cvs/src/pixmaps'
make[4]: Rien à faire pour « all ».
make[4]: Leaving directory `/home/Compil/amule-cvs/src/pixmaps'
Making all in kademlia
make[4]: Entering directory `/home/Compil/amule-cvs/src/kademlia'
Making all in io
make[5]: Entering directory `/home/Compil/amule-cvs/src/kademlia/io'
make[5]: Rien à faire pour « all ».
make[5]: Leaving directory `/home/Compil/amule-cvs/src/kademlia/io'
Making all in kademlia
make[5]: Entering directory `/home/Compil/amule-cvs/src/kademlia/kademlia'
make[5]: Rien à faire pour « all ».
make[5]: Leaving directory `/home/Compil/amule-cvs/src/kademlia/kademlia'
Making all in net
make[5]: Entering directory `/home/Compil/amule-cvs/src/kademlia/net'
make[5]: Rien à faire pour « all ».
make[5]: Leaving directory `/home/Compil/amule-cvs/src/kademlia/net'
Making all in routing
make[5]: Entering directory `/home/Compil/amule-cvs/src/kademlia/routing'
make[5]: Rien à faire pour « all ».
make[5]: Leaving directory `/home/Compil/amule-cvs/src/kademlia/routing'
Making all in utils
make[5]: Entering directory `/home/Compil/amule-cvs/src/kademlia/utils'
make[5]: Rien à faire pour « all ».
make[5]: Leaving directory `/home/Compil/amule-cvs/src/kademlia/utils'
make[5]: Entering directory `/home/Compil/amule-cvs/src/kademlia'
make[5]: Rien à faire pour « all-am ».
make[5]: Leaving directory `/home/Compil/amule-cvs/src/kademlia'
make[4]: Leaving directory `/home/Compil/amule-cvs/src/kademlia'
make[4]: Entering directory `/home/Compil/amule-cvs/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I..     -DUSE_WX_TRAY      -DUSE_EMBEDDED_CRYPTO  -O2  -MT amule-AddFriend.o -MD -MP -MF ".deps/amule-AddFriend.Tpo" \
  -c -o amule-AddFriend.o `test -f 'AddFriend.cpp' || echo './'`AddFriend.cpp; \
then mv -f ".deps/amule-AddFriend.Tpo" ".deps/amule-AddFriend.Po"; \
else rm -f ".deps/amule-AddFriend.Tpo"; exit 1; \
fi
AddFriend.cpp:30:56: wx/defs.h: No such file or directory
AddFriend.cpp:31:38: wx/intl.h: No such file or directory
In file included from AddFriend.cpp:33:
AddFriend.h:33:47: wx/dialog.h: No such file or directory
In file included from AddFriend.cpp:33:
AddFriend.h:36: error: expected class-name before '{' token
AddFriend.h:38: error: expected `)' before '*' token
AddFriend.h:44: error: ISO C++ forbids declaration of `DECLARE_EVENT_TABLE' with no type
AddFriend.h:44: error: expected `;' before "private"
AddFriend.h:46: error: `wxCommandEvent' has not been declared
AddFriend.h:46: error: ISO C++ forbids declaration of `evt' with no type
In file included from AddFriend.cpp:34:
muuli_wdr.h:16:23: wx/wx.h: No such file or directory
muuli_wdr.h:19:22: wx/image.h: No such file or directory
muuli_wdr.h:20:25: wx/statline.h: No such file or directory
muuli_wdr.h:21:25: wx/spinbutt.h: No such file or directory
muuli_wdr.h:22:25: wx/spinctrl.h: No such file or directory
muuli_wdr.h:23:25: wx/splitter.h: No such file or directory
muuli_wdr.h:24:25: wx/listctrl.h: No such file or directory
muuli_wdr.h:25:25: wx/treectrl.h: No such file or directory
muuli_wdr.h:26:25: wx/notebook.h: No such file or directory
muuli_wdr.h:27:21: wx/grid.h: No such file or directory
muuli_wdr.h:28:24: wx/toolbar.h: No such file or directory
In file included from AddFriend.cpp:34:
muuli_wdr.h:35: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:35: error: expected `,' or `;' before '*' token
muuli_wdr.h:37: error: expected init-declarator before '*' token
muuli_wdr.h:37: error: expected `,' or `;' before '*' token
muuli_wdr.h:38: error: expected init-declarator before '*' token
muuli_wdr.h:38: error: expected `,' or `;' before '*' token
muuli_wdr.h:39: error: expected init-declarator before '*' token
muuli_wdr.h:39: error: expected `,' or `;' before '*' token
muuli_wdr.h:40: error: expected init-declarator before '*' token
muuli_wdr.h:40: error: expected `,' or `;' before '*' token
muuli_wdr.h:46: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:46: error: expected `,' or `;' before '*' token
muuli_wdr.h:49: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:49: error: expected `,' or `;' before '*' token
muuli_wdr.h:51: error: expected init-declarator before '*' token
muuli_wdr.h:51: error: expected `,' or `;' before '*' token
muuli_wdr.h:52: error: expected init-declarator before '*' token
muuli_wdr.h:52: error: expected `,' or `;' before '*' token
muuli_wdr.h:57: error: expected init-declarator before '*' token
muuli_wdr.h:57: error: expected `,' or `;' before '*' token
muuli_wdr.h:72: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:72: error: expected `,' or `;' before '*' token
muuli_wdr.h:74: error: expected init-declarator before '*' token
muuli_wdr.h:74: error: expected `,' or `;' before '*' token
muuli_wdr.h:79: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:79: error: expected `,' or `;' before '*' token
muuli_wdr.h:81: error: expected init-declarator before '*' token
muuli_wdr.h:81: error: expected `,' or `;' before '*' token
muuli_wdr.h:82: error: expected init-declarator before '*' token
muuli_wdr.h:82: error: expected `,' or `;' before '*' token
muuli_wdr.h:87: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:87: error: expected `,' or `;' before '*' token
muuli_wdr.h:94: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:94: error: expected `,' or `;' before '*' token
muuli_wdr.h:96: error: expected init-declarator before '*' token
muuli_wdr.h:96: error: expected `,' or `;' before '*' token
muuli_wdr.h:109: error: expected init-declarator before '*' token
muuli_wdr.h:109: error: expected `,' or `;' before '*' token
muuli_wdr.h:125: error: expected init-declarator before '*' token
muuli_wdr.h:125: error: expected `,' or `;' before '*' token
muuli_wdr.h:139: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:139: error: expected `,' or `;' before '*' token
muuli_wdr.h:146: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:146: error: expected `,' or `;' before '*' token
muuli_wdr.h:151: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:151: error: expected `,' or `;' before '*' token
muuli_wdr.h:156: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:156: error: expected `,' or `;' before '*' token
muuli_wdr.h:164: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:164: error: expected `,' or `;' before '*' token
muuli_wdr.h:175: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:175: error: expected `,' or `;' before '*' token
muuli_wdr.h:177: error: expected init-declarator before '*' token
muuli_wdr.h:177: error: expected `,' or `;' before '*' token
muuli_wdr.h:192: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:192: error: expected `,' or `;' before '*' token
muuli_wdr.h:214: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:214: error: expected `,' or `;' before '*' token
muuli_wdr.h:218: error: expected init-declarator before '*' token
muuli_wdr.h:218: error: expected `,' or `;' before '*' token
muuli_wdr.h:231: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:231: error: expected `,' or `;' before '*' token
muuli_wdr.h:257: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:257: error: expected `,' or `;' before '*' token
muuli_wdr.h:271: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:271: error: expected `,' or `;' before '*' token
muuli_wdr.h:289: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:289: error: expected `,' or `;' before '*' token
muuli_wdr.h:300: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:300: error: expected `,' or `;' before '*' token
muuli_wdr.h:313: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:313: error: expected `,' or `;' before '*' token
muuli_wdr.h:327: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:327: error: expected `,' or `;' before '*' token
muuli_wdr.h:339: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:339: error: expected `,' or `;' before '*' token
muuli_wdr.h:354: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:354: error: expected `,' or `;' before '*' token
muuli_wdr.h:361: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:361: error: expected `,' or `;' before '*' token
muuli_wdr.h:374: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:374: error: expected `,' or `;' before '*' token
muuli_wdr.h:376: error: expected init-declarator before '*' token
muuli_wdr.h:376: error: expected `,' or `;' before '*' token
muuli_wdr.h:377: error: expected init-declarator before '*' token
muuli_wdr.h:377: error: expected `,' or `;' before '*' token
muuli_wdr.h:378: error: expected init-declarator before '*' token
muuli_wdr.h:378: error: expected `,' or `;' before '*' token
muuli_wdr.h:382: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:382: error: expected `,' or `;' before '*' token
muuli_wdr.h:396: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:396: error: expected `,' or `;' before '*' token
muuli_wdr.h:399: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:399: error: expected `,' or `;' before '*' token
muuli_wdr.h:403: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:403: error: expected `,' or `;' before '*' token
muuli_wdr.h:407: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:407: error: expected `,' or `;' before '*' token
muuli_wdr.h:416: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:416: error: expected `,' or `;' before '*' token
muuli_wdr.h:419: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:419: error: expected `,' or `;' before '*' token
muuli_wdr.h:423: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:423: error: expected `,' or `;' before '*' token
muuli_wdr.h:434: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:434: error: expected `,' or `;' before '*' token
muuli_wdr.h:437: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:437: error: expected `,' or `;' before '*' token
muuli_wdr.h:454: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:454: error: expected `,' or `;' before '*' token
muuli_wdr.h:460: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:460: error: expected `,' or `;' before '*' token
muuli_wdr.h:468: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:468: error: expected `,' or `;' before '*' token
muuli_wdr.h:478: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:478: error: expected `,' or `;' before '*' token
muuli_wdr.h:485: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:485: error: expected `,' or `;' before '*' token
muuli_wdr.h:489: error: expected constructor, destructor, or type conversion before '*' token
muuli_wdr.h:489: error: expected `,' or `;' before '*' token
muuli_wdr.h:505: error: variable or field `muleToolbar' declared void
muuli_wdr.h:505: error: `wxToolBar' was not declared in this scope
muuli_wdr.h:505: error: `parent' was not declared in this scope
muuli_wdr.h:509: error: `wxBitmap' does not name a type
muuli_wdr.h:511: error: `wxBitmap' does not name a type
muuli_wdr.h:513: error: `wxBitmap' does not name a type
muuli_wdr.h:515: error: `wxBitmap' does not name a type
muuli_wdr.h:517: error: `wxBitmap' does not name a type
muuli_wdr.h:519: error: `wxBitmap' does not name a type
muuli_wdr.h:521: error: `wxBitmap' does not name a type
In file included from AddFriend.cpp:35:
amule.h:34:42: wx/app.h: No such file or directory
amule.h:36:51: wx/textfile.h: No such file or directory
amule.h:37:21: wx/file.h: No such file or directory
amule.h:38:23: wx/string.h: No such file or directory
In file included from amule.h:40,
                 from AddFriend.cpp:35:
Types.h:31:25: wx/dynarray.h: No such file or directory
In file included from amule.h:40,
                 from AddFriend.cpp:35:
Types.h:89: error: `ArrayOfUInts16' has not been declared
Types.h:89: error: expected constructor, destructor, or type conversion before ';' token
In file included from amule.h:41,
                 from AddFriend.cpp:35:
GuiEvents.h:155: error: expected constructor, destructor, or type conversion before '(' token
GuiEvents.h:155: error: expected `,' or `;' before '(' token
In file included from amule.h:46,
                 from AddFriend.cpp:35:
CTypedPtrList.h:97: error: expected `,' or `...' before '(' token
CTypedPtrList.h:436: error: expected `,' or `...' before '(' token
In file included from AddFriend.cpp:35:
amule.h:50:21: missing binary operator before token "("
amule.h:93:22: wx/event.h: No such file or directory
In file included from AddFriend.cpp:35:
amule.h:96: error: expected constructor, destructor, or type conversion before '(' token
amule.h:96: error: expected `,' or `;' before '(' token
amule.h:161: error: expected class-name before '{' token
amule.h:174: error: expected `,' or `...' before '&' token
amule.h:174: error: ISO C++ forbids declaration of `GUIEvent' with no type
amule.h:238: error: field `ConfigDir' has incomplete type
amule.h:262: error: field `line' has incomplete type
amule.h:267: error: `wxEvent' has not been declared
amule.h:267: error: ISO C++ forbids declaration of `evt' with no type
amule.h:268: error: `wxEvent' has not been declared
amule.h:268: error: ISO C++ forbids declaration of `evt' with no type
amule.h:269: error: `wxEvent' has not been declared
amule.h:269: error: ISO C++ forbids declaration of `evt' with no type
amule.h:275: error: `wxEvent' has not been declared
amule.h:275: error: ISO C++ forbids declaration of `evt' with no type
amule.h:276: error: `wxEvent' has not been declared
amule.h:276: error: ISO C++ forbids declaration of `evt' with no type
amule.h:277: error: `wxEvent' has not been declared
amule.h:277: error: ISO C++ forbids declaration of `evt' with no type
amule.h:278: error: `wxEvent' has not been declared
amule.h:278: error: ISO C++ forbids declaration of `parameter' with no type
amule.h:280: error: `wxEvent' has not been declared
amule.h:280: error: ISO C++ forbids declaration of `evt' with no type
amule.h:286: error: `wxLocale' does not name a type
amule.h:290: error: field `m_emulesig_path' has incomplete type
amule.h:291: error: field `m_amulesig_path' has incomplete type
amule.h:293: error: field `OSType' has incomplete type
amule.h:299:20: missing binary operator before token "("
amule.h:302: error: ISO C++ forbids declaration of `wxFile' with no type
amule.h:302: error: expected `;' before '*' token
amule.h:305: error: field `server_msg' has incomplete type
amule.h: In member function `const wxString& CamuleApp::GetOSType() const':
amule.h:242: error: `OSType' undeclared (first use this function)
amule.h:242: error: (Each undeclared identifier is reported only once for each function it appears in.)
amule.h: At global scope:
amule.h:315: error: field `m_FrameTitle' has incomplete type
amule.h:320: error: expected `,' or `...' before '&' token
amule.h:320: error: ISO C++ forbids declaration of `GUIEvent' with no type
amule.h:346: error: expected `,' or `...' before '&' token
amule.h:346: error: ISO C++ forbids declaration of `GUIEvent' with no type
amule.h:352: error: ISO C++ forbids declaration of `DECLARE_EVENT_TABLE' with no type
amule.h:352: error: expected `;' before '}' token
amule.h:352: error: expected `;' before '}' token
In file included from AddFriend.cpp:36:
amuleDlg.h:38:45: wx/frame.h: No such file or directory
amuleDlg.h:39:22: wx/timer.h: No such file or directory
amuleDlg.h:40:25: wx/imaglist.h: No such file or directory
In file included from AddFriend.cpp:36:
amuleDlg.h:44: error: expected constructor, destructor, or type conversion before "class"
amuleDlg.h:44: error: expected `,' or `;' before "class"
amuleDlg.h:74: error: expected class-name before '{' token
amuleDlg.h:76: error: expected `)' before '*' token
amuleDlg.h:94: error: `wxWindow' has not been declared
amuleDlg.h:94: error: ISO C++ forbids declaration of `dlg' with no type
amuleDlg.h:108: error: `wxCloseEvent' has not been declared
amuleDlg.h:108: error: ISO C++ forbids declaration of `evt' with no type
amuleDlg.h:134: error: ISO C++ forbids declaration of `CTransferWnd' with no type
amuleDlg.h:134: error: expected `;' before '*' token
amuleDlg.h:139: error: ISO C++ forbids declaration of `wxWindow' with no type
amuleDlg.h:139: error: expected `;' before '*' token
amuleDlg.h:145: error: `wxImageList' does not name a type
amuleDlg.h:162: error: `wxIconizeEvent' has not been declared
amuleDlg.h:162: error: ISO C++ forbids declaration of `evt' with no type
amuleDlg.h:169: error: `wxSizeEvent' has not been declared
amuleDlg.h:169: error: ISO C++ forbids declaration of `evt' with no type
amuleDlg.h:173: error: ISO C++ forbids declaration of `wxToolBar' with no type
amuleDlg.h:173: error: expected `;' before '*' token
amuleDlg.h:204: error: ISO C++ forbids declaration of `DECLARE_EVENT_TABLE' with no type
amuleDlg.h:204: error: expected `;' before '}' token
amuleDlg.h:204: error: expected `;' before '}' token
amuleDlg.h:85: error: `wxEmptyString' was not declared in this scope
amuleDlg.h: In member function `bool CamuleDlg::StatisticsWindowActive()':
amuleDlg.h:89: error: `activewnd' undeclared (first use this function)
amuleDlg.h:89: error: `wxWindow' undeclared (first use this function)
amuleDlg.h:89: error: expected primary-expression before ')' token
amuleDlg.h:89: error: expected `)' before "statisticswnd"
amuleDlg.h: In member function `void CamuleDlg::StartGuiTimer()':
amuleDlg.h:147: error: invalid use of undefined type `struct wxTimer'
amule.h:78: error: forward declaration of `struct wxTimer'
In file included from AddFriend.cpp:37:
ChatWnd.h:33:45: wx/panel.h: No such file or directory
In file included from AddFriend.cpp:37:
ChatWnd.h: At global scope:
ChatWnd.h:44: error: expected class-name before '{' token
ChatWnd.h:46: error: expected `)' before '*' token
ChatWnd.h:64: error: `wxNotebookEvent' has not been declared
ChatWnd.h:64: error: ISO C++ forbids declaration of `evt' with no type
ChatWnd.h:68: error: ISO C++ forbids declaration of `DECLARE_EVENT_TABLE' with no type
ChatWnd.h:68: error: expected `;' before "CFriendListCtrl"
ChatWnd.h:59: error: `wxEmptyString' was not declared in this scope
In file included from AddFriend.cpp:38:
NetworkFunctions.h:37:23: wx/thread.h: No such file or directory
NetworkFunctions.h:38:23: wx/socket.h: No such file or directory
In file included from AddFriend.cpp:38:
NetworkFunctions.h: In function `wxString Uint32toStringIP(uint32)':
NetworkFunctions.h:44: error: return type `struct wxString' is incomplete
NetworkFunctions.h:45: error: incomplete type `wxString' used in nested name specifier
NetworkFunctions.h:45: error: `wxT' undeclared (first use this function)
NetworkFunctions.h: In function `wxString Uint32_16toStringIP_Port(uint32, uint16)':
NetworkFunctions.h:49: error: return type `struct wxString' is incomplete
NetworkFunctions.h:50: error: incomplete type `wxString' used in nested name specifier
NetworkFunctions.h:50: error: `wxT' undeclared (first use this function)
NetworkFunctions.h: At global scope:
NetworkFunctions.h:125: error: expected class-name before '{' token
NetworkFunctions.h:128: error: `ExitCode' does not name a type
NetworkFunctions.h:132: error: field `m_ipName' has incomplete type
In file included from AddFriend.cpp:39:
OtherFunctions.h:35:52: wx/utils.h: No such file or directory
OtherFunctions.h:36:70: wx/filename.h: No such file or directory
In file included from AddFriend.cpp:39:
OtherFunctions.h: In function `int otherfunctions::CmpAny(const wxString&, const wxString&)':
OtherFunctions.h:79: error: invalid use of undefined type `const struct wxString'
amule.h:76: error: forward declaration of `const struct wxString'
OtherFunctions.h: At global scope:
OtherFunctions.h:83: error: expected `,' or `...' before '*' token
OtherFunctions.h:84: error: ISO C++ forbids declaration of `wxChar' with no type
OtherFunctions.h: In function `int otherfunctions::CmpAny(int)':
OtherFunctions.h:85: error: `ArgA' undeclared (first use this function)
OtherFunctions.h:85: error: invalid use of undefined type `struct wxString'
amule.h:76: error: forward declaration of `struct wxString'
OtherFunctions.h:85: error: `ArgB' undeclared (first use this function)
OtherFunctions.h: At global scope:
OtherFunctions.h:223: error: `wxCMPFUNC_CONV' does not name a type
OtherFunctions.h:315: error: `wxEmptyString' was not declared in this scope
OtherFunctions.h:316: error: `wxEmptyString' was not declared in this scope
OtherFunctions.h:409: error: expected `;' before '(' token
OtherFunctions.h:414: error: expected `;' before "const"
OtherFunctions.h:478:22: missing binary operator before token "("
OtherFunctions.h: In function `void otherfunctions::MilliSleep(uint32)':
OtherFunctions.h:481: error: `wxUsleep' undeclared (first use this function)
OtherFunctions.h: In function `wxString otherfunctions::GetConfigDir()':
OtherFunctions.h:486: error: return type `struct wxString' is incomplete
OtherFunctions.h:487: error: `wxGetHomeDir' undeclared (first use this function)
OtherFunctions.h:487: error: `wxFileName' has not been declared
OtherFunctions.h:487: error: `GetPathSeparator' undeclared (first use this function)
OtherFunctions.h:487: error: `wxT' undeclared (first use this function)
OtherFunctions.h:487: error: `wxFileName' has not been declared
OtherFunctions.h: At global scope:
OtherFunctions.h:501: error: variable or field `InitLocale' declared void
OtherFunctions.h:501: error: `wxLocale' was not declared in this scope
OtherFunctions.h:501: error: `locale' was not declared in this scope
OtherFunctions.h:501: error: expected primary-expression before "int"
OtherFunctions.h:501: error: initializer expression list treated as compound expression
OtherFunctions.h: In function `int otherfunctions::StrLang2wx(const wxString&)':
OtherFunctions.h:509: error: variable `wxString lang' has initializer but incomplete type
OtherFunctions.h:509: error: invalid use of undefined type `const struct wxString'
amule.h:76: error: forward declaration of `const struct wxString'
OtherFunctions.h:512:20: missing binary operator before token "("
OtherFunctions.h:525: error: `wxLANGUAGE_DEFAULT' undeclared (first use this function)
OtherFunctions.h:528: error: `wxLANGUAGE_USER_DEFINED' undeclared (first use this function)
OtherFunctions.h:530: error: `wxLANGUAGE_UNKNOWN' undeclared (first use this function)
OtherFunctions.h:534: error: expected primary-expression before "const"
OtherFunctions.h:534: error: expected `;' before "const"
OtherFunctions.h:536: error: `info' undeclared (first use this function)
OtherFunctions.h:540: error: `wxStricmp' undeclared (first use this function)
OtherFunctions.h:546: error: `wxT' undeclared (first use this function)
OtherFunctions.h: In function `wxString otherfunctions::wxLang2Str(int)':
OtherFunctions.h:571: error: return type `struct wxString' is incomplete
OtherFunctions.h:572: error: `wxLANGUAGE_DEFAULT' undeclared (first use this function)
OtherFunctions.h:573: error: expected primary-expression before "const"
OtherFunctions.h:573: error: expected `;' before "const"
OtherFunctions.h:574: error: `lng' undeclared (first use this function)
OtherFunctions.h:577: error: `wxEmptyString' undeclared (first use this function)
In file included from AddFriend.cpp:40:
CMD4Hash.h: In member function `void CMD4Hash::Decode(const wxString&)':
CMD4Hash.h:181: error: invalid use of undefined type `const struct wxString'
amule.h:76: error: forward declaration of `const struct wxString'
CMD4Hash.h:181: error: `wxASSERT' undeclared (first use this function)
CMD4Hash.h:184: error: no match for 'operator[]' in 'hash'
CMD4Hash.h: In member function `wxString CMD4Hash::Encode() const':
CMD4Hash.h:211: error: return type `struct wxString' is incomplete
CMD4Hash.h:212: error: aggregate `wxString Base16Buff' has incomplete type and cannot be defined
CMD4Hash.h:221: confused by earlier errors, bailing out
make[4]: *** [amule-AddFriend.o] Erreur 1
make[4]: Leaving directory `/home/Compil/amule-cvs/src'
make[3]: *** [all-recursive] Erreur 1
make[3]: Leaving directory `/home/Compil/amule-cvs/src'
make[2]: *** [all] Erreur 2
make[2]: Leaving directory `/home/Compil/amule-cvs/src'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/home/Compil/amule-cvs'
make: *** [all] Erreur 2
« Last Edit: April 19, 2005, 05:21:17 PM by exalik »
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Configuration error with gcc 3.4.3
« Reply #10 on: April 19, 2005, 05:24:22 PM »

btw: I hate teh blue!!! ;)

anyways...

your wxgtk or libwxgtk installation seams inclomplete there are files missing, and so amule fails to compile..can you post what wxgtk packages you have installed?

rpm -qa | grep wx
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1550
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Configuration error with gcc 3.4.3
« Reply #11 on: April 19, 2005, 06:04:36 PM »

I think the headerspackage (if exists) is missing.
Logged
Homefucking is killing prostitution

exalik

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Re: Configuration error with gcc 3.4.3
« Reply #12 on: April 19, 2005, 11:08:57 PM »

Thanks,

I've installed a lot of lib packages and it's working now !

Don't ask me about thoses, i don't know really !

Exalik
Logged