summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorjkeil <jkeil@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-06-26 09:04:31 +0000
committerjkeil <jkeil@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-06-26 09:04:31 +0000
commit5b0d30d848bcdbfa48dc521d334b2ac3f3303246 (patch)
tree873f73fb66087411b85fff8aaff1a706e03a17b1 /DOCS
parentf5d19175bef00b3eeafee5feda97b45040721c5d (diff)
downloadmpv-5b0d30d848bcdbfa48dc521d334b2ac3f3303246.tar.bz2
mpv-5b0d30d848bcdbfa48dc521d334b2ac3f3303246.tar.xz
Document a few possible compile errors on solaris when using non GNU tools.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1231 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/SOLARIS39
1 files changed, 32 insertions, 7 deletions
diff --git a/DOCS/SOLARIS b/DOCS/SOLARIS
index 3f9e4d8a91..af35d506cf 100644
--- a/DOCS/SOLARIS
+++ b/DOCS/SOLARIS
@@ -4,16 +4,42 @@ Notes for Solaris users
1. It *only* works on Solaris x86. It can't work on SPARC systems due to
the use of win32 codecs.
+
2. To build the package you will need GNU make (gmake, /opt/sfw/gmake),
- native Solaris make will not work. You also need the GNU C compiler,
- configured to use the GNU Assembler. The mplayer code makes heavy use
- of MMX, SSE and 3DNOW! instructions that cannot be compiled using Sun's
- assembler /usr/ccs/bin/as.
+ native Solaris make will not work.
+
+ Typical error you get when building with solaris' make instead of GNU
+ make:
+
+ % /usr/ccs/bin/make
+ make: Fatal error in reader: Makefile, line 122: Unexpected end of line seen
+
+
+3. You also need the GNU assembler; and the GNU C compiler, configured to use
+ the GNU assembler. The mplayer code makes heavy use of MMX, SSE and 3DNOW!
+ instructions that cannot be compiled using Sun's assembler /usr/ccs/bin/as.
+
+ Use the "--as=/whereever/you/have/installed/gnu-as" option to tell
+ configure where it can find GNU as on your system.
-3. For DVD support you must have the patched libcss installed. Patch:
+ Typical error you get when building with a GNU C compiler that does
+ not use GNU as:
+
+ % gmake
+ ...
+ gcc -c -Iloader -Ilibvo -O4 -march=i686 -mcpu=i686 -pipe -ffast-math
+ -fomit-frame-pointer -I/usr/local/include -o mplayer.o mplayer.c
+ Assembler: mplayer.c
+ "<stdin>", line 3567 : Illegal mnemonic
+ "<stdin>", line 3567 : Syntax error
+ ... more "Illegal mnemonic" and "Syntax error" errors ...
+
+
+4. For DVD support you must have the patched libcss installed. Patch:
http://www.tools.de/solaris/mplayer/
-4. Due to two bugs in solaris 8 x86, you cannot reliably play DVDs using a
+
+5. Due to two bugs in solaris 8 x86, you cannot reliably play DVDs using a
capacity >4GB:
- The sd(7D) driver on solaris 8 x86 driver has bug when accessing a
@@ -29,4 +55,3 @@ Notes for Solaris users
--
Jürgen Keil
-