[vlc] Re: libmkv mkv.cpp error

Psycho Ph degreane at yahoo.com
Tue Oct 14 14:19:59 CEST 2003


This error is due to the installation of matroska and
ebml library and header files so as i did is when i
removed the matroska and ebml include directory from
/usr/local/include/[matroska][ebml] and removed the
corresponding library files from /usr/local/lib/
directory and recompiled it worked fine .....

Best Regards
F.B.
--- Psycho Ph <degreane at yahoo.com> wrote:
> when i try to compile vlc latest cvs version with
> latest cvs of ffmpeg and mpeg2dec i get this error
> with mkv.cpp file 
> what is it and how to fix it ?????? maybe i use some
> modules that are not optimised or coerrect i don't
> know .
> 
> source='mkv.cpp' object='libmkv_plugin_a-mkv.o'
> libtool=no \
> depfile='.deps/libmkv_plugin_a-mkv.Po'
> tmpdepfile='.deps/libmkv_plugin_a-mkv.TPo' \
> depmode=gcc3 /bin/sh ../../autotools/depcomp \
> g++ -DHAVE_CONFIG_H -I. -I. -I../..   -DSYS_LINUX
> -I../../include `top_builddir="../.."
> ../../vlc-config
> --cxxflags plugin mkv` -Wsign-compare -Wsign-compare
> -Wall  -finline-limit-30000 -pipe -c -o
> libmkv_plugin_a-mkv.o `test -f 'mkv.cpp' || echo
> './'`mkv.cpp
> make[4]: Leaving directory
> `/root/from_usb/video_lan/cvs/vlc/modules/demux'
> make[3]: Leaving directory
> `/root/from_usb/video_lan/cvs/vlc/modules/demux'
> make[2]: Leaving directory
> `/root/from_usb/video_lan/cvs/vlc/modules'
> make[1]: Leaving directory
> `/root/from_usb/video_lan/cvs/vlc
> 
> 
> mkv.cpp: In function `void IndexAppendCluster(...)':
> mkv.cpp:2436: `void IndexAppendCluster(...)'
> redeclared as different kind of
>    symbol
> mkv.cpp:997: previous declaration of `int
> IndexAppendCluster'
> mkv.cpp:997: previous non-function declaration `int
> IndexAppendCluster'
> mkv.cpp:2436: conflicts with function declaration
> `void IndexAppendCluster(...)
>    '
> mkv.cpp: At global scope:
> mkv.cpp:2455: parse error before `&' token
> mkv.cpp: In function `char* UTF8ToStr(...)':
> mkv.cpp:2461: `u' undeclared (first use this
> function)
>
/usr/include/c++/3.2.2/bits/stl_iterator_base_funcs.h:
> At top level:
> mkv.cpp:276: warning: `void IndexAppendCluster(...)'
> declared `static' but
>    never defined
> mkv.cpp:279: warning: `void
> InformationsCreate(input_thread_t*)' declared
>    `static' but never defined
> mkv.cpp:1153: warning: `int i_sample_rates[16]'
> defined but not used
> {standard input}: Assembler messages:
> {standard input}:139: Error: symbol `memset' is
> already defined
> {standard input}:190: Error: symbol `memset' is
> already defined
> {standard input}:231: Error: symbol `p_wf' is
> already
> defined
> {standard input}:257: Error: symbol
> `__vlc_mutex_unlock' is already defined
> {standard input}:263: Error: symbol
> `__vlc_mutex_unlock' is already defined
> {standard input}:269: Error: symbol
> `b_audio_selected'
> is already defined
> {standard input}:275: Error: symbol
> `__vlc_mutex_unlock' is already defined
> {standard input}:346: Error: symbol `m_got' is
> already
> defined
> {standard input}:352: Error: symbol `mb_keep' is
> already defined
> {standard input}:359: Error: symbol `m_got' is
> already
> defined
> make[4]: *** [libmkv_plugin_a-mkv.o] Error 1
> make[3]: *** [all-mkv] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> 
> 
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product
> search
> http://shopping.yahoo.com
> 
> -- 
> This is the vlc mailing-list, see
> http://www.videolan.org/vlc/
> To unsubscribe, please read
> http://www.videolan.org/support/lists.html
> If you are in trouble, please contact
> <postmaster at videolan.org>
> 


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc mailing list