Thanks for the fast response.
On Oct 21, 2008, at 17:52, James Bunton wrote:
> Copy mplayer.info & mplayer.patch to /sw/fink/dists/local/main/
> finkinfo
> Edit mplayer.patch and remove the last two chunks (aclib_template.c
> and
> osd_template.c). The file should now have an md5sum of
> ad009d39a4c5a58300060abfe0f69d8f, so update mplayer.info with that.
> Then try rebuilding it and let me know how you go.
Unfortunately that just changed the first few lines of the error:
{standard input}:62:Junk character 47 (/).
{standard input}:62:Rest of line ignored. 1st junk character valued
110 (n).
{standard input}:344:Unknown pseudo-op: .balign
{standard input}:344:Rest of line ignored. 1st junk character
valued 49 (1).
{standard input}:354:Unknown pseudo-op: .balign
but your excellent instructions gave me a base to experiment from.
Poking around various mailing list archives, I found that this
appears to be due to the version of gas on 10.4 and also some
core2duo instruction set changes. Cribbing from ffmpeg, libxine, and
allegro changes, I got a working mplayer by:
changing those two last patches to use:
"# nop"
rather than:
"nop"
e.g.
-#define PREFETCH "/nop"
+#define PREFETCH "# nop"
and also adding to the PatchFile section, the line:
find . -name \*.c -o -name \*.h | xargs grep balign | cut -d: -f1
| sort -u | xargs perl -pi -e 's,.balign 16,.align 4,g; s,.balign
8,.align 3,g;'
At that point it compiles, and I can play back several movies with
mplayer and stretch, pad, and rotate a movie with mencoder. I'm not
really sure the best way to test my changes though - all I really
know is it compiles.
-Bill
-----
Bill McGonigle, Owner Work: 603.448.4440
BFC Computing, LLC Home: 603.448.1668
[EMAIL PROTECTED] Cell: 603.252.2606
http://www.bfccomputing.com/ Page: 603.442.1833
Blog: http://blog.bfccomputing.com/
VCard: http://bfccomputing.com/vcard/bill.vcf
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users