[FFmpeg-user] Compiling failure

园袁 y11022053 at gmail.com
Wed Jul 11 10:35:10 CEST 2012


use "grep  SDL_atoi [path of SDL libs] -R", to search which lib*.a contains
the implement of " SDL_atoi ", then include "-l" + [the lib*.a] and include
-L[the path of lib*.a] in your compile command.

2012/7/11 Alexandre Schenberg <ale.schenberg at gmail.com>

> Unfortunately I got another error:
>
> "In function `stream_component_open':
> /home/leopoldo/abaco/ffmpeg-0.11.1/ffplay.c:2299: undefined reference
> to `SDL_getenv'
> ffplay.o(.text+0x47c2):/home/leopoldo/abaco/ffmpeg-0.11.1/ffplay.c:2301:
> undefined reference to `SDL_atoi'
> collect2: ld returned 1 exit status
> make: *** [ffplay_g] Error 1"
>
> 2012/7/8, Carl Eugen Hoyos <cehoyos at ag.or.at>:
> > Alexandre Schenberg <ale.schenberg <at> gmail.com> writes:
> >
> >> Is that right? --disable-documentation? configure says it that option
> >> does not exists
> >
> > $ ./configure --help|grep docu
> >   --disable-doc            do not build documentation
> >
> > Please do not top-post here, it is considered rude.
> >
> > Carl Eugen
> >
> > _______________________________________________
> > ffmpeg-user mailing list
> > ffmpeg-user at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list