коллекционер жизни
 
Профиль
Группа: Участник
Сообщений: 516
Регистрация: 5.7.2004
Где: /
Репутация: нет Всего: нет
|
Нет. Нет. Нет. Данный проект - открываю на 64 битной системе, тыкаю собрать - и получаю - то что выше. Гугление - не привело к какому либо итогу. Объектники с 32 битной системы - естественно были удалены. Полный выхлоп: | Код | g++ -c -I/usr/include/ -I/usr/include/c++/4.6 -m32 -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I../CCafe -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I../CCafe -I. -o ccafewnd.o ../CCafe/ccafewnd.cpp g++ -c -I/usr/include/ -I/usr/include/c++/4.6 -m32 -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I../CCafe -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I../CCafe -I. -o stations.o ../CCafe/stations.cpp g++ -c -I/usr/include/ -I/usr/include/c++/4.6 -m32 -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I../CCafe -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I../CCafe -I. -o ccafe.o ../CCafe/ccafe.cpp In file included from ../CCafe/ccafe.cpp:1:0: ../CCafe/ccafe.h:18:1: предупреждение: многострочный комментарий [-Wcomment] ../CCafe/ccafe.h:22:2: предупреждение: многострочный комментарий [-Wcomment] ../CCafe/ccafe.h:43:2: предупреждение: многострочный комментарий [-Wcomment] ../CCafe/ccafe.h:56:2: предупреждение: многострочный комментарий [-Wcomment] In file included from ../CCafe/ccafe.cpp:1:0: ../CCafe/ccafe.h:76:2: предупреждение: многострочный комментарий [-Wcomment] ../CCafe/ccafe.cpp:92:2: предупреждение: многострочный комментарий [-Wcomment] ../CCafe/ccafe.cpp:367:2: предупреждение: многострочный комментарий [-Wcomment] ../CCafe/ccafe.cpp:563:2: предупреждение: многострочный комментарий [-Wcomment] ../CCafe/ccafe.cpp:874:2: предупреждение: многострочный комментарий [-Wcomment] g++ -c -I/usr/include/ -I/usr/include/c++/4.6 -m32 -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I../CCafe -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I../CCafe -I. -o moc_ccafewnd.o moc_ccafewnd.cpp g++ -m64 -Wl,-O1 -o CCafe main.o ccafewnd.o stations.o ccafe.o moc_ccafewnd.o -L/usr/lib/x86_64-linux-gnu -lsqlite3 -lQtGui -lQtCore -lpthread /usr/bin/ld: i386 architecture of input file `main.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `ccafewnd.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `stations.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `ccafe.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `moc_ccafewnd.o' is incompatible with i386:x86-64 output ccafewnd.o: In function `ccafeWnd::ccafeWnd(QWidget*)': ccafewnd.cpp:(.text+0x5d): undefined reference to `operator new(unsigned int)' ccafewnd.o: In function `Ui_ccafeWnd::setupUi(QMainWindow*)': ccafewnd.cpp:(.text._ZN11Ui_ccafeWnd7setupUiEP11QMainWindow[Ui_ccafeWnd::setupUi(QMainWindow*)]+0xb8): undefined reference to `operator new(unsigned int)' ccafewnd.cpp:(.text._ZN11Ui_ccafeWnd7setupUiEP11QMainWindow[Ui_ccafeWnd::setupUi(QMainWindow*)]+0x12e): undefined reference to `operator new(unsigned int)' ccafewnd.cpp:(.text._ZN11Ui_ccafeWnd7setupUiEP11QMainWindow[Ui_ccafeWnd::setupUi(QMainWindow*)]+0x1e7): undefined reference to `operator new(unsigned int)' ccafewnd.cpp:(.text._ZN11Ui_ccafeWnd7setupUiEP11QMainWindow[Ui_ccafeWnd::setupUi(QMainWindow*)]+0x2a0): undefined reference to `operator new(unsigned int)' ccafewnd.o:ccafewnd.cpp:(.text._ZN11Ui_ccafeWnd7setupUiEP11QMainWindow[Ui_ccafeWnd::setupUi(QMainWindow*)]+0x35c): more undefined references to `operator new(unsigned int)' follow ccafe.o: In function `CCafe::get_stations_count()': ccafe.cpp:(.text+0x308): undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)' make: Выход из каталога `/home/cynic/CCafe/QTCCafe/CCafe-build-desktop' ccafe.cpp:(.text+0x328): undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)' ccafe.o: In function `CCafe::get_price_count()': ccafe.cpp:(.text+0x418): undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)' ccafe.cpp:(.text+0x438): undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)' ccafe.o: In function `CCafe::get_admin_count()': ccafe.cpp:(.text+0x528): undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)' ccafe.o:ccafe.cpp:(.text+0x548): more undefined references to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)' follow ccafe.o: In function `std::vector<station, std::allocator<station> >::_M_insert_aux(__gnu_cxx::__normal_iterator<station*, std::vector<station, std::allocator<station> > >, station const&)': ccafe.cpp:(.text._ZNSt6vectorI7stationSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_[std::vector<station, std::allocator<station> >::_M_insert_aux(__gnu_cxx::__normal_iterator<station*, std::vector<station, std::allocator<station> > >, station const&)]+0x101): undefined reference to `operator new(unsigned int)' ccafe.o: In function `std::vector<price, std::allocator<price> >::_M_insert_aux(__gnu_cxx::__normal_iterator<price*, std::vector<price, std::allocator<price> > >, price const&)': ccafe.cpp:(.text._ZNSt6vectorI5priceSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_[std::vector<price, std::allocator<price> >::_M_insert_aux(__gnu_cxx::__normal_iterator<price*, std::vector<price, std::allocator<price> > >, price const&)]+0xd7): undefined reference to `operator new(unsigned int)' ccafe.o: In function `std::vector<admin, std::allocator<admin> >::_M_insert_aux(__gnu_cxx::__normal_iterator<admin*, std::vector<admin, std::allocator<admin> > >, admin const&)': ccafe.cpp:(.text._ZNSt6vectorI5adminSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_[std::vector<admin, std::allocator<admin> >::_M_insert_aux(__gnu_cxx::__normal_iterator<admin*, std::vector<admin, std::allocator<admin> > >, admin const&)]+0xd7): undefined reference to `operator new(unsigned int)' ccafe.o: In function `std::vector<history, std::allocator<history> >::_M_insert_aux(__gnu_cxx::__normal_iterator<history*, std::vector<history, std::allocator<history> > >, history const&)': ccafe.cpp:(.text._ZNSt6vectorI7historySaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_[std::vector<history, std::allocator<history> >::_M_insert_aux(__gnu_cxx::__normal_iterator<history*, std::vector<history, std::allocator<history> > >, history const&)]+0x111): undefined reference to `operator new(unsigned int)' ccafe.o: In function `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<char*>(char*, char*, std::allocator<char> const&)': ccafe.cpp:(.text._ZNSsC2IPcEET_S1_RKSaIcE[_ZNSsC5IPcEET_S1_RKSaIcE]+0x39): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&)' ccafe.cpp:(.text._ZNSsC2IPcEET_S1_RKSaIcE[_ZNSsC5IPcEET_S1_RKSaIcE]+0xb6): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&)' moc_ccafewnd.o:(.rodata._ZTV8ccafeWnd[vtable for ccafeWnd]+0xf4): undefined reference to `non-virtual thunk to QWidget::devType() const' moc_ccafewnd.o:(.rodata._ZTV8ccafeWnd[vtable for ccafeWnd]+0xf8): undefined reference to `non-virtual thunk to QWidget::paintEngine() const' moc_ccafewnd.o:(.rodata._ZTV8ccafeWnd[vtable for ccafeWnd]+0xfc): undefined reference to `non-virtual thunk to QWidget::metric(QPaintDevice::PaintDeviceMetric) const' collect2: выполнение ld завершилось с кодом возврата 1 make: *** [CCafe] Ошибка 1 Процесс «/usr/bin/make» завершился с кодом 2. Возникла ошибка при сборке проекта CCafe (цель: Desktop) Во время выполнения сборки на этапе «Сборка»
|
Это сообщение отредактировал(а) Alkash - 22.3.2012, 19:34
--------------------
Подпись >> /dev/null
|