> I am suspecting a gas bug on Solais. Anyway I put > an ungainly but working > workaround in mlp.h that defines a new constant > that is the actual computed > value of the constant expression with a comment. So > latest mplayer builds and > works fine on my box. The new spec/patches are > checked in.
It indeed seems to be a gas bug on OpenSolaris 2009.06. I tried compiling the offending file on an Ubuntu box with the exact same gcc version and it compiled flawlessly (NFS mount, so same config.h et al in both cases). The Ubuntu box had: GNU assembler (GNU Binutils for Ubuntu) 2.18.93.20081009 OS 2009.6 has: GNU assembler 2.15 For completeness I'll attach the patch I made to make mplayer compile. It skips the -rdynamic stuff on SunOS and works around the parantheses-thingy by replacing the expression with its calculated value. Hopefull it'll help someone. -- This message posted from opensolaris.org -------------- next part -------------- A non-text attachment was scrubbed... Name: mplayer-solaris.diff Type: application/octet-stream Size: 1303 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20090620/825bbe92/attachment.obj>