[Ffmpeg-devel] compile errors on Solaris 10

Måns Rullgård mru
Tue Aug 29 19:55:43 CEST 2006


Michel Bardiaux said:
> may nothing wrote:
>> Hi everyone,
>>
>> I try to compile ffmpeg on a Sparc Solaris 10 box. I use gcc-4.1.1 and gnu
>> ld. This is what I got:
>>
>> gmake[1]: Entering directory `/space/ffmpeg/libavformat'
>> gcc -I.. -I/space/ffmpeg -I/space/ffmpeg/libavutil
>> -I/space/ffmpeg/libavcodec -g -Wdeclaration-after-statement -Wall
>> -Wno-switch -O3 -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64
>> -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE  -c -o utils.o utils.c
> [snip]
>> rtp.c: In function 'rtp_parse_mp4_au':
>> rtp.c:321: error: invalid operands to binary &
>
>> rtp.c: In function 'rtp_parse_packet':
>> rtp.c:498: warning: pointer targets in assignment differ in signedness
>> gmake[1]: *** [rtp.o] Error 1
>> gmake[1]: Leaving directory `/space/ffmpeg/libavformat'
>> gmake: *** [lib] Error 2
>> bash-3.00#
>>
>>
>> Can somebody help me ?
>
> Are you sure you're up-to-date wrt svn? What exactly is there on the
> offending line in your files?

There is a BE16 macro defined somewhere in ffmpeg that conflicts with another
macro of the same name in a Solaris system header.

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




More information about the ffmpeg-devel mailing list