-
Notifications
You must be signed in to change notification settings - Fork 391
not able to make build #8
Description
[root@dev ffmpeg-tutorial-master]# make
Package libavformat was not found in the pkg-config search path.
Perhaps you should add the directory containing libavformat.pc' to the PKG_CONFIG_PATH environment variable No package 'libavformat' found Package libavcodec was not found in the pkg-config search path. Perhaps you should add the directory containinglibavcodec.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavcodec' found
Package libswscale was not found in the pkg-config search path.
Perhaps you should add the directory containing libswscale.pc' to the PKG_CONFIG_PATH environment variable No package 'libswscale' found Package libavutil was not found in the pkg-config search path. Perhaps you should add the directory containinglibavutil.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavutil' found
Package sdl was not found in the pkg-config search path.
Perhaps you should add the directory containing sdl.pc' to the PKG_CONFIG_PATH environment variable No package 'sdl' found Package libavformat was not found in the pkg-config search path. Perhaps you should add the directory containinglibavformat.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavformat' found
Package libavcodec was not found in the pkg-config search path.
Perhaps you should add the directory containing libavcodec.pc' to the PKG_CONFIG_PATH environment variable No package 'libavcodec' found Package libswscale was not found in the pkg-config search path. Perhaps you should add the directory containinglibswscale.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libswscale' found
Package libavutil was not found in the pkg-config search path.
Perhaps you should add the directory containing libavutil.pc' to the PKG_CONFIG_PATH environment variable No package 'libavutil' found Package sdl was not found in the pkg-config search path. Perhaps you should add the directory containingsdl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'sdl' found
mkdir -p obj
mkdir -p bin
gcc -Wall -ggdb obj/tutorial01.o -lm -o bin/tutorial01.out
obj/tutorial01.o: In function main': /home/sangeeta/ffmpeg/ffmpeg-tutorial-master/tutorial01.c:70: undefined reference toav_register_all'
/home/sangeeta/ffmpeg/ffmpeg-tutorial-master/tutorial01.c:73: undefined reference to avformat_open_input' /home/sangeeta/ffmpeg/ffmpeg-tutorial-master/tutorial01.c:77: undefined reference toavformat_find_stream_info'
/home/sangeeta/ffmpeg/ffmpeg-tutorial-master/tutorial01.c:81: undefined reference to av_dump_format' /home/sangeeta/ffmpeg/ffmpeg-tutorial-master/tutorial01.c:97: undefined reference toavcodec_find_decoder'
/home/sangeeta/ffmpeg/ffmpeg-tutorial-master/tutorial01.c:103: undefined reference to avcodec_open2' /home/sangeeta/ffmpeg/ffmpeg-tutorial-master/tutorial01.c:107: undefined reference toavcodec_alloc_frame'
/home/sangeeta/ffmpeg/ffmpeg-tutorial-master/tutorial01.c:110: undefined reference to avcodec_alloc_frame' /home/sangeeta/ffmpeg/ffmpeg-tutorial-master/tutorial01.c:115: undefined reference toavpicture_get_size'
/home/sangeeta/ffmpeg/ffmpeg-tutorial-master/tutorial01.c:117: undefined reference to av_malloc' /home/sangeeta/ffmpeg/ffmpeg-tutorial-master/tutorial01.c:120: undefined reference tosws_getContext'
/home/sangeeta/ffmpeg/ffmpeg-tutorial-master/tutorial01.c:137: undefined reference to avpicture_fill' /home/sangeeta/ffmpeg/ffmpeg-tutorial-master/tutorial01.c:146: undefined reference toavcodec_decode_video2'
/home/sangeeta/ffmpeg/ffmpeg-tutorial-master/tutorial01.c:152: undefined reference to sws_scale' /home/sangeeta/ffmpeg/ffmpeg-tutorial-master/tutorial01.c:171: undefined reference toav_free_packet'
/home/sangeeta/ffmpeg/ffmpeg-tutorial-master/tutorial01.c:142: undefined reference to av_read_frame' /home/sangeeta/ffmpeg/ffmpeg-tutorial-master/tutorial01.c:175: undefined reference toav_free'
/home/sangeeta/ffmpeg/ffmpeg-tutorial-master/tutorial01.c:176: undefined reference to av_free' /home/sangeeta/ffmpeg/ffmpeg-tutorial-master/tutorial01.c:179: undefined reference toav_free'
/home/sangeeta/ffmpeg/ffmpeg-tutorial-master/tutorial01.c:182: undefined reference to avcodec_close' /home/sangeeta/ffmpeg/ffmpeg-tutorial-master/tutorial01.c:185: undefined reference toavformat_close_input'
collect2: ld returned 1 exit status
make: *** [bin/tutorial01.out] Error 1