On 09/10/16 11:46, Sainadh J wrote:




The instructions in the book work with gcc6. It looks like you are using
gcc 5.3.0, is that correct? Try starting over and only apply the ffmpeg
 >patch, not the gcc6_fixes patch. Also, eliminate the --disable-atmo from
the configuration and see if that works. In the meantime, I will try to
find my exact build instructions that I used with gcc 5.3 in case that
doesn't work. So here are the commands to try for now in a fresh source
tree:

patch -Np1 -i ../vlc-2.2.4-ffmpeg3-1.patch    &&

CFLAGS="-DLUA_COMPAT_5_1" \
./configure --prefix=/usr &&
make


Paul

yes my gcc 5.3.0,i do as your suggest i encounter new error:
/usr/include/QtGui/qmatrix.h:66:14: note: candidate: QMatrix&
QMatrix::operator=(QMatrix)
     QMatrix &operator=(QMatrix &&other) Q_DECL_NOTHROW // = default
              ^
/usr/include/QtGui/qmatrix.h:68:14: note: candidate: QMatrix&
QMatrix::operator=(const QMatrix&)
     QMatrix &operator=(const QMatrix &) Q_DECL_NOTHROW; // = default
              ^
In file included from /usr/include/QtWidgets/qabstractitemdelegate.h:44:0,
                 from /usr/include/QtWidgets/qabstractitemview.h:46,
                 from /usr/include/QtWidgets/qheaderview.h:43,
                 from /usr/include/QtWidgets/QHeaderView:1,
                 from ./ui/open.h:23,
                 from dialogs/open.hpp:35,
                 from dialogs_provider.hpp:36,
                 from qt4.cpp:36:
/usr/include/QtWidgets/qstyleoption.h: In copy constructor
'QStyleOptionGraphicsItem::QStyleOptionGraphicsItem(const
QStyleOptionGraphicsItem&)':
/usr/include/QtWidgets/qstyleoption.h:658:107: note: synthesized method
'QStyleOptionGraphicsItem& QStyleOptionGraphicsItem::operator=(const
QStyleOptionGraphicsItem&)' first required here
     QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem &other) :
QStyleOption(Version, Type) { *this = other; }

^
Makefile:2209: recipe for target 'libqt4_plugin_la-qt4.lo' failed
make[7]: *** [libqt4_plugin_la-qt4.lo] Error 1
make[7]: Leaving directory '/xc/vlc-2.2.4/modules/gui/qt4'
Makefile:1580: recipe for target 'all' failed
make[6]: *** [all] Error 2
make[6]: Leaving directory '/xc/vlc-2.2.4/modules/gui/qt4'
Makefile:1206: recipe for target 'all-recursive' failed
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory '/xc/vlc-2.2.4/modules/gui'
Makefile:1080: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory '/xc/vlc-2.2.4/modules/gui'
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








I posted a modification to my instructions, but those are not the errors I was getting. Those are more like the errors I get when setting CXXFLAGS='-std=c++11'. Did you set that anywhere before building? If so, try building without setting it. Make sure it is unset if you used export to set it.

Paul
--
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