[#1] MPlayer - problemy na Debianie PPC
Na moim Debianie PPC kompilacja MPlayera kończy się przy make, a dokładnie:

In file included from mplayer.c:51:
libvo/video_out.h:66: error: syntax error before "uint32_t"
libvo/video_out.h:66: warning: no semicolon at end of struct or union
libvo/video_out.h:67: warning: data definition has no type or storage class
libvo/video_out.h:68: error: syntax error before '}' token
libvo/video_out.h:68: warning: data definition has no type or storage class
libvo/video_out.h:108: error: syntax error before "uint32_t"
libvo/video_out.h:108: warning: no semicolon at end of struct or union
libvo/video_out.h:119: error: syntax error before '*' token
libvo/video_out.h:119: error: syntax error before "width"
libvo/video_out.h:121: error: `uint32_t' declared as function returning a function
libvo/video_out.h:121: warning: data definition has no type or storage class
libvo/video_out.h:126: error: syntax error before '*' token
libvo/video_out.h:126: error: syntax error before "request"
libvo/video_out.h:126: error: `uint32_t' declared as function returning a function
libvo/video_out.h:126: warning: data definition has no type or storage class
libvo/video_out.h:133: error: syntax error before '*' token
libvo/video_out.h:133: error: syntax error before '*' token
libvo/video_out.h:133: error: `uint32_t' declared as function returning a function
libvo/video_out.h:133: warning: data definition has no type or storage class
libvo/video_out.h:143: error: syntax error before '*' token
libvo/video_out.h:143: error: syntax error before '*' token
libvo/video_out.h:143: error: `uint32_t' declared as function returning a function
libvo/video_out.h:143: warning: data definition has no type or storage class
libvo/video_out.h:166: error: syntax error before '}' token
libvo/video_out.h:166: warning: data definition has no type or storage class
libvo/video_out.h:171: error: syntax error before '*' token
libvo/video_out.h:171: warning: data definition has no type or storage class
libvo/video_out.h:175: error: syntax error before '*' token
libvo/video_out.h:175: warning: data definition has no type or storage class
In file included from mplayer.c:57:
libvo/x11_common.h:63: error: syntax error before "vo_x11_set_equalizer"
libvo/x11_common.h:63: warning: data definition has no type or storage class
libvo/x11_common.h:64: error: syntax error before "vo_x11_get_equalizer"
libvo/x11_common.h:64: warning: data definition has no type or storage class
libvo/x11_common.h:82: error: syntax error before "xv_port"
libvo/x11_common.h:83: error: syntax error before "xv_port"
libvo/x11_common.h:99: error: syntax error before "int"
In file included from mplayer.c:72:
spudec.h:18: error: syntax error before "vo_functions_t"
In file included from /usr/include/netinet/in.h:23,
from /usr/include/netdb.h:28,
from libmpdemux/network.h:16,
from libmpdemux/stream.h:51,
from Gui/interface.h:12,
from mplayer.c:81:
/usr/include/stdint.h:52: error: `uint32_t' redeclared as different kind of symbol
libvo/video_out.h:143: error: previous declaration of `uint32_t'
In file included from libmpdemux/dvbin.h:5,
from mplayer.c:109:
libmpdemux/dvb_defaults.h:69:10: warning: #warning No DVB-T country defined in dvb_defaults.h, defaulting to UK. Ignore this if using Satellite or Cable.
mplayer.c:194: error: syntax error before '*' token
mplayer.c:194: warning: data definition has no type or storage class
mplayer.c: In function `uninit_player':
mplayer.c:434: error: request for member `uninit' in something not a structure or union
mplayer.c: In function `main':
mplayer.c:2463: error: request for member `check_events' in something not a structure or union
mplayer.c:2481: error: request for member `flip_page' in something not a structure or union
mplayer.c:2492: error: request for member `control' in something not a structure or union
mplayer.c:2627: error: request for member `control' in something not a structure or union
mplayer.c:2633: error: request for member `check_events' in something not a structure or union
mplayer.c:2655: error: request for member `control' in something not a structure or union
mplayer.c:3256: error: request for member `control' in something not a structure or union
mplayer.c:3261: error: request for member `control' in something not a structure or union
mplayer.c:3272: error: request for member `control' in something not a structure or union
mplayer.c:3282: error: request for member `control' in something not a structure or union
mplayer.c:3290: error: request for member `control' in something not a structure or union
mplayer.c:3452: error: request for member `control' in something not a structure or union
mplayer.c:3758: error: request for member `control' in something not a structure or union
mplayer.c: At top level:
libvo/video_out.h:175: warning: array `video_out_drivers' assumed to have one element
make: *** [mplayer.o] Błąd 1


Postępowałem wg opisu instalacji z działu Programy. Czego jeszcze mi brakuje?
Druga sprawa to polskie znaki w MPlayerze PPC zainstalowanego z paczek pobranych ze strony
http://honk.physik.uni-konstanz.de/~agx/linux-ppc/debian/mplayer/
Nie da się uzyskać poprawnych polskich znaków w MPlayerze z tych paczek, po prostu jest to niemożliwe, próbowałem wszystkich dostępnych na sieci zestawów czcionek (tak, z odpowiednich charsetem), wszelkie kombinacje ustawień MPlayera i nic to nie dało. Po prostu wydaje mi się, że te paczki są zepsute. Pół biedy gdybym mógł sam skompilowac MPlayera, ale jak widać wyżej jest to niemożliwe.
Co więcej kiedyś użytkownicy x86 mieli podobny problem na Debianie, ale został on usunięty. Na Debianie PPC nadal jest problem i podejrzewam, że tkwi on w inkludach czy ustawieniach systemu tego, który te paczki dla Debiana PPC przygotowuje. Nie pisałem jeszcze do niego mejla, ale myśle że człowiek po prostu nie wie o tym problemie, może nawet nie wiedzieć (podejrzewam, że prawdopodobnie nie jest Polakiem ;) ).

[#2] Re: MPlayer - problemy na Debianie PPC

@grxmrx, post #1

brakuje jakis includow - na 99% - reszta bledow to konsekwencja tego.
Nie jestem pewien, czy uint32_t nie wszedl do standardu w ktorejs
wersji gcc...

[#3] Re: MPlayer - problemy na Debianie PPC

@Kaczus, post #2

Jeśli tak to których? Czyżby to całe GCC było na tyle beznadziejne lub źródła mplayera, że nie potrafią podać jasno czego brakuje?

[#4] Re: MPlayer - problemy na Debianie PPC

@grxmrx, post #3

brakuje definicji kilku typów, co podał gcc....

[#5] Re: MPlayer - problemy na Debianie PPC

@Kaczus, post #4

Sprawdzałem połączenia inkludów i te typy są zawarte. Z resztą są one standardowo w inkludach Debiana w odpowiednim dla tego miejscu.

[#6] Re: MPlayer - problemy na Debianie PPC

@grxmrx, post #5

a dolaczony jest ten include?

[#7] Re: MPlayer - problemy na Debianie PPC

@Kaczus, post #6

Tak

[#8] Re: MPlayer - problemy na Debianie PPC

@grxmrx, post #1

Bede musial to sprawdzic. Najnowszej wersji jeszcze nie instalowalem, ale w poprzedniej mniej wiecej z przed trzech miesiecy, polskie czcionki dzialaja u mnie OK.

[#9] Re: MPlayer - problemy na Debianie PPC

@grxmrx, post #1

a jakim gcc kompilujesz, ja pamietam że musialem zmienic na gcc3.3 zeby poszło
[#10] Re: MPlayer - problemy na Debianie PPC

@rzookol, post #9

W systemie mam zarówno gcc 2.95 jak i gcc3. Który jest używany podczas kompilacji? Hmm.

[#11] Re: MPlayer - problemy na Debianie PPC

@grxmrx, post #10

daj gcc -v - a dowieszz sie prawdy :)

[#12] Re: MPlayer - problemy na Debianie PPC

@Kaczus, post #11

# gcc -v -a
Reading specs from /usr/lib/gcc-lib/powerpc-linux/3.3.5/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc --disable-multilib powerpc-linux
Thread model: posix
gcc version 3.3.5 (Debian 1:3.3.5-8)

Na stronie www.PPA.pl, podobnie jak na wielu innych stronach internetowych, wykorzystywane są tzw. cookies (ciasteczka). Służą ona m.in. do tego, aby zalogować się na swoje konto, czy brać udział w ankietach. Ze względu na nowe regulacje prawne jesteśmy zobowiązani do poinformowania Cię o tym w wyraźniejszy niż dotychczas sposób. Dalsze korzystanie z naszej strony bez zmiany ustawień przeglądarki internetowej będzie oznaczać, że zgadzasz się na ich wykorzystywanie.
OK, rozumiem