Mercurial > mplayer.hg
annotate DOCS/SOLARIS @ 1508:6e752419c7e8
update pts to obtain OSD time display change while rewinding/forwarding
author | atlka |
---|---|
date | Tue, 14 Aug 2001 07:16:12 +0000 |
parents | f8bcdb67ede0 |
children | 3005f75b82fd |
rev | line source |
---|---|
1038
b36fb1ae4b53
applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents:
diff
changeset
|
1 Notes for Solaris users |
b36fb1ae4b53
applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents:
diff
changeset
|
2 ======================= |
b36fb1ae4b53
applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents:
diff
changeset
|
3 |
1322 | 4 1. AVI file playback works best on Solaris x86, because you have the |
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. | |
1042
b333271f4e7c
Solaris 8 DVD support and other fixes by Juergen Keil <jk@tools.de>
arpi_esp
parents:
1038
diff
changeset
|
9 |
1230
41f9ef2451ae
Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents:
1221
diff
changeset
|
10 |
1061 | 11 2. To build the package you will need GNU make (gmake, /opt/sfw/gmake), |
1322 | 12 native Solaris make will not work. |
1230
41f9ef2451ae
Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents:
1221
diff
changeset
|
13 |
41f9ef2451ae
Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents:
1221
diff
changeset
|
14 Typical error you get when building with solaris' make instead of GNU |
41f9ef2451ae
Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents:
1221
diff
changeset
|
15 make: |
41f9ef2451ae
Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents:
1221
diff
changeset
|
16 |
41f9ef2451ae
Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents:
1221
diff
changeset
|
17 % /usr/ccs/bin/make |
1322 | 18 make: Fatal error in reader: Makefile, line 25: Unexpected end of line seen |
19 | |
20 | |
21 3. On Solaris SPARC, you need the GNU C/C++ Compiler; it does not matter | |
22 if GNU C/C++ compiler is configured with or without the GNU assembler. | |
23 | |
24 On Solaris x86, you need the GNU assembler and the GNU C/C++ | |
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. | |
1230
41f9ef2451ae
Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents:
1221
diff
changeset
|
29 |
41f9ef2451ae
Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents:
1221
diff
changeset
|
30 |
1322 | 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: | |
1061 | 38 |
1322 | 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 | |
1230
41f9ef2451ae
Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents:
1221
diff
changeset
|
46 |
41f9ef2451ae
Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents:
1221
diff
changeset
|
47 Typical error you get when building with a GNU C compiler that does |
41f9ef2451ae
Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents:
1221
diff
changeset
|
48 not use GNU as: |
41f9ef2451ae
Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents:
1221
diff
changeset
|
49 |
1322 | 50 % gmake |
51 ... | |
52 gcc -c -Iloader -Ilibvo -O4 -march=i686 -mcpu=i686 -pipe -ffast-math | |
1230
41f9ef2451ae
Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents:
1221
diff
changeset
|
53 -fomit-frame-pointer -I/usr/local/include -o mplayer.o mplayer.c |
1322 | 54 Assembler: mplayer.c |
55 "<stdin>", line 3567 : Illegal mnemonic | |
56 "<stdin>", line 3567 : Syntax error | |
57 ... more "Illegal mnemonic" and "Syntax error" errors ... | |
1230
41f9ef2451ae
Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents:
1221
diff
changeset
|
58 |
41f9ef2451ae
Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents:
1221
diff
changeset
|
59 |
41f9ef2451ae
Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents:
1221
diff
changeset
|
60 4. For DVD support you must have the patched libcss installed. Patch: |
1043 | 61 http://www.tools.de/solaris/mplayer/ |
62 | |
1230
41f9ef2451ae
Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents:
1221
diff
changeset
|
63 |
41f9ef2451ae
Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents:
1221
diff
changeset
|
64 5. Due to two bugs in solaris 8 x86, you cannot reliably play DVDs using a |
1042
b333271f4e7c
Solaris 8 DVD support and other fixes by Juergen Keil <jk@tools.de>
arpi_esp
parents:
1038
diff
changeset
|
65 capacity >4GB: |
b333271f4e7c
Solaris 8 DVD support and other fixes by Juergen Keil <jk@tools.de>
arpi_esp
parents:
1038
diff
changeset
|
66 |
b333271f4e7c
Solaris 8 DVD support and other fixes by Juergen Keil <jk@tools.de>
arpi_esp
parents:
1038
diff
changeset
|
67 - The sd(7D) driver on solaris 8 x86 driver has bug when accessing a |
b333271f4e7c
Solaris 8 DVD support and other fixes by Juergen Keil <jk@tools.de>
arpi_esp
parents:
1038
diff
changeset
|
68 disk block >4GB on a device using a logical blocksize != DEV_BSIZE |
b333271f4e7c
Solaris 8 DVD support and other fixes by Juergen Keil <jk@tools.de>
arpi_esp
parents:
1038
diff
changeset
|
69 (i.e. CDROM and DVD media). Due to a 32bit int overflow, a disk |
b333271f4e7c
Solaris 8 DVD support and other fixes by Juergen Keil <jk@tools.de>
arpi_esp
parents:
1038
diff
changeset
|
70 address modulo 4GB is accessed. |
b333271f4e7c
Solaris 8 DVD support and other fixes by Juergen Keil <jk@tools.de>
arpi_esp
parents:
1038
diff
changeset
|
71 (http://groups.yahoo.com/group/solarisonintel/message/22516) |
b333271f4e7c
Solaris 8 DVD support and other fixes by Juergen Keil <jk@tools.de>
arpi_esp
parents:
1038
diff
changeset
|
72 |
1322 | 73 - The similar bug is present in the hsfs(7FS) filesystem code (aka |
74 ISO9660), hsfs currently does not support partitions/disks >4GB, | |
75 all data is accessed modulo 4GB | |
1042
b333271f4e7c
Solaris 8 DVD support and other fixes by Juergen Keil <jk@tools.de>
arpi_esp
parents:
1038
diff
changeset
|
76 (http://groups.yahoo.com/group/solarisonintel/message/22592) |
b333271f4e7c
Solaris 8 DVD support and other fixes by Juergen Keil <jk@tools.de>
arpi_esp
parents:
1038
diff
changeset
|
77 |
b333271f4e7c
Solaris 8 DVD support and other fixes by Juergen Keil <jk@tools.de>
arpi_esp
parents:
1038
diff
changeset
|
78 -- |
b333271f4e7c
Solaris 8 DVD support and other fixes by Juergen Keil <jk@tools.de>
arpi_esp
parents:
1038
diff
changeset
|
79 Jürgen Keil |