[MPlayer-users] Latest SVN compile problem

Andras Barna andras.barna at gmail.com
Tue Jun 3 09:07:01 CEST 2008


thanks for your efforts,
well, the first problem is not gcc related, but still a problem:
configure fails with "Checking for extern symbol prefix ...
./configure: syntax error at line 2278: `sym=$' unexpected" because
/bin/sh, if i change to bash works ok.

if i ./configure --cc=cc --host-cc=cc -- still uses gcc for checks, if
i remove gcc from the PATH,
./configure: line 1503: gcc: command not found
./configure: line 1530: gcc: command not found

It seems that your kernel does not correctly support mmx.
To use mmx extensions in MPlayer, you have to upgrade/recompile your kernel!
[...]
Checking for mtrr support ... yes
Checking for GCC & CPU optimization abilities ... CPU optimization
disabled. CPU not recognized or your compiler is too old.
error
Checking for extern symbol prefix ...
Error: Symbol mangling check failed.

so i modified (see 1.diff, i know it's not beauty but temporarily is
ok) configure, after these modifications, it works ok, only these
warnings:

"cpuinfo.c", line 130: warning: integer overflow detected: op "<<"
"cpuinfo.c", line 132: warning: integer overflow detected: op "<<"
"cpuinfo.c", line 133: warning: integer overflow detected: op "<<"
"cpuinfo.c", line 137: warning: integer overflow detected: op "<<"
"cpuinfo.c", line 139: warning: integer overflow detected: op "<<"

attached configure.log too.
about:
cc: Warning: illegal option -march=native
cc: Warning: illegal option -mcpu=native

imho should be: -xtarget=native and -xarch=native

i must edit config.mak too, it had CC=gcc and CXX=g++

and finally gmake log.. many errors.. but it continues the building

thanks

On Tue, Jun 3, 2008 at 4:35 AM, Dominik 'Rathann' Mierzejewski
<dominik at rangers.eu.org> wrote:
> On Tuesday, 03 June 2008 at 03:26, Andras Barna wrote:
>> sorry, but you think that solves my problem? (to clarify my problem is
>> that i cant play things with the latest svn mplayer)
>
> I'm sorry. I know that my suggestion doesn't fix your problem, but
> you can't expect us to fix GCC bugs or even work around them (even
> if we sometimes do work around them). That is not our job.
>
>> 1. gcc devels probably will suggest to use the latest stable version,
>> i dont think that the latest ver works here
>> 2. let's say i report to solaris, prolly they will fix it.. which will
>> be available in the next release...
>> so .. neither solve my problem :)
>> if you know a workaround please tell :) thx
>>
>> PS: there's another "dream" solution: remove gccism , to be able to
>> compile with sun studio :)
>
> Portability is one of the goals of MPlayer. I think there was some work
> done to make it at least partially compilable with other compilers.
> Could you post the results of your trials with Sun Studio? Maybe we can
> work something out.
>
> Regards,
> R.
>
> --
> MPlayer http://mplayerhq.hu | Livna http://rpm.livna.org
> There should be a science of discontent. People need hard times and
> oppression to develop psychic muscles.
>        -- from "Collected Sayings of Muad'Dib" by the Princess Irulan
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>



-- 
Andy
http://blog.sartek.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logs.tar.gz
Type: application/x-gzip
Size: 36543 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20080603/d62b0f15/attachment.bin>


More information about the MPlayer-users mailing list