Thanks, yohann, for your help. It doesn't help with specifying --prefix=/home/hp/vlc/ffmpeg. It still complains that ffmpeg/avcodec.h cannot be found. I found the file avcodec.h from ffmpeg/libavcodec subdirectory and copy it under ffpmeg/ Then the ./configure under vlc-0.8.6e/ becomes "checkin...