You need add the option of “-l avformat” to gcc

 

Joy Woo

 

发件人: [email protected] [mailto:[email protected]]
代表 sangeeta chowdhary
发送时间: 2013年1月14日 15:27
收件人: This list is about using libavcodec, libavformat, libavutil,
libavdevice and libavfilter.
主题: Re: [Libav-user] (no subject)

 

Hi Nitin,

ffmpeg is installed successfully. Now I am trying to compile one simple
program like

[root@node2 ffmpeginstaller.7.4]# gcc -I/usr/src/ffmpegscript/ffmpeg/ test.c
/tmp/ccjXEhvl.o: In function `main':
test.c:(.text+0x10): undefined reference to `av_register_all'
collect2: ld returned 1 exit status

I am getting above error. Can you please help me.

Thanks,
Regards,
Sangeeta

On Fri, Jan 11, 2013 at 6:57 PM, NITIN GOYAL <[email protected]
<mailto:[email protected]> > wrote:

Have u installed faac?

may be u can try to install libfaac or just remove '--enable-libfaac'
from ur configure list. It may fix this issue.

>
> I have taken latest ffmpeg installer from
> http://ffmpeginstaller.com/download. Still I am getting error while
> installation.
> I didn't get config.log.
>
> This is the error -
>
> Removing old source
> Cloning into ffmpeg...
> ERROR: libfaac not found
>
> If you think configure made a mistake, make sure you are using the latest
> version from Git.  If the latest version fails, report the problem to the
> [email protected] <mailto:[email protected]>  mailing list or
IRC #ffmpeg on irc.freenode.net <http://irc.freenode.net> .
> Include the log file "config.log" produced by configure as this will help
> solving the problem.
> ^[[01;31mInstallation of FFMPEG ....... Completed^[[0m
>
>
> ^[[01;31m   FFMPEG installation Failed :( , please visit the forum^[[0m
>
>
>
> Please help me for the same.
>
> On Fri, Jan 11, 2013 at 4:50 PM, NITIN GOYAL <[email protected]
<mailto:[email protected]> >
> wrote:
>>
>> log
>
>
>
>

> _______________________________________________
> Libav-user mailing list
> [email protected] <mailto:[email protected]> 
> http://ffmpeg.org/mailman/listinfo/libav-user
>
_______________________________________________
Libav-user mailing list
[email protected] <mailto:[email protected]> 
http://ffmpeg.org/mailman/listinfo/libav-user

 

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to