Не где не написано про зависимость quazip. Точнее не зависимость а... я не понял вроде прямо в ваши исходники добавленно?
всякий случай - qmake && make делается от корня проекта (а не внутри 'src'), т.е. в вашем случае:
это
tom@linux-kht1:/usr/src/packages/BUILD/reports> qmake
tom@linux-kht1:/usr/src/packages/BUILD/reports> make
О. Что то совсем башка тупой. Исправился вот итог.
- Код: Выделить всё
tom@linux-kht1:/usr/src/packages/BUILD/reports> qmake
tom@linux-kht1:/usr/src/packages/BUILD/reports> make
cd src/3rdparty/quazip/ && make -f Makefile
make[1]: Entering directory `/usr/src/packages/BUILD/reports/src/3rdparty/quazip'
gcc -c -pipe -O2 -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include -I. -o ioapi.o ioapi.c
g++ -c -pipe -O2 -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include -I. -o quazip.o quazip.cpp
g++ -c -pipe -O2 -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include -I. -o quazipfile.o quazipfile.cpp
g++ -c -pipe -O2 -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include -I. -o quazipnewinfo.o quazipnewinfo.cpp
gcc -c -pipe -O2 -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include -I. -o unzip.o unzip.c
gcc -c -pipe -O2 -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include -I. -o zip.o zip.c
/usr/bin/moc -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include -I. quazipfile.h -o moc_quazipfile.cpp
g++ -c -pipe -O2 -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include -I. -o moc_quazipfile.o moc_quazipfile.cpp
rm -f libquazip.so.1.0.0 libquazip.so libquazip.so.1 libquazip.so.1.0
g++ -Wl,-O1 -shared -Wl,-soname,libquazip.so.1 -o libquazip.so.1.0.0 ioapi.o quazip.o quazipfile.o quazipnewinfo.o unzip.o zip.o moc_quazipfile.o -L/usr/lib -lQtCore -L/usr/lib -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread
ln -s libquazip.so.1.0.0 libquazip.so
ln -s libquazip.so.1.0.0 libquazip.so.1
ln -s libquazip.so.1.0.0 libquazip.so.1.0
rm -f ../../../lib/libquazip.so.1.0.0
rm -f ../../../lib/libquazip.so
rm -f ../../../lib/libquazip.so.1
rm -f ../../../lib/libquazip.so.1.0
mv -f libquazip.so.1.0.0 libquazip.so libquazip.so.1 libquazip.so.1.0 ../../../lib/
make[1]: Leaving directory `/usr/src/packages/BUILD/reports/src/3rdparty/quazip'
cd src/plugins/ && make -f Makefile
make[1]: Entering directory `/usr/src/packages/BUILD/reports/src/plugins'
cd odfreport/ && make -f Makefile
make[2]: Entering directory `/usr/src/packages/BUILD/reports/src/plugins/odfreport'
g++ -c -pipe -O2 -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include/QtSql -I/usr/include -I../../../include -I../../3rdparty/quazip -I. -I.moc -o .obj/codfreport.o codfreport.cpp
codfreport.cpp:40: warning: unused parameter ‘apParent’
codfreport.cpp: In member function ‘virtual int COdfReport::generate(IReportData*)’:
codfreport.cpp:203: warning: comparison between signed and unsigned integer expressions
g++ -c -pipe -O2 -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include/QtSql -I/usr/include -I../../../include -I../../3rdparty/quazip -I. -I.moc -o .obj/codfreportplugin.o codfreportplugin.cpp
g++ -c -pipe -O2 -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include/QtSql -I/usr/include -I../../../include -I../../3rdparty/quazip -I. -I.moc -o .obj/cfsutils.o ../../cfsutils.cpp
/usr/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include/QtSql -I/usr/include -I../../../include -I../../3rdparty/quazip -I. -I.moc codfreport.h -o .moc/moc_codfreport.cpp
g++ -c -pipe -O2 -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include/QtSql -I/usr/include -I../../../include -I../../3rdparty/quazip -I. -I.moc -o .obj/moc_codfreport.o .moc/moc_codfreport.cpp
/usr/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include/QtSql -I/usr/include -I../../../include -I../../3rdparty/quazip -I. -I.moc codfreportplugin.h -o .moc/moc_codfreportplugin.cpp
g++ -c -pipe -O2 -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include/QtSql -I/usr/include -I../../../include -I../../3rdparty/quazip -I. -I.moc -o .obj/moc_codfreportplugin.o .moc/moc_codfreportplugin.cpp
/usr/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include/QtSql -I/usr/include -I../../../include -I../../3rdparty/quazip -I. -I.moc ../../cfsutils.h -o .moc/moc_cfsutils.cpp
g++ -c -pipe -O2 -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include/QtSql -I/usr/include -I../../../include -I../../3rdparty/quazip -I. -I.moc -o .obj/moc_cfsutils.o .moc/moc_cfsutils.cpp
rm -f libodfreport.so
g++ -Wl,-O1 -shared -o libodfreport.so .obj/codfreport.o .obj/codfreportplugin.o .obj/cfsutils.o .obj/moc_codfreport.o .obj/moc_codfreportplugin.o .obj/moc_cfsutils.o -L/usr/lib -lquazip -lQtSql -L/usr/lib -pthread -pthread -lQtXml -pthread -pthread -lQtGui -L/usr/X11R6/lib -pthread -lpng -lfreetype -lSM -lICE -pthread -pthread -lXrender -lXrandr -lXfixes -lXcursor -lXinerama -lfontconfig -lXext -lX11 -lQtCore -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread
mv -f libodfreport.so ../../../bin/plugins/
make[2]: Leaving directory `/usr/src/packages/BUILD/reports/src/plugins/odfreport'
make[1]: Leaving directory `/usr/src/packages/BUILD/reports/src/plugins'
cd src/ && make -f Makefile
make[1]: Entering directory `/usr/src/packages/BUILD/reports/src'
g++ -c -pipe -g -I. -I.. -I../include -O2 -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -D_REENTRANT -Wall -W -DHAVE_LOCALE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include/QtSql -I/usr/include/QtScript -I/usr/include -I../include -I.moc -o .obj/cglobals.o cglobals.cpp
g++ -c -pipe -g -I. -I.. -I../include -O2 -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -D_REENTRANT -Wall -W -DHAVE_LOCALE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include/QtSql -I/usr/include/QtScript -I/usr/include -I../include -I.moc -o .obj/capplication.o capplication.cpp
capplication.cpp: In member function ‘void CApplication::initLocale()’:
capplication.cpp:74: error: ‘::nl_langinfo’ has not been declared
capplication.cpp:74: error: ‘CODESET’ was not declared in this scope
make[1]: *** [.obj/capplication.o] Ошибка 1
make[1]: Leaving directory `/usr/src/packages/BUILD/reports/src'
make: *** [sub-src-make_default] Ошибка 2
tom@linux-kht1:/usr/src/packages/BUILD/reports>