[MPlayer-users] Issues compiling on SPARC

Drake Mobius drake.mobius at gmail.com
Fri Dec 4 15:30:55 CET 2009


That helped, got a little farther!
Now I get:

gcc -DHAVE_AV_CONFIG_H -I.. -I..  -Wundef -Wdisabled-optimization
-Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch
-Wpointer-arith -Wredundant-decls -O2  -mcpu=ultrasparc -pipe
-ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I.
-I/usr/openwin/include   -I/opt/csw/include/freetype2
-I/opt/csw/include   -c -o eval.o eval.c
eval.c: In function `eval_expr':
eval.c:147: error: incompatible types in initialization
eval.c:171: error: incompatible types in return
eval.c: In function `ff_eval2':
eval.c:429: error: incompatible types in return
gmake[1]: *** [eval.o] Error 1
gmake[1]: Leaving directory `/export/home/cc/mpl/libavcodec'
gmake: *** [libavcodec/libavcodec.a] Error 2


On Thu, Dec 3, 2009 at 9:48 PM, Jan Knutar <jknutar at nic.fi> wrote:
> On Thursday 03 December 2009, Drake Mobius wrote:
>
>> -Wpointer-arith -Wredundant-decls -O4  -mcpu=ultrasparc -pipe
>
>> configure does correctly detect my solaris setup, I am not sure what
>> the issue is here. I am using the GNU tools (gmake etc) from opencsw,
>> with /opt/csw/bin:/usr/xpg6/bin:/usr/bin as my PATH, and am running
>> gmake
>>
>> Any help for a poor soul in SPARC-land?
>
> I'd try compile that file with -O2 instead of -O4. Maybe even change the
> instances of -O4 in config.mak to -O2.
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>


More information about the MPlayer-users mailing list