>In the late stages of the latest release (7.10) while compiling against
>the gcc 5.3.3 compiler, I found numerous occaisions (usually around qt5)
>where I had this problem. The following generally fixes the problem:

>extern CXXFLAGS='-std=c++11'
>configure ....
>make ...>etc.
>unset CXXFLAGS

>The last statement was just being conservative so it didn't apply to
>compiles that didn't have the problem. After doing a bit of reading on C
>++ 11, I beleive you can safely leave it always set. Where the BLFS
>instructions also specifya CXXFLAGS value, I just added the value to the
>books CXXFLAGS value with a comma.

>Pat
thanks for the reply ,i do as sed -i '/seems to be moved/s/^/#/' 
autotools/ltmain.sh
patch -Np1 -i ../vlc-2.2.4-ffmpeg3-1.patch 
CXXFLAGS=-'std=c++11'
./configure --prefix=/usr && make

i getting the error:
 CC       lua/liblua_plugin_la-demux.lo
lua/demux.c: In function 'vlclua_demux_peek':
lua/demux.c:55:13: error: implicit declaration of function 'luaL_checkint' 
[-Werror=implicit-function-declaration]
     int n = luaL_checkint( L, 1 );
             ^
lua/demux.c: In function 'vlclua_demux_read':
lua/demux.c:76:13: warning: unused variable 'i_seek' [-Wunused-variable]
         int i_seek = stream_Read( p_demux->s, NULL, i_read );
             ^
cc1: some warnings being treated as errors
Makefile:8265: recipe for target 'lua/liblua_plugin_la-demux.lo' failed
make[4]: *** [lua/liblua_plugin_la-demux.lo] Error 1
make[4]: Leaving directory '/xc/vlc-2.2.4/modules'
Makefile:9643: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/xc/vlc-2.2.4/modules'
Makefile:4516: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/xc/vlc-2.2.4/modules'
Makefile:2253: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/xc/vlc-2.2.4'
Makefile:2137: recipe for target 'all' failed
make: *** [all] Error 2

Each time i am compile each time i getting the different error 

   
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to