comparison DOCS/SOLARIS @ 1322:f8bcdb67ede0

Document the latest changes to the mplayer code.
author jkeil
date Sat, 14 Jul 2001 17:03:55 +0000
parents 41f9ef2451ae
children 3005f75b82fd
comparison
equal deleted inserted replaced
1321:2712e787f872 1322:f8bcdb67ede0
1 Notes for Solaris users 1 Notes for Solaris users
2 ======================= 2 =======================
3 3
4 1. It *only* works on Solaris x86. It can't work on SPARC systems due to 4 1. AVI file playback works best on Solaris x86, because you have the
5 the use of win32 codecs. 5 option to use the win32 codecs on the x86 platform. On Solaris SPARC,
6 you'll find quite a few AVI files with non working video and/or
7 audio playback, because the video/audio codecs using the win32 DLLs
8 are not available.
6 9
7 10
8 2. To build the package you will need GNU make (gmake, /opt/sfw/gmake), 11 2. To build the package you will need GNU make (gmake, /opt/sfw/gmake),
9 native Solaris make will not work. 12 native Solaris make will not work.
10 13
11 Typical error you get when building with solaris' make instead of GNU 14 Typical error you get when building with solaris' make instead of GNU
12 make: 15 make:
13 16
14 % /usr/ccs/bin/make 17 % /usr/ccs/bin/make
15 make: Fatal error in reader: Makefile, line 122: Unexpected end of line seen 18 make: Fatal error in reader: Makefile, line 25: Unexpected end of line seen
16 19
17 20
18 3. You also need the GNU assembler; and the GNU C compiler, configured to use 21 3. On Solaris SPARC, you need the GNU C/C++ Compiler; it does not matter
19 the GNU assembler. The mplayer code makes heavy use of MMX, SSE and 3DNOW! 22 if GNU C/C++ compiler is configured with or without the GNU assembler.
20 instructions that cannot be compiled using Sun's assembler /usr/ccs/bin/as.
21 23
22 Use the "--as=/whereever/you/have/installed/gnu-as" option to tell 24 On Solaris x86, you need the GNU assembler and the GNU C/C++
23 configure where it can find GNU as on your system. 25 compiler, configured to use the GNU assembler! The mplayer code on
26 the x86 platform makes heavy use of MMX, SSE and 3DNOW!
27 instructions that cannot be compiled using Sun's assembler
28 /usr/ccs/bin/as.
29
30
31 The configure script tries to find out, which assembler program is
32 used by your "gcc" command (in case the autodetection fails, use
33 the "--as=/whereever/you/have/installed/gnu-as" option to tell the
34 configure script where it can find GNU "as" on your system).
35
36 Error message from configure on a Solaris x86 system using GCC
37 without GNU assembler:
38
39 % configure
40 ...
41 Checking assembler (/usr/ccs/bin/as) ... , failed
42 Please upgrade(downgrade) binutils to 2.10.1...
43
44 (Solution: Install and use a gcc configured with "--with-as=gas")
45
24 46
25 Typical error you get when building with a GNU C compiler that does 47 Typical error you get when building with a GNU C compiler that does
26 not use GNU as: 48 not use GNU as:
27 49
28 % gmake 50 % gmake
29 ... 51 ...
30 gcc -c -Iloader -Ilibvo -O4 -march=i686 -mcpu=i686 -pipe -ffast-math 52 gcc -c -Iloader -Ilibvo -O4 -march=i686 -mcpu=i686 -pipe -ffast-math
31 -fomit-frame-pointer -I/usr/local/include -o mplayer.o mplayer.c 53 -fomit-frame-pointer -I/usr/local/include -o mplayer.o mplayer.c
32 Assembler: mplayer.c 54 Assembler: mplayer.c
33 "<stdin>", line 3567 : Illegal mnemonic 55 "<stdin>", line 3567 : Illegal mnemonic
34 "<stdin>", line 3567 : Syntax error 56 "<stdin>", line 3567 : Syntax error
35 ... more "Illegal mnemonic" and "Syntax error" errors ... 57 ... more "Illegal mnemonic" and "Syntax error" errors ...
36 58
37 59
38 4. For DVD support you must have the patched libcss installed. Patch: 60 4. For DVD support you must have the patched libcss installed. Patch:
39 http://www.tools.de/solaris/mplayer/ 61 http://www.tools.de/solaris/mplayer/
40 62
46 disk block >4GB on a device using a logical blocksize != DEV_BSIZE 68 disk block >4GB on a device using a logical blocksize != DEV_BSIZE
47 (i.e. CDROM and DVD media). Due to a 32bit int overflow, a disk 69 (i.e. CDROM and DVD media). Due to a 32bit int overflow, a disk
48 address modulo 4GB is accessed. 70 address modulo 4GB is accessed.
49 (http://groups.yahoo.com/group/solarisonintel/message/22516) 71 (http://groups.yahoo.com/group/solarisonintel/message/22516)
50 72
51 - The similar bug is present in the hsfs(7FS) filesystem code (aka ISO9660), 73 - The similar bug is present in the hsfs(7FS) filesystem code (aka
52 hsfs currently does not support partitions/disks >4GB, all data is 74 ISO9660), hsfs currently does not support partitions/disks >4GB,
53 accessed modulo 4GB 75 all data is accessed modulo 4GB
54 (http://groups.yahoo.com/group/solarisonintel/message/22592) 76 (http://groups.yahoo.com/group/solarisonintel/message/22592)
55 77
56 -- 78 --
57 Jürgen Keil 79 Jürgen Keil