aMule Forum

English => Compilation problems => Topic started by: Festor on November 26, 2007, 06:24:03 PM

Title: Problem with CVS 20071126 and Ubuntu Feisty 7.04 and Ubuntu Dapper 6.06
Post by: Festor on November 26, 2007, 06:24:03 PM
I am trying to compile version 20071126 of amule CVS to these 2 versions of Ubuntu and the 2 gives me this error:

Quote
make[4]: se sale del directorio `/home/festor/amule-20071126/src'
make[3]: se sale del directorio `/home/festor/amule-20071126/src'
Making all in unittests
make[3]: se ingresa al directorio `/home/festor/amule-20071126/unittests'
make[4]: se ingresa al directorio `/home/festor/amule-20071126/unittests'
make[4]: No se hace nada para `all-am'.
make[4]: se sale del directorio `/home/festor/amule-20071126/unittests'
make[3]: se sale del directorio `/home/festor/amule-20071126/unittests'
Making all in intl
make[3]: se ingresa al directorio `/home/festor/amule-20071126/intl'
make[3]: No se hace nada para `all'.
make[3]: se sale del directorio `/home/festor/amule-20071126/intl'
Making all in po
make[3]: se ingresa al directorio `/home/festor/amule-20071126/po'
rm -f ar.gmo && /usr/bin/msgfmt -c --statistics -o ar.gmo ar.po
393 mensajes traducidos, 1142 mensajes sin traducir.
rm -f bg.gmo && /usr/bin/msgfmt -c --statistics -o bg.gmo bg.po
215 mensajes traducidos, 1320 mensajes sin traducir.
rm -f ca.gmo && /usr/bin/msgfmt -c --statistics -o ca.gmo ca.po
1532 mensajes traducidos.
rm -f da.gmo && /usr/bin/msgfmt -c --statistics -o da.gmo da.po
584 mensajes traducidos, 8 traducciones difusas, 943 mensajes sin traducir.
rm -f de.gmo && /usr/bin/msgfmt -c --statistics -o de.gmo de.po
1533 mensajes traducidos, 2 mensajes sin traducir.
rm -f en_GB.gmo && /usr/bin/msgfmt -c --statistics -o en_GB.gmo en_GB.po
0 mensajes traducidos, 1535 mensajes sin traducir.
rm -f es.gmo && /usr/bin/msgfmt -c --statistics -o es.gmo es.po
1535 mensajes traducidos.
rm -f et_EE.gmo && /usr/bin/msgfmt -c --statistics -o et_EE.gmo et_EE.po
1535 mensajes traducidos.
rm -f eu.gmo && /usr/bin/msgfmt -c --statistics -o eu.gmo eu.po
1479 mensajes traducidos, 56 mensajes sin traducir.
rm -f fi.gmo && /usr/bin/msgfmt -c --statistics -o fi.gmo fi.po
1535 mensajes traducidos.
rm -f fr.gmo && /usr/bin/msgfmt -c --statistics -o fr.gmo fr.po
1531 mensajes traducidos, 4 mensajes sin traducir.
rm -f gl.gmo && /usr/bin/msgfmt -c --statistics -o gl.gmo gl.po
1525 mensajes traducidos, 10 mensajes sin traducir.
rm -f hr.gmo && /usr/bin/msgfmt -c --statistics -o hr.gmo hr.po
462 mensajes traducidos, 1073 mensajes sin traducir.
rm -f hu.gmo && /usr/bin/msgfmt -c --statistics -o hu.gmo hu.po
1019 mensajes traducidos, 188 traducciones difusas, 328 mensajes sin traducir.
rm -f it.gmo && /usr/bin/msgfmt -c --statistics -o it.gmo it.po
1533 mensajes traducidos, 2 mensajes sin traducir.
rm -f it_CH.gmo && /usr/bin/msgfmt -c --statistics -o it_CH.gmo it_CH.po
1535 mensajes traducidos.
rm -f ja.gmo && /usr/bin/msgfmt -c --statistics -o ja.gmo ja.po
/usr/bin/msgfmt: ja.po: el campo `Project-Id-Version' aún tiene el valor inicial por defecto
/usr/bin/msgfmt: se encontró el error fatal 1
make[3]: *** [ja.gmo] Error 1
make[3]: se sale del directorio `/home/festor/amule-20071126/po'
make[2]: *** [all-recursive] Error 1
make[2]: se sale del directorio `/home/festor/amule-20071126'
make[1]: *** [all] Error 2
make[1]: se sale del directorio `/home/festor/amule-20071126'
make: *** [build-stamp] Error 2

The strange thing is that when attempting to compile the same version Ubuntu 6.10 I have no problem.

All versions of Ubuntu are update as today.

All used wxWidgets 2.8.4 and I do not know if it has something to do but all are installed using VirtualBox
Title: Re: Problem with CVS 20071126 and Ubuntu Feisty 7.04 and Ubuntu Dapper 6.06
Post by: wuischke on November 26, 2007, 06:44:15 PM
Hi festor,

please see http://forum.amule.org/index.php?topic=13841.0

I've fixed this now, but you can open the file amule-cvs/po/ja.po and change the value as indicated above if you want to compile today.

Thanks for your report!

kind regards
Title: Re: Problem with CVS 20071126 and Ubuntu Feisty 7.04 and Ubuntu Dapper 6.06
Post by: Festor on November 26, 2007, 09:12:28 PM
New problem with Ubuntu 7.04 and any aMule CVS

Quote
Preferences.cpp:759:2: aviso: #warning there has to be a better way...
En el fichero incluído de Preferences.cpp:1636:
ClientList.h:343:3: aviso: #warning ALSO FIX THIS, NOW!!!
/usr/include/wx-2.8/wx/hashmap.h: In member function ‘wxLongToLongHashMap_wxImplementation_HashTable::Node** wxLongToLongHashMap_wxImplementation_HashTable::GetNodePtr(const long int&) const’:
/usr/include/wx-2.8/wx/hashmap.h:714: aviso: la dereferencia de punteros de tipo castigado romperá las reglas de alias estricto
/usr/include/wx-2.8/wx/clntdata.h: In member function ‘wxShadowObjectMethods_wxImplementation_HashTable::Node** wxShadowObjectMethods_wxImplementation_HashTable::GetNodePtr(const wxString&) const’:
/usr/include/wx-2.8/wx/clntdata.h:20: aviso: la dereferencia de punteros de tipo castigado romperá las reglas de alias estricto
/usr/include/wx-2.8/wx/clntdata.h: In member function ‘wxShadowObjectFields_wxImplementation_HashTable::Node** wxShadowObjectFields_wxImplementation_HashTable::GetNodePtr(const wxString&) const’:
/usr/include/wx-2.8/wx/clntdata.h:25: aviso: la dereferencia de punteros de tipo castigado romperá las reglas de alias estricto
/usr/include/wx-2.8/wx/gdicmn.h: In member function ‘wxStringToColourHashMap_wxImplementation_HashTable::Node** wxStringToColourHashMap_wxImplementation_HashTable::GetNodePtr(const wxString&) const’:
/usr/include/wx-2.8/wx/gdicmn.h:544: aviso: la dereferencia de punteros de tipo castigado romperá las reglas de alias estricto
/usr/include/wx-2.8/wx/protocol/http.h: In member function ‘wxStringToStringHashMap_wxImplementation_HashTable::Node** wxStringToStringHashMap_wxImplementation_HashTable::GetNodePtr(const wxString&) const’:
/usr/include/wx-2.8/wx/protocol/http.h:21: aviso: la dereferencia de punteros de tipo castigado romperá las reglas de alias estricto
/usr/include/wx-2.8/wx/image.h: In member function ‘wxImageHistogramBase_wxImplementation_HashTable::Node** wxImageHistogramBase_wxImplementation_HashTable::GetNodePtr(const long unsigned int&) const’:
/usr/include/wx-2.8/wx/image.h:136: aviso: la dereferencia de punteros de tipo castigado romperá las reglas de alias estricto
i486-linux-gnu-g++: Internal error: Terminado (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[4]: *** [amule-Preferences.o] Error 1
make[4]: se sale del directorio `/home/festor/amule-20071120/src'
make[3]: *** [all-recursive] Error 1
make[3]: se sale del directorio `/home/festor/amule-20071120/src'
make[2]: *** [all-recursive] Error 1
make[2]: se sale del directorio `/home/festor/amule-20071120'
make[1]: *** [all] Error 2
make[1]: se sale del directorio `/home/festor/amule-20071120'
make: *** [build-stamp] Error 2
festor@smiper-win:~/amule-20071120$
Title: Re: Problem with CVS 20071126 and Ubuntu Feisty 7.04 and Ubuntu Dapper 6.06
Post by: Kry on November 26, 2007, 10:09:07 PM
That's gcc. you're smarter than that :P
Title: Re: Problem with CVS 20071126 and Ubuntu Feisty 7.04 and Ubuntu Dapper 6.06
Post by: Festor on November 27, 2007, 07:31:41 AM
Shit! Prefer to be a known problem  :-\ . If  it is the gcc would be more serious  :-[ :-[

But what does it mean?:

"la dereferencia de punteros de tipo castigado romperá las reglas de alias estricto"

By google translator xD

"The dereferencia pointer type punished break the rules of strict aliases"

Whenever I get this when compiling any version of CVS aMule.
Title: Re: Problem with CVS 20071126 and Ubuntu Feisty 7.04 and Ubuntu Dapper 6.06
Post by: Kry on November 27, 2007, 07:52:29 AM
That's nothing for you to worry about ;) IT might cause problems on ARM processors while running aMule, but nothing on your side.
Title: Re: Problem with CVS 20071126 and Ubuntu Feisty 7.04 and Ubuntu Dapper 6.06
Post by: Festor on November 27, 2007, 08:36:30 PM
That's gcc. you're smarter than that :P

Problem solved. Apparently I had to give it more memory Ram to VirtualBox with Ubuntu 7.04 :D