[Kdenlive-devel] Error while try to compile kdenlive using the kdenlive_builder_v3
Mads Bondo Dydensborg
mads at dydensborg.dk
Thu Aug 14 13:39:56 UTC 2008
torsdag 14 August 2008 skrev Roland Kaeser:
> Hello
>
> When try to compile kdenlive from sources using the kdenlive_builder_v3 I
get the following error when try to compile mlt. Seems to me as a ordinary
syntax error.
>
> Roland
> make[1]: Leaving directory `/install/kdenlive/mlt/src/albino'
> filter_sox.c:261:43: error: missing binary operator before token "("
> filter_sox.c:268:43: error: missing binary operator before token "("
> filter_sox.c:374:43: error: missing binary operator before token "("
Hi Roland
What happens is that either the symbol ST_LIB_VERSION or ST_LIB_VERSION_CODE
appears to be undefined in your sources, or mlt is unable to figure it out.
My guess is that your version of sox is quite new? The mlt sources works with
sox 13.0.0, and there seems to be code to handle sox 14.x.x, but perhaps it
fails?
On my system, the symbols are so defined:
$ grep ST_LIB_VERSION /usr/include/st.h
#define ST_LIB_VERSION_CODE 0x0d0000
#define ST_LIB_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
What is the case on yours? Do you have a sox.h file? What does
grep SOX14 /usr/include/sox.h
give?
I am not familiar with Suse, but for *ubuntu there appears to be a additional
problem with building with sox:
Sox on *ubuntu
If you are using *ubuntu, note that that there is an issue with the sox
library development files. After installing them, you need to issue the
command
sudo ln -s /usr/lib/libsox.so.0 /usr/lib/libsox.so
in order for the sox libraries to work with mlt.
An option is to disable sox manually from mlt, or remove the dev files for sox
(sox is optional - if this works you have a baseline to work for).
I would start with removing any sox-devel package you have - it is easy to
bring it back later.
Also, if you want to build kdenlive for KDE4 from sources, you might want to
try this page:
http://www.kdenlive.org/bbforum/viewtopic.php?f=8&t=591
(Disclaimer: I wrote that :-)
Regards
Mads
>
>
>
>
> ln -sf libmiracle.so.0.3.1 libmiracle.so
> ln -sf libmiracle.so.0.3.1 libmiracle.so.1
> cc -o miracle
miracle.o -L. -lmiracle -L../valerie -lvalerie -L../framework -lmlt
> make[1]: Leaving directory `/install/kdenlive/mlt/src/miracle'
> make[1]: Entering directory `/install/kdenlive/mlt/src/humperdink'
>
cc -I/opt/kdenlive/include/libavcodec/ -I/opt/kdenlive/include/libavformat/ -I/opt/kdenlive/include/libswscale/ -Wall -fPIC -DPIC -O4 -pipe -fomit-frame-pointer -ffast-math -DUSE_MMX -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -Wall -fPIC -DPIC -O4 -pipe -fomit-frame-pointer -ffast-math -DUSE_MMX -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -I.. -rdynamic -c -o
client.o client.c
>
cc -I/opt/kdenlive/include/libavcodec/ -I/opt/kdenlive/include/libavformat/ -I/opt/kdenlive/include/libswscale/ -Wall -fPIC -DPIC -O4 -pipe -fomit-frame-pointer -ffast-math -DUSE_MMX -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -Wall -fPIC -DPIC -O4 -pipe -fomit-frame-pointer -ffast-math -DUSE_MMX -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -I.. -rdynamic -c -o
io.o io.c
>
cc -I/opt/kdenlive/include/libavcodec/ -I/opt/kdenlive/include/libavformat/ -I/opt/kdenlive/include/libswscale/ -Wall -fPIC -DPIC -O4 -pipe -fomit-frame-pointer -ffast-math -DUSE_MMX -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -Wall -fPIC -DPIC -O4 -pipe -fomit-frame-pointer -ffast-math -DUSE_MMX -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -I.. -rdynamic -c -o
remote.o remote.c
> cc -o humperdink client.o io.o
remote.o -L../valerie -L../framework -lvalerie -lmlt
> make[1]: Leaving directory `/install/kdenlive/mlt/src/humperdink'
> make[1]: Entering directory `/install/kdenlive/mlt/src/albino'
>
cc -I/opt/kdenlive/include/libavcodec/ -I/opt/kdenlive/include/libavformat/ -I/opt/kdenlive/include/libswscale/ -Wall -fPIC -DPIC -O4 -pipe -fomit-frame-pointer -ffast-math -DUSE_MMX -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -Wall -fPIC -DPIC -O4 -pipe -fomit-frame-pointer -ffast-math -DUSE_MMX -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -I.. -rdynamic -c -o
albino.o albino.c
> cc -o albino
albino.o -L../miracle -lmiracle -L../valerie -lvalerie -L../miracle -lmiracle -L../framework -lmlt
>
> __________________________________________________
> Do You Yahoo!?
> Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz
gegen Massenmails.
> http://mail.yahoo.com
--
Mads Bondo Dydensborg mads at dydensborg.dk http://www.madsdydensborg.dk/
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
More information about the Kdenlive
mailing list