[GIT build] compiler error in mkv_plugin

*nix specific usage questions
alienbob
Blank Cone
Blank Cone
Posts: 21
Joined: 27 Jul 2008 15:11
Operating System: Linux
Location: Eindhoven, The Netherlands
Contact:

[GIT build] compiler error in mkv_plugin

Postby alienbob » 18 Apr 2009 00:00

I have been building 0.9.x for a while and decided to try a GIT build again.
In mkv_plugin I get the following "error: declaration of 'char* vlc_gettext(const char*) throw ()' throws different exceptions":

Code: Select all

........... make[5]: Entering directory `/tmp/build/tmp-vlc/vlc-1.0.0-pre2/modules/demux/mkv' make all-am make[6]: Entering directory `/tmp/build/tmp-vlc/vlc-1.0.0-pre2/modules/demux/mkv' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../include -I/tmp/build/tmp-vlc/vlcdeps/usr/include -DSYS_LINUX `top_srcdir="../../.." top_builddir="../../.." ../../../vlc-config --cxxflags plugin libmkv_plugin_la-mkv.lo` -O2 -march=i486 -mtune=i686 -I/tmp/build/tmp-vlc/vlcdeps/usr/include -MT libmkv_plugin_la-mkv.lo -MD -MP -MF .deps/libmkv_plugin_la-mkv.Tpo -c -o libmkv_plugin_la-mkv.lo `test -f 'mkv.cpp' || echo './'`mkv.cpp mkdir .libs g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../include -I/tmp/build/tmp-vlc/vlcdeps/usr/include -DSYS_LINUX -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -DHAVE_RELEASE -D__LIBVLC__ -D__PLUGIN__ -DMODULE_NAME=mkv -DMODULE_NAME_IS_mkv -DMODULE_STRING=\"mkv\" -O4 -ffast-math -funroll-loops -mtune=pentium2 -fomit-frame-pointer -O2 -march=i486 -mtune=i686 -I/tmp/build/tmp-vlc/vlcdeps/usr/include -MT libmkv_plugin_la-mkv.lo -MD -MP -MF .deps/libmkv_plugin_la-mkv.Tpo -c mkv.cpp -fPIC -DPIC -o .libs/libmkv_plugin_la-mkv.o In file included from ../../../include/vlc_common.h:496, from mkv.hpp:44, from mkv.cpp:25: ../../../include/vlc_mtime.h:79: warning: 'error' attribute directive ignored ../../../include/vlc_mtime.h:89: warning: 'warning' attribute directive ignored ../../../include/vlc_mtime.h:107: warning: 'error' attribute directive ignored In file included from /usr/lib/gcc/i486-slackware-linux/4.2.4/../../../../include/c++/4.2.4/i486-slackware-linux/bits/c++locale.h:52, from /usr/lib/gcc/i486-slackware-linux/4.2.4/../../../../include/c++/4.2.4/iosfwd:45, from /usr/lib/gcc/i486-slackware-linux/4.2.4/../../../../include/c++/4.2.4/ios:43, from /usr/lib/gcc/i486-slackware-linux/4.2.4/../../../../include/c++/4.2.4/ostream:45, from /usr/lib/gcc/i486-slackware-linux/4.2.4/../../../../include/c++/4.2.4/iostream:45, from mkv.hpp:59, from mkv.cpp:25: /usr/include/libintl.h:41: error: declaration of 'char* vlc_gettext(const char*) throw ()' throws different exceptions ../../../include/vlc_common.h:828: error: from previous declaration 'char* vlc_gettext(const char*)' make[6]: *** [libmkv_plugin_la-mkv.lo] Error 1 make[6]: Leaving directory `/tmp/build/tmp-vlc/vlc-1.0.0-pre2/modules/demux/mkv' make[5]: *** [all] Error 2 make[5]: Leaving directory `/tmp/build/tmp-vlc/vlc-1.0.0-pre2/modules/demux/mkv' make[4]: *** [all-recursive] Error 1
I have no idea what causes this, and although I see changes in GIT pertaining to libintl.h, I am unable to see what I have to do to fix the error.

Anyone with a good tip?

Eric
--

Eric Hameleers (alienBOB)

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

Re: [GIT build] compiler error in mkv_plugin

Postby thannoy » 20 Apr 2009 14:38

Try to update your git view now, maybe it is a fixed problem.

More infos:
- http://mailman.videolan.org/pipermail/v ... 58781.html
- http://mailman.videolan.org/pipermail/v ... 58784.html


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 18 guests