[Ffmpeg-devel] Re: [Ffmpeg-cvslog] Solaris 10 compile problems

Måns Rullgård mru
Sat Feb 18 00:39:22 CET 2006


This doesn't belong on ffmpeg-cvs.

CJ Keist <cj.keist at colostate.edu> writes:

> Hello,
>     First time on this list.  I'm trying to compile ffmpeg
>     (libavcodec) on Solaris 10, for VLC. I am using the cvs latest
>     checkout per the web page instructions.
>
> this is my configure command:
>
> ./configure  --enable-sunmlib --enable-pthreads --disable-mmx
> --disable-iwmmxt --disable-altiv
> ec --disable-audio-oss --disable-audio-beos --disable-v4l
> --disable-v4l2 --disable-bktr --disable
> -dv1394 --disable-lzo --disable-simple_idct --disable-vhook
> --disable-ffserver
>
> And this is the error I'm getting:
>
> # make
> gmake -C libavutil all
> gmake[1]: Entering directory `/root/install/VLC-libs/ffmpeg/libavutil'
> gmake[1]: Nothing to be done for `all'.
> gmake[1]: Leaving directory `/root/install/VLC-libs/ffmpeg/libavutil'
> gmake -C libavcodec all
> gmake[1]: Entering directory `/root/install/VLC-libs/ffmpeg/libavcodec'
> gcc -O3 -g -Wall -Wno-switch  -Wdeclaration-after-statement
> -DHAVE_AV_CONFIG_H -I.. -I/root/install/VLC-libs/ffmpeg/libavutil
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE
> -mcpu=ultrasparc -mtune=ultrasparc  -c -o mpegvideo.o mpegvideo.c
> In file included from /root/install/VLC-libs/ffmpeg/libavutil/avutil.h:24,
>                   from avcodec.h:14,
>                   from mpegvideo.c:28:
> /root/install/VLC-libs/ffmpeg/libavutil/common.h:174: warning: static
> declaration of 'floorf' follows non-static declaration
> mpegvideo.c: In function `estimate_best_b_count':
> mpegvideo.c:2233: warning: passing arg 2 of `img_resample' from
> incompatible pointer type
> mpegvideo.c:2233: warning: passing arg 3 of `img_resample' from
> incompatible pointer type
> /var/tmp//ccAmYSag.s: Assembler messages:
> /var/tmp//ccAmYSag.s:35358: Error: Illegal operands: There are only 32
> single precision f registers; [0-31]
> gmake[1]: *** [mpegvideo.o] Error 1
> gmake[1]: Leaving directory `/root/install/VLC-libs/ffmpeg/libavcodec'
> make: *** [lib] Error 2
>
> What is the problem or how can I change the number of single
> preecision f registers?

It looks like a compiler or assembler bug.  Which gcc version are you
using?  I can't reproduce it using gcc 3.4.4 or 4.0.2.

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-devel mailing list