Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57830 - ffmpeg 0.4.7 + SDL --> emerge failed!
Summary: ffmpeg 0.4.7 + SDL --> emerge failed!
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-21 03:19 UTC by K. Posern
Modified: 2004-07-22 23:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description K. Posern 2004-07-21 03:19:02 UTC
When I try to emerge ffmpeg, I get errors about undefined reference to `SDL_OpenAudio' and 'SDL_CloseAudio' (full emerge output see "Actual Results"):

gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I. -I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7 -I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavformat -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -I/usr/include/SDL -D_REENTRANT -c -o ffplay.o ffplay.c 
ffplay.c: In function `video_thread':
ffplay.c:866: warning: dereferencing type-punned pointer will break strict-aliasing rules
gcc -Wl,--warn-common -rdynamic -g  -o ffplay_g ffplay.o cmdutils.o -L./libavformat -lavformat -L./libavcodec -lavcodec -lm -lz -ldl -logg -lvorbis -lvorbisenc -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
ffplay.o(.text+0x14df): In function `stream_component_open':
/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/ffplay.c:1160: undefined reference to `SDL_PauseAudio'
ffplay.o(.text+0x15b3):/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/ffplay.c:1132: undefined reference to `SDL_OpenAudio'
ffplay.o(.text+0x168b): In function `stream_component_close':
/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/ffplay.c:1191: undefined reference to `SDL_CloseAudio'
collect2: ld returned 1 exit status
make: *** [ffplay_g] Error 1

!!! ERROR: media-video/ffmpeg-0.4.7 failed.
!!! Function src_compile, Line 54, Exitcode 2
!!! make failed.




Reproducible: Always
Steps to Reproduce:
1. emerge ffmpeg
2.
3.

Actual Results:  
>>> Unpacking source...
>>> Unpacking ffmpeg-0.4.7.tar.gz to /var/tmp/portage/ffmpeg-0.4.7/work
 * Applying ffmpeg-0.4.7-2.6.patch...  [ ok ]
>>> Source unpacked.
mmx
encode
oggvorbis
faad
dvd
sdl
Install prefix   /usr
Source path      /var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
C compiler       gcc
make             make
CPU              x86 (generic)
Big Endian       no
MMX enabled      yes
Vector Builtins  yes
gprof enabled    no
zlib enabled     yes
mp3lame enabled  yes
vorbis enabled   yes
faad enabled     yes
faadbin enabled  yes
a52 support      yes
a52 dlopened     yes
pp support       yes
shared pp        no
Video hooking    yes
SDL support      yes
risky / patent encumbered codecs yes
optimize for size no
Imlib2 support   no
freetype support yes
Sun medialib support no
AMR-NB float support no
AMR-NB fixed support no
Creating config.mak and config.h
make -C libavcodec all
make[1]: Entering directory
`/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec'
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o common.o
common.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o utils.o utils.c 
utils.c: In function `avcodec_default_release_buffer':
utils.c:220: warning: `buf' might be used uninitialized in this function
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o mem.o mem.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o allcodecs.o
allcodecs.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o mpegvideo.o
mpegvideo.c 
mpegvideo.c: In function `encode_picture':
mpegvideo.c:3500: warning: enumeration value `FMT_H264' not handled in switch
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o jrevdct.o
jrevdct.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o jfdctfst.o
jfdctfst.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o jfdctint.o
jfdctint.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o mpegaudio.o
mpegaudio.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o ac3enc.o
ac3enc.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o mjpeg.o mjpeg.c 
mjpeg.c: In function `mjpeg_decode_sos':
mjpeg.c:1367: warning: unused variable `ilv'
mjpeg.c: In function `encode_picture_lossless':
mjpeg.c:696: warning: `pred' might be used uninitialized in this function
mjpeg.c:731: warning: `pred' might be used uninitialized in this function
mjpeg.c:765: warning: `pred' might be used uninitialized in this function
mjpeg.c: In function `ljpeg_decode_rgb_scan':
mjpeg.c:1190: warning: `pred' might be used uninitialized in this function
mjpeg.c: In function `ljpeg_decode_yuv_scan':
mjpeg.c:1252: warning: `pred' might be used uninitialized in this function
mjpeg.c:1292: warning: `pred' might be used uninitialized in this function
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o resample.o
resample.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o dsputil.o
dsputil.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o motion_est.o
motion_est.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o imgconvert.o
imgconvert.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o
imgresample.o imgresample.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o mpeg12.o
mpeg12.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o
mpegaudiodec.o mpegaudiodec.c 
mpegaudiodec.c: In function `decode_init':
mpegaudiodec.c:390: warning: dereferencing type-punned pointer will break
strict-aliasing rules
mpegaudiodec.c:393: warning: dereferencing type-punned pointer will break
strict-aliasing rules
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o pcm.o pcm.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o
simple_idct.o simple_idct.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o
ratecontrol.o ratecontrol.c 
ratecontrol.c: In function `ff_rate_estimate_qscale':
ratecontrol.c:566: warning: `short_term_q' might be used uninitialized in this
function
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o adpcm.o adpcm.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o eval.o eval.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o dv.o dv.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o
error_resilience.o error_resilience.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o fft.o fft.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o mdct.o mdct.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o mace.o mace.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o huffyuv.o
huffyuv.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o cyuv.o cyuv.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o opts.o opts.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o raw.o raw.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o h264.o h264.c 
h264.c: In function `decode_slice_header':
h264.c:2928: warning: unused variable `idr_pic_id'
h264.c:2991: warning: unused variable `sp_for_switch_flag'
h264.c:2994: warning: unused variable `slice_qs_delta'
h264.c: In function `decode_mb':
h264.c:3196: warning: `cbp' might be used uninitialized in this function
h264.c: In function `fill_caches':
h264.c:374: warning: `topleft_xy' might be used uninitialized in this function
h264.c:374: warning: `top_xy' might be used uninitialized in this function
h264.c:374: warning: `topright_xy' might be used uninitialized in this function
h264.c: At top level:
h264.c:1009: warning: `encode_nal' defined but not used
h264.c:1068: warning: `encode_rbsp_trailing' defined but not used
h264.c:1137: warning: `h264_luma_dc_dct_c' defined but not used
h264.c:1195: warning: `chroma_dc_dct_c' defined but not used
h264.c:1284: warning: `h264_diff_dct_c' defined but not used
h264.c:2333: warning: `decode_mb_cabac' defined but not used
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o golomb.o
golomb.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o vp3.o vp3.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o asv1.o asv1.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o 4xm.o 4xm.c 
4xm.c: In function `decode_i_frame':
4xm.c:554: warning: unused variable `token_count'
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o cabac.o cabac.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o ffv1.o ffv1.c 
ffv1.c: In function `decode_frame':
ffv1.c:832: warning: `bytes_read' might be used uninitialized in this function
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o ra144.o ra144.c 
ra144.c: In function `ra144_decode_frame':
ra144.c:486: warning: use of cast expressions as lvalues is deprecated
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o ra288.o ra288.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o vcr1.o vcr1.c 
vcr1.c:161: warning: `encode_init' defined but not used
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o cljr.o cljr.c 
cljr.c:129: warning: `encode_init' defined but not used
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o h263.o h263.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o msmpeg4.o
msmpeg4.c 
msmpeg4.c:660: warning: `ff_old_msmpeg4_dc_scale' defined but not used
wmv2.c:103: warning: `wmv2_encode_end' defined but not used
wmv2.c:481: warning: `ff_wmv2_decode_init' defined but not used
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o h263dec.o
h263dec.c 
h263dec.c: In function `ff_h263_decode_frame':
h263dec.c:647: warning: implicit declaration of function
`ff_wmv2_decode_secondary_picture_header'
h263dec.c:393: warning: unused variable `i'
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o svq1.o svq1.c 
svq1.c:560: warning: `svq1_component_checksum' defined but not used
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o rv10.o rv10.c 
rv10.c:261: warning: `get_num' defined but not used
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o wmadec.o
wmadec.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o indeo3.o
indeo3.c 
indeo3.c: In function `iv_Decode_Chunk':
indeo3.c:417: warning: operation on `cp' may be undefined
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o a52dec.o
a52dec.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o faad.o faad.c 
faad.c: In function `faac_init_aac':
faad.c:98: warning: unused variable `s'
faad.c: At top level:
faad.c:97: warning: `faac_init_aac' defined but not used
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o
libpostproc/postprocess.o libpostproc/postprocess.c 
In file included from libpostproc/postprocess.c:503:
libpostproc/postprocess_template.c: In function `postProcess_MMX':
libpostproc/postprocess_template.c:2791: warning: unused variable `mbWidth'
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o
mp3lameaudio.o mp3lameaudio.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o oggvorbis.o
oggvorbis.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o
i386/fdct_mmx.o i386/fdct_mmx.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o
i386/cputest.o i386/cputest.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o
i386/dsputil_mmx.o i386/dsputil_mmx.c 
i386/dsputil_mmx_rnd.h:362: warning: `avg_no_rnd_pixels8_l2_mmx' defined but not
used
i386/dsputil_mmx_rnd.h:409: warning: `avg_no_rnd_pixels16_l2_mmx' defined but
not used
i386/dsputil_mmx_avg.h:57: warning: `put_pixels8_l2_3dnow' defined but not used
i386/dsputil_mmx_avg.h:129: warning: `put_pixels16_l2_3dnow' defined but not used
i386/dsputil_mmx_avg.h:57: warning: `put_pixels8_l2_mmx2' defined but not used
i386/dsputil_mmx_avg.h:129: warning: `put_pixels16_l2_mmx2' defined but not used
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o
i386/mpegvideo_mmx.o i386/mpegvideo_mmx.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o
i386/idct_mmx.o i386/idct_mmx.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o
i386/motion_est_mmx.o i386/motion_est_mmx.c 
i386/motion_est_mmx.c:25: warning: integer constant is too large for "long" type
i386/motion_est_mmx.c:26: warning: integer constant is too large for "long" type
i386/motion_est_mmx.c:29: warning: `bone' defined but not used
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o
i386/simple_idct_mmx.o i386/simple_idct_mmx.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -DHAVE_AV_CONFIG_H
-I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -msse -c -o
i386/fft_sse.o i386/fft_sse.c 
rm -f libavcodec.a
ar rc libavcodec.a common.o utils.o mem.o allcodecs.o mpegvideo.o jrevdct.o
jfdctfst.o jfdctint.o mpegaudio.o ac3enc.o mjpeg.o resample.o dsputil.o
motion_est.o imgconvert.o imgresample.o mpeg12.o mpegaudiodec.o pcm.o
simple_idct.o ratecontrol.o adpcm.o eval.o dv.o error_resilience.o fft.o mdct.o
mace.o huffyuv.o cyuv.o opts.o raw.o h264.o golomb.o vp3.o asv1.o 4xm.o cabac.o
ffv1.o ra144.o ra288.o vcr1.o cljr.o h263.o msmpeg4.o h263dec.o svq1.o rv10.o
wmadec.o indeo3.o a52dec.o faad.o libpostproc/postprocess.o mp3lameaudio.o
oggvorbis.o i386/fdct_mmx.o i386/cputest.o i386/dsputil_mmx.o
i386/mpegvideo_mmx.o i386/idct_mmx.o i386/motion_est_mmx.o
i386/simple_idct_mmx.o i386/fft_sse.o  
ranlib libavcodec.a
gcc -shared -o libavcodec.so common.o utils.o mem.o allcodecs.o mpegvideo.o
jrevdct.o jfdctfst.o jfdctint.o mpegaudio.o ac3enc.o mjpeg.o resample.o
dsputil.o motion_est.o imgconvert.o imgresample.o mpeg12.o mpegaudiodec.o pcm.o
simple_idct.o ratecontrol.o adpcm.o eval.o dv.o error_resilience.o fft.o mdct.o
mace.o huffyuv.o cyuv.o opts.o raw.o h264.o golomb.o vp3.o asv1.o 4xm.o cabac.o
ffv1.o ra144.o ra288.o vcr1.o cljr.o h263.o msmpeg4.o h263dec.o svq1.o rv10.o
wmadec.o indeo3.o a52dec.o faad.o libpostproc/postprocess.o mp3lameaudio.o
oggvorbis.o i386/fdct_mmx.o i386/cputest.o i386/dsputil_mmx.o
i386/mpegvideo_mmx.o i386/idct_mmx.o i386/motion_est_mmx.o
i386/simple_idct_mmx.o i386/fft_sse.o  -lm -lz -ldl -lmp3lame -lvorbis -lvorbisenc 
make[1]: Leaving directory
`/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec'
make -C libavformat all
make[1]: Entering directory
`/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavformat'
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o utils.o utils.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o cutils.o cutils.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o allformats.o
allformats.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o mpeg.o mpeg.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o mpegts.o mpegts.c 
mpegts.c: In function `pat_scan_cb':
mpegts.c:494: warning: dereferencing type-punned pointer will break
strict-aliasing rules
mpegts.c:495: warning: dereferencing type-punned pointer will break
strict-aliasing rules
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o mpegtsenc.o
mpegtsenc.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o ffm.o ffm.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o crc.o crc.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o img.o img.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o raw.o raw.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o rm.o rm.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o avienc.o avienc.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o avidec.o avidec.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o wav.o wav.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o swf.o swf.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o au.o au.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o gif.o gif.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o mov.o mov.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o mpjpeg.o mpjpeg.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o dv.o dv.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o yuv4mpeg.o
yuv4mpeg.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o 4xm.o 4xm.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o flvenc.o flvenc.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o flvdec.o flvdec.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o asf.o asf.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o pnm.o pnm.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o yuv.o yuv.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o png.o png.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o jpeg.o jpeg.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o gifdec.o gifdec.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o avio.o avio.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o aviobuf.o aviobuf.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o file.o file.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o framehook.o
framehook.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o grab.o grab.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o dv1394.o dv1394.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o audio.o audio.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o udp.o udp.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o tcp.o tcp.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o http.o http.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o rtsp.o rtsp.c 
rtsp.c: In function `rtsp_read_header':
rtsp.c:676: warning: dereferencing type-punned pointer will break
strict-aliasing rules
rtsp.c:858: warning: dereferencing type-punned pointer will break
strict-aliasing rules
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o rtp.o rtp.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o rtpproto.o
rtpproto.c 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I..
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o ogg.o ogg.c 
rm -f libavformat.a
ar rc libavformat.a utils.o cutils.o allformats.o mpeg.o mpegts.o mpegtsenc.o
ffm.o crc.o img.o raw.o rm.o avienc.o avidec.o wav.o swf.o au.o gif.o mov.o
mpjpeg.o dv.o yuv4mpeg.o 4xm.o flvenc.o flvdec.o asf.o pnm.o yuv.o png.o jpeg.o
gifdec.o avio.o aviobuf.o file.o  framehook.o  grab.o dv1394.o audio.o  udp.o
tcp.o http.o rtsp.o rtp.o rtpproto.o ogg.o 
ranlib libavformat.a
gcc -shared -o libavformat.so utils.o cutils.o allformats.o mpeg.o mpegts.o
mpegtsenc.o ffm.o crc.o img.o raw.o rm.o avienc.o avidec.o wav.o swf.o au.o
gif.o mov.o mpjpeg.o dv.o yuv4mpeg.o 4xm.o flvenc.o flvdec.o asf.o pnm.o yuv.o
png.o jpeg.o gifdec.o avio.o aviobuf.o file.o  framehook.o  grab.o dv1394.o
audio.o  udp.o tcp.o http.o rtsp.o rtp.o rtpproto.o ogg.o  -lm -lz -ldl 
make[1]: Leaving directory
`/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavformat'
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I.
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavformat
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o ffmpeg.o ffmpeg.c 
ffmpeg.c: In function `do_video_out':
ffmpeg.c:584: warning: dereferencing type-punned pointer will break
strict-aliasing rules
ffmpeg.c: In function `av_encode':
ffmpeg.c:1272: warning: dereferencing type-punned pointer will break
strict-aliasing rules
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I.
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavformat
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o cmdutils.o
cmdutils.c 
gcc -Wl,--warn-common -rdynamic -g  -o ffmpeg_g ffmpeg.o cmdutils.o
-L./libavformat -lavformat -L./libavcodec -lavcodec -lm -lz -ldl -logg -lvorbis
-lvorbisenc
cp -p ffmpeg_g ffmpeg
strip ffmpeg
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I.
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavformat
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o ffserver.o
ffserver.c 
gcc -Wl,--warn-common -rdynamic -g  -Wl,-E -o ffserver ffserver.o
-L./libavformat -lavformat -L./libavcodec -lavcodec -lm -lz -ldl -logg -lvorbis
-lvorbisenc 
gcc -march=pentium4 -pipe -fomit-frame-pointer -O3 -Wall -g -I.
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec
-I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavformat
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -I/usr/include/SDL
-D_REENTRANT -c -o ffplay.o ffplay.c 
ffplay.c: In function `video_thread':
ffplay.c:866: warning: dereferencing type-punned pointer will break
strict-aliasing rules
gcc -Wl,--warn-common -rdynamic -g  -o ffplay_g ffplay.o cmdutils.o
-L./libavformat -lavformat -L./libavcodec -lavcodec -lm -lz -ldl -logg -lvorbis
-lvorbisenc -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
ffplay.o(.text+0x14df): In function `stream_component_open':
/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/ffplay.c:1160: undefined
reference to `SDL_PauseAudio'
ffplay.o(.text+0x15b3):/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/ffplay.c:1132:
undefined reference to `SDL_OpenAudio'
ffplay.o(.text+0x168b): In function `stream_component_close':
/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/ffplay.c:1191: undefined
reference to `SDL_CloseAudio'
collect2: ld returned 1 exit status
make: *** [ffplay_g] Error 1

!!! ERROR: media-video/ffmpeg-0.4.7 failed.
!!! Function src_compile, Line 54, Exitcode 2
!!! make failed.

Calculating dependencies    ...done!
>>> emerge (1 of 1) media-video/ffmpeg-0.4.7 to /
>>> md5 src_uri ;-) ffmpeg-0.4.7.tar.gz


Expected Results:  
emerge without errors ;-)

Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.5-rc3-mm4)
=================================================================
System uname: 2.6.5-rc3-mm4 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -pipe -fomit-frame-pointer -O3"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -pipe -fomit-frame-pointer -O3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS=" 
     http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/     
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo 
     http://212.219.247.11/sites/www.ibiblio.org/gentoo/ 
     http://212.219.247.12/sites/www.ibiblio.org/gentoo/ 
"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac aalib acl acpi acpi4linux aim alsa amd apache2 apm arts audiofile avi
berkdb bonobo cdr crypt cups dga directfb divx4linux dv dvd dvdr emacs emacs-w3
encode esd ethereal faac faad fam fax fbcon ffmpeg firebird flac foomaticdb gb
gdbm geoip ggi gif gimp gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml
guile hbci icq imagemagick imap imlib ipv6 jabber jack java jce jikes jp2 jpeg
kde kerberos ladcca lcms libcaca libg++ libsamplerate libwww lirc live mad
maildir matroska matrox memlimit mikmod mldonkeypango mmx motif mozdomi mozilla
mozxmlterm mpeg mpeg4 mplayer msn mysql nas ncurses nls noaudio ntlm odbc ofx
oggvorbis opengl oscar oss pam pcap pcre pdflib perl php png posix postgres ppds
pthreads python qt quicktime readline ruby samba scanner sdl silc slang speex
spell spl sqlite sse ssl svga tcltk tcpd tetex theora tiff transcode truetype
unicode usb v4l v4l2 videos wmf x86 xemacs xml xml2 xmms xosd xprint xv xvid
yahoo yv12 zlib zvbi"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-07-21 17:48:10 UTC
You put noaudio in your USE flags so you get to keep both pieces when things related to libsdl break.
Comment 2 K. Posern 2004-07-22 23:46:59 UTC
Sorry!

At some point I seemingly added this noaudio USE flag ... but it was not intentional and I was not aware of that it was set...

But thnx for the resolution!