Hello all. I tried compiling mplayer for my Linkstation Live using this post and others. Regardless of mplayer version I try to compile (pre8, rc1, rc2), when I copy the cook.c, cook_fixp_mdct.h, cook_fixpoint.h, cook_float.h, cookdata.h, cookdata_fixpoint.h, cookdata_float.h into the /libavcodec folder and compile, I get a lot of erros.
* the pre8 misses bytestream.h and other files, and I copy these into the folder but errors are given: In file included from cook.c:56: bytestream.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint64_t' bytestream.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' bytestream.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned' bytestream.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' bytestream.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned' bytestream.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' bytestream.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned' bytestream.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' bytestream.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint64_t' bytestream.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' bytestream.h:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned' bytestream.h:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' bytestream.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned' bytestream.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' bytestream.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned' bytestream.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' bytestream.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned' bytestream.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' bytestream.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned' bytestream.h:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' cook.c: In function 'decode_bytes_and_gain': cook.c:720: error: expected expression before 'int' make: *** [cook.o] Error 1 * the rc1 (when replacing the cook.* files) gives error: In file included from cook.c:56: bytestream.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint64_t' bytestream.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' bytestream.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned' bytestream.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' bytestream.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned' bytestream.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' bytestream.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned' bytestream.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' bytestream.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint64_t' bytestream.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' bytestream.h:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned' bytestream.h:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' bytestream.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned' bytestream.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' bytestream.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned' bytestream.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' bytestream.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned' bytestream.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' bytestream.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned' bytestream.h:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' cook.c: In function 'decode_bytes_and_gain': cook.c:720: error: expected expression before 'int' make: *** [cook.o] Error 1 make: Leaving directory `/mnt I do not get errors using original cook.* files. What am I doing wrong, and is it possible for some of you guys having compiled mplayer for their linkstation pro/live to upload it to say radpidshare? /Sebbe -- sebbe_sabb ------------------------------------------------------------------------ sebbe_sabb's Profile: http://forums.slimdevices.com/member.php?userid=18020 View this thread: http://forums.slimdevices.com/showthread.php?t=47999 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/plugins
