annotate DOCS/SOLARIS @ 1587:eb1e6ea2163c

msg translation by Bohdan Horst <nexus@hoth.amu.edu.pl>
author arpi
date Sun, 19 Aug 2001 22:19:04 +0000
parents f8bcdb67ede0
children 3005f75b82fd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
4 1. AVI file playback works best on Solaris x86, because you have the
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
5 option to use the win32 codecs on the x86 platform. On Solaris SPARC,
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
6 you'll find quite a few AVI files with non working video and/or
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
7 audio playback, because the video/audio codecs using the win32 DLLs
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
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
0f7be115a4db patch by J¸«ärgen Keil
arpi_esp
parents: 1043
diff changeset
11 2. To build the package you will need GNU make (gmake, /opt/sfw/gmake),
1322
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
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
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
18 make: Fatal error in reader: Makefile, line 25: Unexpected end of line seen
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
19
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
20
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
21 3. On Solaris SPARC, you need the GNU C/C++ Compiler; it does not matter
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
22 if GNU C/C++ compiler is configured with or without the GNU assembler.
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
23
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
24 On Solaris x86, you need the GNU assembler and the GNU C/C++
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
25 compiler, configured to use the GNU assembler! The mplayer code on
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
26 the x86 platform makes heavy use of MMX, SSE and 3DNOW!
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
27 instructions that cannot be compiled using Sun's assembler
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
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
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
31 The configure script tries to find out, which assembler program is
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
32 used by your "gcc" command (in case the autodetection fails, use
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
33 the "--as=/whereever/you/have/installed/gnu-as" option to tell the
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
34 configure script where it can find GNU "as" on your system).
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
35
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
36 Error message from configure on a Solaris x86 system using GCC
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
37 without GNU assembler:
1061
0f7be115a4db patch by J¸«ärgen Keil
arpi_esp
parents: 1043
diff changeset
38
1322
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
39 % configure
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
40 ...
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
41 Checking assembler (/usr/ccs/bin/as) ... , failed
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
42 Please upgrade(downgrade) binutils to 2.10.1...
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
43
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
44 (Solution: Install and use a gcc configured with "--with-as=gas")
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
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
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
50 % gmake
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
51 ...
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
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
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
54 Assembler: mplayer.c
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
55 "<stdin>", line 3567 : Illegal mnemonic
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
56 "<stdin>", line 3567 : Syntax error
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
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
e565d452de79 URL for libcss patch added
arpi_esp
parents: 1042
diff changeset
61 http://www.tools.de/solaris/mplayer/
e565d452de79 URL for libcss patch added
arpi_esp
parents: 1042
diff changeset
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
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
73 - The similar bug is present in the hsfs(7FS) filesystem code (aka
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
74 ISO9660), hsfs currently does not support partitions/disks >4GB,
f8bcdb67ede0 Document the latest changes to the mplayer code.
jkeil
parents: 1230
diff changeset
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