[FFmpeg-devel] [PATCH] Fix cmdutils.c build with --disable-swscale

Anatoliy Nenashev nenashev_as
Fri Jan 29 15:22:08 CET 2010


Hi

Rafa?l Carr? wrote:
> Hi,
>
> Version & configuration are printed for each built library in cmdutils.c
>
> There is a #if CONFIG_lib conditional for avfilter and postproc already,
> the patch just adds a conditional for swscale.
>
> Note: avdevice / avformat / avcodec can be disabled as well but I
> didn't bother disabling them in configure to see all the places which
> broke (for example when using AVCodecContext or AVFormatContext).
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel

I can't build FFmpeg without this patch during last week.
I use "./configure" script without any args and in final make step I see 
error message:

cmdutils.o: In function `show_banner':
/home/alien/GIT_REP/ffmpeg/cmdutils.c:379: undefined reference to 
`swscale_configuration'
collect2: ld returned 1 exit status
make: *** [ffserver_g] Error 1
make: *** Waiting for unfinished jobs....
cmdutils.o: In function `show_banner':
/home/alien/GIT_REP/ffmpeg/cmdutils.c:379: undefined reference to 
`swscale_configuration'
collect2: ld returned 1 exit status
make: *** [ffmpeg_g] Error 1
cmdutils.o: In function `show_banner':
/home/alien/GIT_REP/ffmpeg/cmdutils.c:379: undefined reference to 
`swscale_configuration'
collect2: ld returned 1 exit status
make: *** [ffplay_g] Error 1
rm ffmpeg.o ffserver.o

Will it be applied or something else must be done with this issue?

Anatoliy.






More information about the ffmpeg-devel mailing list