Re: Compile Problem (KdenLive)
- From: Ulrich Eckhardt <doomster@xxxxxxxx>
- Date: Sun, 24 Feb 2008 13:54:40 +0100
Alphan wrote:
I'm getting some warnings like below before compiling KdenLive:
flvenc.c:131: warning: 'videocodecid' may be used uninitialized in
this function
And some warnings like this:
nutdec.c:823: warning: passing argument 3 of 'av_tree_find' from
incompatible pointer type
Like this:
rgb2rgb_template.c:274: warning: cast discards qualifiers from pointer
target type
And like this:
yuv2rgb.c:397: warning: unused variable 'Y'
But I think the warnings are not very important, aren't they?
Typically, warnings are a sign of bad code, but not necessarily buggy code.
And finally, this is the final error that stops the compile process:[...]
factory.c:63: warning: 'av_free_static' is deprecated (declared at /
home/alphan/build/kdenlive.2008-02-22_15_23/include/ffmpeg/avcodec.h:
2894)
This is a sign that a feature should not be used. It is typically added to
that feature some time before the feature is removed completely. If you
find such warnings, it means that the using code is not up-to-date.
producer_avformat.c: In function 'producer_open':
producer_avformat.c:206: error: 'AVFormatParameters' has no member
named 'device'
Well, it seems it is by far outdated. There is no way to fix this but by
either using a suitable version of the library or by updating the code.
My advise: contact the developers of the program, ask them how they compile
the code. Otherwise, you might be able to reproduce the build-environment
using the exact libraries and sources that an existing binary is built
from, under Debian a simple 'apt-get source kdenlive' would do the job.
Uli
.
- References:
- Compile Problem (KdenLive)
- From: Alphan
- Compile Problem (KdenLive)
- Prev by Date: Compile Problem (KdenLive)
- Next by Date: Web services via httpd
- Previous by thread: Compile Problem (KdenLive)
- Next by thread: Web services via httpd
- Index(es):
Relevant Pages
|