[HowTo] Ubuntu 8.10 SVN PMS & Multithread

For help and support with issues specific to Linux/Unix
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

Re: [HowTo] Ubuntu 8.10 SVN PMS & Multithread

Postby WesleyWex » Thu Apr 16, 2009 3:37 am

Topguy wrote:It means that one of the programs the "configure" script tried to run actually crashed. You might be able to find which program it is by checking "config.log" file that should have been generated.

Nope, there is a file named "configure.log" but this is its only contents:
Code: Select all
configuration:

WesleyWex
 
Posts: 2
Joined: Wed Apr 15, 2009 9:44 pm

Re: [HowTo] Ubuntu 8.10 SVN PMS & Multithread

Postby LostChild1 » Wed Jul 29, 2009 1:09 am

Alright, I follow this entire guide, from the beginning to the end of compiling mplayer (No need for svn PMS, I'm at 1.11.350) and that silly box is still greyed out!

What's going on? I didn't get any errors in my compiles or anything.

Using 64-bit Ubuntu 9.04
LostChild1
 
Posts: 4
Joined: Wed Jul 01, 2009 1:56 am

Re: [HowTo] Ubuntu 8.10 SVN PMS & Multithread

Postby jetway1212 » Wed Jul 29, 2009 8:34 pm

I was following this guide until the compiling mplayer. I got the following errors during make:
Code: Select all
ead4 -I.  -D_REENTRANT    -c -o lcldec.o lcldec.c
lcldec.c:50:18: error: zlib.h: No such file or directory
lcldec.c:70: error: expected specifier-qualifier-list before 'z_stream'
lcldec.c: In function 'zlib_decomp':
lcldec.c:131: warning: implicit declaration of function 'inflateReset'
lcldec.c:131: error: 'LclDecContext' has no member named 'zstream'
lcldec.c:132: error: 'Z_OK' undeclared (first use in this function)
lcldec.c:132: error: (Each undeclared identifier is reported only once
lcldec.c:132: error: for each function it appears in.)
lcldec.c:136: error: 'LclDecContext' has no member named 'zstream'
lcldec.c:137: error: 'LclDecContext' has no member named 'zstream'
lcldec.c:138: error: 'LclDecContext' has no member named 'zstream'
lcldec.c:139: error: 'LclDecContext' has no member named 'zstream'
lcldec.c:140: warning: implicit declaration of function 'inflate'
lcldec.c:140: error: 'LclDecContext' has no member named 'zstream'
lcldec.c:140: error: 'Z_FINISH' undeclared (first use in this function)
lcldec.c:141: error: 'Z_STREAM_END' undeclared (first use in this function)
lcldec.c:145: error: 'LclDecContext' has no member named 'zstream'
lcldec.c:147: error: 'LclDecContext' has no member named 'zstream'
lcldec.c:150: error: 'LclDecContext' has no member named 'zstream'
lcldec.c: In function 'decode_init':
lcldec.c:544: error: 'Z_NO_COMPRESSION' undeclared (first use in this function)
lcldec.c:544: error: 'Z_BEST_COMPRESSION' undeclared (first use in this function)
lcldec.c:580: error: 'LclDecContext' has no member named 'zstream'
lcldec.c:580: error: 'Z_NULL' undeclared (first use in this function)
lcldec.c:581: error: 'LclDecContext' has no member named 'zstream'
lcldec.c:582: error: 'LclDecContext' has no member named 'zstream'
lcldec.c:583: warning: implicit declaration of function 'inflateInit'
lcldec.c:583: error: 'LclDecContext' has no member named 'zstream'
lcldec.c:584: error: 'Z_OK' undeclared (first use in this function)
lcldec.c: In function 'decode_end':
lcldec.c:609: warning: implicit declaration of function 'inflateEnd'
lcldec.c:609: error: 'LclDecContext' has no member named 'zstream'
make[1]: *** [lcldec.o] Error 1
make[1]: Leaving directory `/usr/src/mplayer/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2


Can someone please explain the errors and how to fix it?

I'm running Ubuntu 9.04 64bit Desktop.
Thanks
jetway1212
 
Posts: 2
Joined: Wed Jul 29, 2009 8:31 pm

Re: [HowTo] Ubuntu 8.10 SVN PMS & Multithread

Postby jetway1212 » Wed Jul 29, 2009 11:28 pm

Ok i think i got mencoder compiled and installed now. The previous error thats i got was due to the missing dev package : zlib.h. I reinstalled the build essential with the missing package. So now i went throught all the installions in this guide.

However the ps3mediaserver still doesnt have multi-core mencoder option available.

Anyone cares to help?
jetway1212
 
Posts: 2
Joined: Wed Jul 29, 2009 8:31 pm

Re: [HowTo] Ubuntu 8.10 SVN PMS & Multithread

Postby LostChild1 » Mon Aug 10, 2009 12:18 am

Still hoping someone can shed some light on this. Have the instructions changed much since this was created? I know I had to manually remove an empty folder to checkout another thing...
LostChild1
 
Posts: 4
Joined: Wed Jul 01, 2009 1:56 am

Re: [HowTo] Ubuntu 8.10 SVN PMS & Multithread

Postby DerRudi » Tue Aug 11, 2009 10:31 am

As far as I know, the multithread-checkbox will always be greyed-out on linux system.
If you compiled mencoder with multithread-support it will use it automatically. At least for me that's how it works, box is greyed out, but all 4 cores are utilized.
DerRudi
 
Posts: 3
Joined: Wed Jun 03, 2009 5:55 pm

Re: [HowTo] Ubuntu 8.10 SVN PMS & Multithread

Postby jgl75 » Thu Aug 20, 2009 3:09 pm

Hello!

This is my first post.
I'm successfully using PS3 Media Server on my MacMini but I'm would like to set up a NAS that will host all my multimedia files and that will act as my new PMS server.
I'm trying to achieve this on Ubuntu Server 9.04 64bits using only command line.
For now I'm doing it in a VM to test if I can achieve my goals before buying my new system and I can't compile ffmpeg-mt.

This is the result of the make command :
Code: Select all
libavutil/aes.c:84: warning: passing argument 2 of ‘mix’ from incompatible pointer type
libavutil/aes.c:85: warning: passing argument 1 of ‘addkey’ from incompatible pointer type
libavutil/aes.c:85: warning: passing argument 2 of ‘addkey’ from incompatible pointer type
libavutil/aes.c:85: warning: passing argument 3 of ‘addkey’ from incompatible pointer type
libavutil/aes.c:87: warning: passing argument 1 of ‘subshift’ from incompatible pointer type
libavutil/aes.c: In function ‘av_aes_crypt’:
libavutil/aes.c:92: warning: passing argument 1 of ‘addkey’ from incompatible pointer type
libavutil/aes.c:92: warning: passing argument 2 of ‘addkey’ from incompatible pointer type
libavutil/aes.c:92: warning: passing argument 3 of ‘addkey’ from incompatible pointer type
libavutil/aes.c:94: warning: passing argument 4 of ‘crypt’ from incompatible pointer type
libavutil/aes.c:96: warning: passing argument 1 of ‘addkey’ from incompatible pointer type
libavutil/aes.c:96: warning: passing argument 2 of ‘addkey’ from incompatible pointer type
libavutil/aes.c:96: warning: passing argument 3 of ‘addkey’ from incompatible pointer type
libavutil/aes.c:99: warning: passing argument 1 of ‘addkey’ from incompatible pointer type
libavutil/aes.c:99: warning: passing argument 2 of ‘addkey’ from incompatible pointer type
libavutil/aes.c:99: warning: passing argument 3 of ‘addkey’ from incompatible pointer type
libavutil/aes.c:101: warning: passing argument 1 of ‘addkey’ from incompatible pointer type
libavutil/aes.c:101: warning: passing argument 2 of ‘addkey’ from incompatible pointer type
libavutil/aes.c:101: warning: passing argument 3 of ‘addkey’ from incompatible pointer type
libavutil/aes.c:102: warning: passing argument 4 of ‘crypt’ from incompatible pointer type
libavutil/aes.c:103: warning: passing argument 1 of ‘addkey’ from incompatible pointer type
libavutil/aes.c:103: warning: passing argument 2 of ‘addkey’ from incompatible pointer type
libavutil/aes.c:103: warning: passing argument 3 of ‘addkey’ from incompatible pointer type
libavutil/aes.c: In function ‘av_aes_init’:
libavutil/aes.c:149: warning: passing argument 1 of ‘init_multbl2’ from incompatible pointer type
libavutil/aes.c:150: warning: passing argument 1 of ‘init_multbl2’ from incompatible pointer type
libavutil/aes.c:180: warning: passing argument 1 of ‘subshift’ from incompatible pointer type
libavutil/aes.c:181: warning: passing argument 1 of ‘mix’ from incompatible pointer type
libavutil/aes.c:133: warning: array subscript is above array bounds
libavutil/aes.c:187: warning: array subscript is above array bounds
libavutil/aes.c:187: warning: array subscript is above array bounds
libavutil/aes.c:187: warning: array subscript is above array bounds
libavutil/aes.c:187: warning: array subscript is above array bounds
libavutil/aes.c:187: warning: array subscript is above array bounds
libavutil/aes.c:187: warning: array subscript is above array bounds
libavutil/aes.c:187: warning: array subscript is above array bounds
libavutil/aes.c:187: warning: array subscript is above array bounds
libavutil/aes.c:187: warning: array subscript is above array bounds
libavutil/aes.c:187: warning: array subscript is above array bounds
libavutil/aes.c:187: warning: array subscript is above array bounds
libavutil/aes.c:187: warning: array subscript is above array bounds
libavutil/aes.c:187: warning: array subscript is above array bounds
libavutil/aes.c:187: warning: array subscript is above array bounds
libavutil/aes.c:187: warning: array subscript is above array bounds
libavutil/aes.c:187: warning: array subscript is above array bounds
libavutil/aes.c:187: warning: array subscript is above array bounds
libavutil/aes.c:187: warning: array subscript is above array bounds
libavutil/aes.c:187: warning: array subscript is above array bounds
libavutil/aes.c:187: warning: array subscript is above array bounds
libavutil/aes.c:187: warning: array subscript is above array bounds
libavutil/aes.c:187: warning: array subscript is above array bounds
libavutil/aes.c:187: warning: array subscript is above array bounds
libavutil/aes.c:187: warning: array subscript is above array bounds
gcc -DHAVE_AV_CONFIG_H -I. -I"/usr/src/ffmpeg-mt" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize        -c -o libavutil/avstring.o libavutil/avstring.c
gcc -DHAVE_AV_CONFIG_H -I. -I"/usr/src/ffmpeg-mt" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize        -c -o libavutil/base64.o libavutil/base64.c
gcc -DHAVE_AV_CONFIG_H -I. -I"/usr/src/ffmpeg-mt" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize        -c -o libavutil/crc.o libavutil/crc.c
gcc -DHAVE_AV_CONFIG_H -I. -I"/usr/src/ffmpeg-mt" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize        -c -o libavutil/des.o libavutil/des.c
gcc -DHAVE_AV_CONFIG_H -I. -I"/usr/src/ffmpeg-mt" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize        -c -o libavutil/fifo.o libavutil/fifo.c
gcc -DHAVE_AV_CONFIG_H -I. -I"/usr/src/ffmpeg-mt" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize        -c -o libavutil/intfloat_readwrite.o libavutil/intfloat_readwrite.c
gcc -DHAVE_AV_CONFIG_H -I. -I"/usr/src/ffmpeg-mt" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize        -c -o libavutil/lfg.o libavutil/lfg.c
gcc -DHAVE_AV_CONFIG_H -I. -I"/usr/src/ffmpeg-mt" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize        -c -o libavutil/lls.o libavutil/lls.c
gcc -DHAVE_AV_CONFIG_H -I. -I"/usr/src/ffmpeg-mt" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize        -c -o libavutil/log.o libavutil/log.c
libavutil/log.c: In function ‘av_log_default_callback’:
libavutil/log.c:39: warning: unused variable ‘prefix_length’
libavutil/log.c:38: warning: unused variable ‘buf’
gcc -DHAVE_AV_CONFIG_H -I. -I"/usr/src/ffmpeg-mt" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize        -c -o libavutil/lzo.o libavutil/lzo.c
gcc -DHAVE_AV_CONFIG_H -I. -I"/usr/src/ffmpeg-mt" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize        -c -o libavutil/mathematics.o libavutil/mathematics.c
gcc -DHAVE_AV_CONFIG_H -I. -I"/usr/src/ffmpeg-mt" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize        -c -o libavutil/md5.o libavutil/md5.c
gcc -DHAVE_AV_CONFIG_H -I. -I"/usr/src/ffmpeg-mt" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize        -c -o libavutil/mem.o libavutil/mem.c
gcc -DHAVE_AV_CONFIG_H -I. -I"/usr/src/ffmpeg-mt" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize        -c -o libavutil/random_seed.o libavutil/random_seed.c
libavutil/random_seed.c: In function ‘ff_random_get_seed’:
libavutil/random_seed.c:34: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
gcc -DHAVE_AV_CONFIG_H -I. -I"/usr/src/ffmpeg-mt" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize        -c -o libavutil/rational.o libavutil/rational.c
gcc -DHAVE_AV_CONFIG_H -I. -I"/usr/src/ffmpeg-mt" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize        -c -o libavutil/rc4.o libavutil/rc4.c
gcc -DHAVE_AV_CONFIG_H -I. -I"/usr/src/ffmpeg-mt" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize        -c -o libavutil/sha.o libavutil/sha.c
libavutil/sha.c: In function ‘sha256_transform’:
libavutil/sha.c:183: warning: unused variable ‘T2’
gcc -DHAVE_AV_CONFIG_H -I. -I"/usr/src/ffmpeg-mt" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize        -c -o libavutil/tree.o libavutil/tree.c
gcc -DHAVE_AV_CONFIG_H -I. -I"/usr/src/ffmpeg-mt" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize        -c -o libavutil/utils.o libavutil/utils.c
rm -f libavutil/libavutil.a
ar rc libavutil/libavutil.a libavutil/adler32.o libavutil/aes.o libavutil/avstring.o libavutil/base64.o libavutil/crc.o libavutil/des.o libavutil/fifo.o libavutil/intfloat_readwrite.o libavutil/lfg.o libavutil/lls.o libavutil/log.o libavutil/lzo.o libavutil/mathematics.o libavutil/md5.o libavutil/mem.o libavutil/random_seed.o libavutil/rational.o libavutil/rc4.o libavutil/sha.o libavutil/tree.o libavutil/utils.o
ranlib libavutil/libavutil.a
gcc -DHAVE_AV_CONFIG_H -I. -I"/usr/src/ffmpeg-mt" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize        -c -o libswscale/options.o libswscale/options.c
gcc -DHAVE_AV_CONFIG_H -I. -I"/usr/src/ffmpeg-mt" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize        -c -o libswscale/rgb2rgb.o libswscale/rgb2rgb.c
gcc -DHAVE_AV_CONFIG_H -I. -I"/usr/src/ffmpeg-mt" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize        -c -o libswscale/swscale.o libswscale/swscale.c
libswscale/swscale.c: In function ‘yuv2yuvX16inC_template’:
libswscale/swscale.c:494: warning: implicit declaration of function ‘av_clip_uint16’
In file included from libswscale/swscale.c:1370:
libswscale/swscale_template.c: In function ‘swScale_C’:
libswscale/swscale_template.c:2556: warning: unused variable ‘alpMmxFilter’
libswscale/swscale_template.c: In function ‘sws_init_swScale_C’:
libswscale/swscale_template.c:2927: warning: assignment from incompatible pointer type
libswscale/swscale_template.c:2942: warning: assignment from incompatible pointer type
libswscale/swscale_template.c:2987: warning: assignment from incompatible pointer type
gcc -DHAVE_AV_CONFIG_H -I. -I"/usr/src/ffmpeg-mt" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize        -c -o libswscale/yuv2rgb.o libswscale/yuv2rgb.c
libswscale/yuv2rgb.c: In function ‘ff_yuv2rgb_c_init_tables’:
libswscale/yuv2rgb.c:700: warning: passing argument 4 of ‘fill_table’ from incompatible pointer type
libswscale/yuv2rgb.c:701: warning: passing argument 4 of ‘fill_table’ from incompatible pointer type
libswscale/yuv2rgb.c:702: warning: passing argument 4 of ‘fill_table’ from incompatible pointer type
libswscale/yuv2rgb.c:737: warning: passing argument 4 of ‘fill_table’ from incompatible pointer type
libswscale/yuv2rgb.c:738: warning: passing argument 4 of ‘fill_table’ from incompatible pointer type
libswscale/yuv2rgb.c:739: warning: passing argument 4 of ‘fill_table’ from incompatible pointer type
libswscale/yuv2rgb.c: At top level:
libswscale/yuv2rgb.c:326: warning: ‘yuv2rgb_c_8’ defined but not used
libswscale/yuv2rgb.c:374: warning: ‘yuv2rgb_c_4’ defined but not used
libswscale/yuv2rgb.c:431: warning: ‘yuv2rgb_c_4b’ defined but not used
rm -f libswscale/libswscale.a
ar rc libswscale/libswscale.a libswscale/options.o libswscale/rgb2rgb.o libswscale/swscale.o libswscale/yuv2rgb.o
ranlib libswscale/libswscale.a
gcc -DHAVE_AV_CONFIG_H -I. -I"/usr/src/ffmpeg-mt" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize        -c -o ffmpeg.o ffmpeg.c
gcc -DHAVE_AV_CONFIG_H -I. -I"/usr/src/ffmpeg-mt" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize        -c -o cmdutils.o cmdutils.c
gcc -L"/usr/src/ffmpeg-mt"/libavcodec -L"/usr/src/ffmpeg-mt"/libavdevice -L"/usr/src/ffmpeg-mt"/libavfilter -L"/usr/src/ffmpeg-mt"/libavformat -L"/usr/src/ffmpeg-mt"/libavutil -L"/usr/src/ffmpeg-mt"/libpostproc -L"/usr/src/ffmpeg-mt"/libswscale -Wl,--warn-common -Wl,--as-needed -Wl,-rpath-link,"/usr/src/ffmpeg-mt"/libpostproc -Wl,-rpath-link,"/usr/src/ffmpeg-mt"/libswscale -Wl,-rpath-link,"/usr/src/ffmpeg-mt"/libavfilter -Wl,-rpath-link,"/usr/src/ffmpeg-mt"/libavdevice -Wl,-rpath-link,"/usr/src/ffmpeg-mt"/libavformat -Wl,-rpath-link,"/usr/src/ffmpeg-mt"/libavcodec -Wl,-rpath-link,"/usr/src/ffmpeg-mt"/libavutil -Wl,-Bsymbolic -o ffmpeg_g ffmpeg.o cmdutils.o -lavdevice -lavformat -lavcodec -lavutil -lswscale -lz -lm  -lasound -ljack -ldl -lasound -ljack -lasound
/usr/src/ffmpeg-mt/libswscale/libswscale.a(swscale.o): In function `yuv2yuvX16inC_template':
/usr/src/ffmpeg-mt/libswscale/swscale.c:496: undefined reference to `av_clip_uint16'
/usr/src/ffmpeg-mt/libswscale/swscale.c:515: undefined reference to `av_clip_uint16'
/usr/src/ffmpeg-mt/libswscale/swscale.c:516: undefined reference to `av_clip_uint16'
/usr/src/ffmpeg-mt/libswscale/swscale.c:532: undefined reference to `av_clip_uint16'
/usr/src/ffmpeg-mt/libswscale/swscale.c:496: undefined reference to `av_clip_uint16'
/usr/src/ffmpeg-mt/libswscale/libswscale.a(swscale.o):/usr/src/ffmpeg-mt/libswscale/swscale.c:515: more undefined references to `av_clip_uint16' follow
collect2: ld returned 1 exit status
make: *** [ffmpeg_g] Error 1


The only thing that didn't went as expected is during the "get neeeded lib dev here change libglide2 by libglide3 if you are on Ubuntu 64bits" step.
I can't install the following libraries :
libartsc0
libartsc0-dev
libxcb-xlib0-dev

I'm new to linux so an help will be greatly appreciated...

Thanks in advance.

Jean
Ubuntu 9.04 x64 server - PS3 Media Server - Netatalk - Bonjour - Time Machine support
Core2Duo E8500 @ 2.93Ghz - 4Go RAM - 3To software raid 5 array
PS3 & Mac Mini with Plex as media players
jgl75
 
Posts: 10
Joined: Thu Aug 20, 2009 2:39 pm

Re: [HowTo] Ubuntu 8.10 SVN PMS & Multithread

Postby jgl75 » Fri Aug 21, 2009 9:28 pm

I've solved my issues !

I've posted a procedure here to install PS3 Media Server on an headless Ubuntu 9.04 Server 64bits.

There are a few differences but it's almost the same as the procedure in this post.

Enjoy !

Jean
Ubuntu 9.04 x64 server - PS3 Media Server - Netatalk - Bonjour - Time Machine support
Core2Duo E8500 @ 2.93Ghz - 4Go RAM - 3To software raid 5 array
PS3 & Mac Mini with Plex as media players
jgl75
 
Posts: 10
Joined: Thu Aug 20, 2009 2:39 pm

Re: [HowTo] Ubuntu 8.10 SVN PMS & Multithread

Postby Decco » Sat Aug 29, 2009 9:42 am

Is the "Enhanced multicore support for H264 HD content" supposed to be greyed out in any dist or config ? I hear some talk about ffmpeg-mt and mencoder with multicore support..but how the "hell" do i know if i have done it right.. hehe?
Decco
 
Posts: 20
Joined: Sat Jun 27, 2009 9:22 am

Re: [HowTo] Ubuntu 8.10 SVN PMS & Multithread

Postby tsals » Fri Dec 04, 2009 4:14 am

i am getting the error :


BUILD FAILED
/home/tsals/ps3mediaserver-read-only/ps3mediaserver/build.xml:31: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "/usr/lib/jvm/java-6-openjdk/jre"

how do i fix this

thanks
tsals
 
Posts: 1
Joined: Fri Dec 04, 2009 4:11 am

Previous

Return to Linux/Unix Support

Who is online

Users browsing this forum: Google [Bot] and 5 guests