[FFmpeg-user] Linking Error

Biswas, Pinakee pinakee at vvidiacom.com
Thu Apr 5 15:41:30 CEST 2012


Hi,

 

I am trying to use ffmpeg APIs and libraries in my application, and I am
getting following linking error:

 

The OS is CentOS 5.7. The application is written in C++. Compiler is g++.
Ffmpeg version is 0.10.

 

MediaServerMain.cpp:(.text+0x214): undefined reference to
`av_get_random_seed()'

MediaServerConfig.cpp:(.text+0x161): undefined reference to
`av_strcasecmp(char const*, char const*)'

MediaServerConfig.cpp:(.text+0x184): undefined reference to
`av_strcasecmp(char const*, char const*)'

MediaServerConfig.cpp:(.text+0xc84): undefined reference to
`av_strcasecmp(char const*, char const*)'

MediaServerConfig.cpp:(.text+0xd18): undefined reference to
`av_strcasecmp(char const*, char const*)'

MediaServerConfig.cpp:(.text+0xda6): undefined reference to
`av_strcasecmp(char const*, char const*)'

 

MediaServerConfig.cpp:(.text+0x23c7): undefined reference to
`av_parse_video_size(int*, int*, char const*)'

MediaServerConfig.cpp:(.text+0x2414): undefined reference to
`av_strcasecmp(char const*, char const*)'

MediaServerConfig.cpp:(.text+0x245a): undefined reference to
`av_parse_video_rate(AVRational*, char const*)'

MediaServerConfig.cpp:(.text+0x24b4): undefined reference to
`av_strcasecmp(char const*, char const*)'

MediaServerConfig.cpp:(.text+0x250b): undefined reference to
`av_strcasecmp(char const*, char const*)'

MediaServerConfig.cpp:(.text+0x2542): undefined reference to
`av_strcasecmp(char const*, char const*)'

MediaServerConfig.cpp:(.text+0x2579): undefined reference to
`av_strcasecmp(char const*, char const*)'

MediaServerConfig.cpp:(.text+0x25bf): undefined reference to
`av_strcasecmp(char const*, char const*)'

 

MediaServer.cpp:(.text+0x1f8): undefined reference to
`av_read_packet(AVFormatContext*, AVPacket*)'

MediaServer.cpp:(.text+0x25d): undefined reference to `av_freep(void*)'

MediaServer.cpp:(.text+0x2cc): undefined reference to `av_malloc(unsigned
long)'

MediaServer.cpp:(.text+0x32f): undefined reference to
`av_free_packet(AVPacket*)'

 

I have linked the libraries as follows:

 

-lavutil -lavformat -lavcodec -lz -lavutil -lm

 

Could you please help me in resolving the above errors?

 

Looking forward to your response and support.

 

Thanks,

Pinakee Biswas

 

Description: Description: vvidialogo.jpg

the next experience! 

 

yGSM Mobile (Voice & Data): +91-982-016-7979 

(Tel: +91-22-26733737 I (Fax:+91-22-26732828

7E- Mail:  <mailto:pinakee at vvidiacom.com> pinakee at vvidiacom.com I 8Web:
<http://www.vvidiacom.com/> http://www.vvidiacom.com 



 

P Please don't print this e-mail unless you really need to, this will
preserve trees on planet earth. 

----------------------------Disclaimer--------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
---------

The information contained in this message (including any attachments) is
confidential and may be privileged. If you have received it by mistake
please notify the sender by return e-mail and permanently delete this
message and any attachments from your system. Please note that e-mails are
susceptible to change and malwares. VVIDIA COMMUNICATIONS PVT LTD.
(including its group companies) shall not be liable for the improper or
incomplete transmission of the information contained in this communication
nor for any delay in its receipt or damage to your system. 

----------------------------------------------------------------------------
---------------------------------------------Disclaimer---------------------
----------------------------------------------------------------------------
---------

 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 1901 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20120405/1640c34e/attachment.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 168 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20120405/1640c34e/attachment.png>


More information about the ffmpeg-user mailing list