aMule Forum

English => Compilation problems => Topic started by: Pazzeo on October 02, 2007, 07:45:34 PM

Title: Make error in cvs 30 september
Post by: Pazzeo on October 02, 2007, 07:45:34 PM
Hi all,

I found a problem doing make of amule cvs 30-09.
The error is this:
Code: [Select]
In file included from Preferences.cpp:1649:
ClientList.h:343:3: warning: #warning ALSO FIX THIS, NOW!!!
/usr/local/include/wx-2.8/wx/hashmap.h: In member function 'wxLongToLongHashMap_wxImplementation_HashTable::Node** wxLongToLongHashMap_wxImplementation_HashTable::GetNodePtr(const long int&) const':
/usr/local/include/wx-2.8/wx/hashmap.h:714: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/local/include/wx-2.8/wx/clntdata.h: In member function 'wxShadowObjectMethods_wxImplementation_HashTable::Node** wxShadowObjectMethods_wxImplementation_HashTable::GetNodePtr(const wxString&) const':
/usr/local/include/wx-2.8/wx/clntdata.h:20: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/local/include/wx-2.8/wx/clntdata.h: In member function 'wxShadowObjectFields_wxImplementation_HashTable::Node** wxShadowObjectFields_wxImplementation_HashTable::GetNodePtr(const wxString&) const':
/usr/local/include/wx-2.8/wx/clntdata.h:25: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/local/include/wx-2.8/wx/protocol/http.h: In member function 'wxStringToStringHashMap_wxImplementation_HashTable::Node** wxStringToStringHashMap_wxImplementation_HashTable::GetNodePtr(const wxString&) const':
/usr/local/include/wx-2.8/wx/protocol/http.h:21: warning: dereferencing type-punned pointer will break strict-aliasing rules
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions, see
<URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.

make[3]: *** [amuled-Preferences.o] Error 1
make[3]: Leaving directory `/home/pazzeo/amule-cvs/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/pazzeo/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pazzeo/amule-cvs'
make: *** [all] Error 2
My configure is :
Code: [Select]
./configure --enable-amulecmd --enable-webserver --disable-monolithic --enable-amule-daemon --disable-debug --enable-optimize --enable-unicode --with-toolkit=base --enable-ccache
Can you help me?
Thank you
Pazzeo
Title: Re: Make error in cvs 30 september
Post by: Kry on October 02, 2007, 10:15:18 PM
it's a gcc bug
Title: Re: Make error in cvs 30 september
Post by: Pazzeo on October 03, 2007, 12:27:13 AM
If I upgrade the gcc version , will I solve my problem??

The actual gcc version is 4.1.2.

Thank you

Pazzeo
Title: Re: Make error in cvs 30 september
Post by: skolnick on October 06, 2007, 04:33:04 AM
Try updating gcc.

Regards.
Title: Re: Make error in cvs 30 september
Post by: Pazzeo on October 09, 2007, 11:30:33 AM
Thank you

No problem with the last version of gcc!!


Bye

Pazzeo