annotate DOCS/SOLARIS @ 1230:41f9ef2451ae

Document a few possible compile errors on solaris when using non GNU tools.
author jkeil
date Tue, 26 Jun 2001 09:04:31 +0000
parents c51dfea4fa20
children f8bcdb67ede0
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
1061
0f7be115a4db patch by J¸«ärgen Keil
arpi_esp
parents: 1043
diff changeset
4 1. It *only* works on Solaris x86. It can't work on SPARC systems due to
0f7be115a4db patch by J¸«ärgen Keil
arpi_esp
parents: 1043
diff changeset
5 the use of win32 codecs.
1042
b333271f4e7c Solaris 8 DVD support and other fixes by Juergen Keil <jk@tools.de>
arpi_esp
parents: 1038
diff changeset
6
1230
41f9ef2451ae Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents: 1221
diff changeset
7
1061
0f7be115a4db patch by J¸«ärgen Keil
arpi_esp
parents: 1043
diff changeset
8 2. To build the package you will need GNU make (gmake, /opt/sfw/gmake),
1230
41f9ef2451ae Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents: 1221
diff changeset
9 native Solaris make will not work.
41f9ef2451ae Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents: 1221
diff changeset
10
41f9ef2451ae Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents: 1221
diff changeset
11 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
12 make:
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 % /usr/ccs/bin/make
41f9ef2451ae Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents: 1221
diff changeset
15 make: Fatal error in reader: Makefile, line 122: Unexpected end of line seen
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
41f9ef2451ae Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents: 1221
diff changeset
18 3. You also need the GNU assembler; and the GNU C compiler, configured to use
41f9ef2451ae Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents: 1221
diff changeset
19 the GNU assembler. The mplayer code makes heavy use of MMX, SSE and 3DNOW!
41f9ef2451ae Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents: 1221
diff changeset
20 instructions that cannot be compiled using Sun's assembler /usr/ccs/bin/as.
1061
0f7be115a4db patch by J¸«ärgen Keil
arpi_esp
parents: 1043
diff changeset
21
1230
41f9ef2451ae Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents: 1221
diff changeset
22 Use the "--as=/whereever/you/have/installed/gnu-as" option to tell
41f9ef2451ae Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents: 1221
diff changeset
23 configure where it can find GNU as on your system.
41f9ef2451ae Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents: 1221
diff changeset
24
41f9ef2451ae Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents: 1221
diff changeset
25 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
26 not use GNU as:
41f9ef2451ae Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents: 1221
diff changeset
27
41f9ef2451ae Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents: 1221
diff changeset
28 % gmake
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 gcc -c -Iloader -Ilibvo -O4 -march=i686 -mcpu=i686 -pipe -ffast-math
41f9ef2451ae Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents: 1221
diff changeset
31 -fomit-frame-pointer -I/usr/local/include -o mplayer.o mplayer.c
41f9ef2451ae Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents: 1221
diff changeset
32 Assembler: mplayer.c
41f9ef2451ae Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents: 1221
diff changeset
33 "<stdin>", line 3567 : Illegal mnemonic
41f9ef2451ae Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents: 1221
diff changeset
34 "<stdin>", line 3567 : Syntax error
41f9ef2451ae Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents: 1221
diff changeset
35 ... more "Illegal mnemonic" and "Syntax error" errors ...
41f9ef2451ae Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents: 1221
diff changeset
36
41f9ef2451ae Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents: 1221
diff changeset
37
41f9ef2451ae Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents: 1221
diff changeset
38 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
39 http://www.tools.de/solaris/mplayer/
e565d452de79 URL for libcss patch added
arpi_esp
parents: 1042
diff changeset
40
1230
41f9ef2451ae Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents: 1221
diff changeset
41
41f9ef2451ae Document a few possible compile errors on solaris when using non GNU tools.
jkeil
parents: 1221
diff changeset
42 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
43 capacity >4GB:
b333271f4e7c Solaris 8 DVD support and other fixes by Juergen Keil <jk@tools.de>
arpi_esp
parents: 1038
diff changeset
44
b333271f4e7c Solaris 8 DVD support and other fixes by Juergen Keil <jk@tools.de>
arpi_esp
parents: 1038
diff changeset
45 - 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
46 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
47 (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
48 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
49 (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
50
b333271f4e7c Solaris 8 DVD support and other fixes by Juergen Keil <jk@tools.de>
arpi_esp
parents: 1038
diff changeset
51 - The similar bug is present in the hsfs(7FS) filesystem code (aka ISO9660),
b333271f4e7c Solaris 8 DVD support and other fixes by Juergen Keil <jk@tools.de>
arpi_esp
parents: 1038
diff changeset
52 hsfs currently does not support partitions/disks >4GB, all data is
b333271f4e7c Solaris 8 DVD support and other fixes by Juergen Keil <jk@tools.de>
arpi_esp
parents: 1038
diff changeset
53 accessed modulo 4GB
b333271f4e7c Solaris 8 DVD support and other fixes by Juergen Keil <jk@tools.de>
arpi_esp
parents: 1038
diff changeset
54 (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
55
b333271f4e7c Solaris 8 DVD support and other fixes by Juergen Keil <jk@tools.de>
arpi_esp
parents: 1038
diff changeset
56 --
b333271f4e7c Solaris 8 DVD support and other fixes by Juergen Keil <jk@tools.de>
arpi_esp
parents: 1038
diff changeset
57 Jürgen Keil