aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: MDK 10.2 with gcc-4.0.0 compilation errors  (Read 2517 times)

wardevil

  • Sr. Member
  • ****
  • Karma: -1
  • Offline Offline
  • Posts: 402
MDK 10.2 with gcc-4.0.0 compilation errors
« on: May 11, 2005, 04:47:11 PM »

Hi....with gcc-4.0 from MDK 10.2 contrib check what happened:
In file included from OtherFunctions.cpp:58:
/usr/lib/gcc/i586-mandrake-linux-gnu/4.0.0/include/cxxabi.h:52:32: error: bits/cxxabi_tweaks.h: No such file or directory
/usr/lib/gcc/i586-mandrake-linux-gnu/4.0.0/include/cxxabi.h:57: error: typedef '__cxxabiv1::__cxa_cdtor_return_type' is initialized (use __typeof__ instead)
/usr/lib/gcc/i586-mandrake-linux-gnu/4.0.0/include/cxxabi.h:57: error: '__cxa_cdtor_type' was not declared in this scope
/usr/lib/gcc/i586-mandrake-linux-gnu/4.0.0/include/cxxabi.h:57: error: expected ',' or ';' before '(' token
/usr/lib/gcc/i586-mandrake-linux-gnu/4.0.0/include/cxxabi.h:66: error: '__cxa_cdtor_type' has not been declared
/usr/lib/gcc/i586-mandrake-linux-gnu/4.0.0/include/cxxabi.h:67: error: '__cxa_cdtor_type' has not been declared
/usr/lib/gcc/i586-mandrake-linux-gnu/4.0.0/include/cxxabi.h:71: error: '__cxa_cdtor_type' has not been declared
/usr/lib/gcc/i586-mandrake-linux-gnu/4.0.0/include/cxxabi.h:72: error: '__cxa_cdtor_type' has not been declared
/usr/lib/gcc/i586-mandrake-linux-gnu/4.0.0/include/cxxabi.h:77: error: '__cxa_cdtor_type' has not been declared
/usr/lib/gcc/i586-mandrake-linux-gnu/4.0.0/include/cxxabi.h:78: error: '__cxa_cdtor_type' has not been declared
/usr/lib/gcc/i586-mandrake-linux-gnu/4.0.0/include/cxxabi.h:82: error: '__cxa_vec_ctor_return_type' does not name a type
/usr/lib/gcc/i586-mandrake-linux-gnu/4.0.0/include/cxxabi.h:87: error: '__cxa_vec_ctor_return_type' does not name a type
/usr/lib/gcc/i586-mandrake-linux-gnu/4.0.0/include/cxxabi.h:96: error: '__cxa_cdtor_type' has not been declared
/usr/lib/gcc/i586-mandrake-linux-gnu/4.0.0/include/cxxabi.h:100: error: '__cxa_cdtor_type' has not been declared
/usr/lib/gcc/i586-mandrake-linux-gnu/4.0.0/include/cxxabi.h:105: error: '__cxa_cdtor_type' has not been declared
/usr/lib/gcc/i586-mandrake-linux-gnu/4.0.0/include/cxxabi.h:109: error: '__cxa_cdtor_type' has not been declared
/usr/lib/gcc/i586-mandrake-linux-gnu/4.0.0/include/cxxabi.h:114: error: '__cxa_cdtor_type' has not been declared
/usr/lib/gcc/i586-mandrake-linux-gnu/4.0.0/include/cxxabi.h:118: error: '__guard' was not declared in this scope
/usr/lib/gcc/i586-mandrake-linux-gnu/4.0.0/include/cxxabi.h:118: error: expected primary-expression before ')' token
/usr/lib/gcc/i586-mandrake-linux-gnu/4.0.0/include/cxxabi.h:121: error: variable or field '__cxa_guard_release' declared void
/usr/lib/gcc/i586-mandrake-linux-gnu/4.0.0/include/cxxabi.h:121: error: '__guard' was not declared in this scope
/usr/lib/gcc/i586-mandrake-linux-gnu/4.0.0/include/cxxabi.h:121: error: expected primary-expression before ')' token
/usr/lib/gcc/i586-mandrake-linux-gnu/4.0.0/include/cxxabi.h:124: error: variable or field '__cxa_guard_abort' declared void
/usr/lib/gcc/i586-mandrake-linux-gnu/4.0.0/include/cxxabi.h:124: error: '__guard' was not declared in this scope
/usr/lib/gcc/i586-mandrake-linux-gnu/4.0.0/include/cxxabi.h:124: error: expected primary-expression before ')' token
OtherFunctions.cpp: In member function 'virtual void otherfunctions::MuleStackWalker:: OnStackFrame(const wxStackFrame&)':
OtherFunctions.cpp:1105: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'void*'
make[3]: ** [amulegui-OtherFunctions.o] Erro 1
make[3]: Leaving directory `/home/paulo/amule/amule-cvs/src'
make[2]: ** [all-recursive] Erro 1
make[2]: Leaving directory `/home/paulo/amule/amule-cvs/src'
make[1]: ** [all-recursive] Erro 1
make[1]: Leaving directory `/home/paulo/amule/amule-cvs'
make: ** [all] Erro 2

If i replace the file in question(cxxabi.h) from the gcc-3.4.3 tree everything runs well....is it compiler error of amule code not yet ready for it? :evil:

ls -l /usr/bin/wx*
-rwxr-xr-x  1 root root 357588 Mai  9 03:52 /usr/bin/wxcas*
lrwxrwxrwx  1 root root     40 Mai  9 03:29 /usr/bin/wx-config -> /usr/lib/wx/config/gtk2-ansi-release-2.6*
lrwxrwxrwx  1 root root     40 Mai  9 03:29 /usr/bin/wxgtk-2.6-config -> /usr/lib/wx/config/gtk2-ansi-release-2.6*

ls -l /usr/local/bin/wx*
lrwxrwxrwx  1 root root    46 Mai  5 02:32 /usr/local/bin/wx-config -> /usr/local/lib/wx/config/gtk2-ansi-release-2.6*
lrwxrwxrwx  1 root root     8 Mai  5 02:32 /usr/local/bin/wxrc -> wxrc-2.6*
-rwxr-xr-x  1 root root 78427 Mai  5 02:32 /usr/local/bin/wxrc-2.6*

rpm -qa | grep wx
wxGTK-devel-2.6.0-1_mdk10.2
wxGTK-2.6.0-1_mdk10.2

Yes....Some rpms made by myself...but these errors just start to happen when i start to use:
rpm -qa | grep gcc
gcc4.0-c++-4.0.0-0.2mdk
gcc4.0-cpp-4.0.0-0.2mdk
gcc4.0-4.0.0-0.2mdk

Cheers!
wardevil
Linux user nº289016 at http://counter.li.org
Logged
Linux user nº289016 at Linux counter

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: MDK 10.2 with gcc-4.0.0 compilation errors
« Reply #1 on: May 11, 2005, 06:02:20 PM »

Compiler error.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: MDK 10.2 with gcc-4.0.0 compilation errors
« Reply #2 on: May 11, 2005, 06:07:13 PM »

^^yup

I run gentoo here...and compiled with gcc-4.0

all wxGTK-2.6
and amule-2.0 compile completly fine
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."