[Ffmpeg-devel] Compiling on Solaris 10

Christian Bienia cbienia
Sat Sep 16 01:22:09 CEST 2006


Hi,

I get syntax errors when I try to compile ffmpeg with gcc 3.4.3 on
Solaris 10. Here's the output:

gcc -I.. -I/home/cbienia/download/ffmpeg
-I/home/cbienia/download/ffmpeg/libavutil
-I/home/cbienia/download/ffmpeg/libavcodec -pthread -g
-Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization
-Wpointer-arith -Wredundant-decls -Winline -O3 -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE  -c -o rtp.o
rtp.c
gcc: unrecognized option `-pthread'
In file included from rtp.c:19:
avformat.h:247: warning: `AVFrac' is deprecated (declared at
avformat.h:100)
avformat.h:403: warning: `AVImageInfo' is deprecated (declared at
avformat.h:388)
avformat.h:406: warning: `AVImageInfo' is deprecated (declared at
avformat.h:388)
avformat.h:411: warning: `AVImageFormat' is deprecated (declared at
avformat.h:409)
avformat.h:416: warning: `AVImageFormat' is deprecated (declared at
avformat.h:409)
avformat.h:417: warning: `AVImageInfo' is deprecated (declared at
avformat.h:388)
avformat.h:418: warning: `AVImageFormat' is deprecated (declared at
avformat.h:409)
avformat.h:418: warning: `AVImageInfo' is deprecated (declared at
avformat.h:388)
rtp.c: In function `rtp_parse_mp4_au':
rtp.c:321: error: invalid operands to binary &
gmake[1]: *** [rtp.o] Error 1
gmake[1]: Leaving directory `/home/cbienia/download/ffmpeg/libavformat'
gmake: *** [lib] Error 2


It seems to be related to the macro BE_16, but I couldn't figure out
what's wrong. I don't get that error with Fedora Core 4. Has anybody
tried to compile ffmpeg on Solaris?

- Chris





More information about the ffmpeg-devel mailing list