Skocz do zawartości

Problem Z Kompilacja Xemule


nagardd

Rekomendowane odpowiedzi

Witam,

 

Konfiguracja: Fedora 9 plus najnowsze update'y.

 

Sciagnalem xEmule w wersji xmule-1.13.6.tar.bz2.

 

./configure poszlo bez problemow, natowmiast make pokzaalo nastepujace bledy:

 

[root@nagard xmule-1.13.6]# make
==== Building 3rd-Party Projects ====
==== Building iniparser [1 of 4] ====
iniparser.c
dictionary.c
strlib.c
a - iniparser.o
a - dictionary.o
a - strlib.o
==== Building xrc [2 of 4] ====
== License(s): wxWindows
make[1]: Nie ma nic do zrobienia w `all'.
==== Building DynPrefs [3 of 4] ====
== License(s): OSSAL and Creative Commons License
DynamicPreferences.cpp
DynamicPreferencesCtrl.cpp
DynamicPreferencesCtrl.cpp:461:2: warning: #warning The "z" needs a rename.
DynamicPreferencesCtrl.cpp:500:2: warning: #warning This entire colorlist thing needs to be re-implemented :-/
Linking DynPrefs
==== Building zlib [4 of 4] ====
== License(s): ZLib
adler32.c
compress.c
crc32.c
gzio.c
uncompr.c
deflate.c
trees.c
zutil.c
inflate.c
infback.c
inftrees.c
inffast.c
==== Building zlib ====
Linking libz.a
==== Building xMule ====
== License(s): GPL
AddFileThread.cpp
In file included from AddFileThread.h:22,
                from AddFileThread.cpp:23:
mfc.h: In member function ‘TYPE& CList<TYPE, ARG_TYPE>::GetHead()’:
mfc.h:73: error: there are no arguments to ‘printf’ that depend on a template parameter, so a declaration of ‘printf’ must be available
mfc.h:73: error: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
mfc.h:74: error: there are no arguments to ‘exit’ that depend on a template parameter, so a declaration of ‘exit’ must be available
mfc.h: In member function ‘TYPE& CList<TYPE, ARG_TYPE>::GetTail()’:
mfc.h:96: error: there are no arguments to ‘printf’ that depend on a template parameter, so a declaration of ‘printf’ must be available
mfc.h:97: error: there are no arguments to ‘exit’ that depend on a template parameter, so a declaration of ‘exit’ must be available
mfc.h: In member function ‘TYPE& CList<TYPE, ARG_TYPE>::GetNext(void*&)’:
mfc.h:219: error: there are no arguments to ‘printf’ that depend on a template parameter, so a declaration of ‘printf’ must be available
mfc.h:220: error: there are no arguments to ‘exit’ that depend on a template parameter, so a declaration of ‘exit’ must be available
mfc.h: In member function ‘TYPE& CList<TYPE, ARG_TYPE>::GetPrev(void*&)’:
mfc.h:250: error: there are no arguments to ‘printf’ that depend on a template parameter, so a declaration of ‘printf’ must be available
mfc.h:251: error: there are no arguments to ‘exit’ that depend on a template parameter, so a declaration of ‘exit’ must be available
mfc.h: In member function ‘TYPE& CList<TYPE, ARG_TYPE>::GetAt(void*)’:
mfc.h:278: error: there are no arguments to ‘printf’ that depend on a template parameter, so a declaration of ‘printf’ must be available
mfc.h:279: error: there are no arguments to ‘exit’ that depend on a template parameter, so a declaration of ‘exit’ must be available
make[1]: *** [obj/AddFileThread.o] Błąd 1
make: *** [all] Błąd 2
[root@nagard xmule-1.13.6]# 

 

Czy ktos ma jakis pomysl jak sobie z tym poradzic?

 

Dzieki,

Daniel

 

------------------

Do przedstawiania długich listingów korzystaj ze znaczników [codebox][/codebox]. Przy "wklejkach" do 15 linijek korzystaj z [code][/code]. WalDo

Odnośnik do komentarza
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
×
×
  • Dodaj nową pozycję...