You are not logged in.

#1 2008-01-30 03:33:51

ssl6
Member
From: Ottawa, ON, CA
Registered: 2007-08-30
Posts: 594

qpspmanager compile issue

anyone here have a psp, or use qpspmanager? i wasn't sure exactly where the best place to post this was. but i've had the source for qpspmanager 2.0.2 for a while now. it compiled fine on 2 machines running 32bit arch. but it won't compile on my 64 bit arch install on my main rig, which is where i would be able to use it. i figured which all this qt jabber going on, and qpsp 2 being qt4 based, i would try to compile it again. and it gives me the same trouble. i tried renaming the makefile and running qmake to build a new one, but still won't compile

just wondering if anyone here who uses it, or would be interested in using it may be able to lend a hand since i really don't know what im doing


this is a signature

Offline

#2 2008-01-30 07:15:18

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: qpspmanager compile issue

What error messages do you get?

Offline

#3 2008-01-30 07:23:31

ssl6
Member
From: Ottawa, ON, CA
Registered: 2007-08-30
Posts: 594

Re: qpspmanager compile issue

this help?

sh-3.2$ cd /home/urmom/Desktop/qpspmanager-2.0.2
sh-3.2$ make
make: *** No rule to make target `/opt/qt4/mkspecs/linux-g++/qmake.conf', needed by `Makefile'.  Stop.
sh-3.2$ qmake
sh-3.2$ make
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtGui -I/usr/include -I. -Isrc -Iobj -Iui -o obj/moc_backupswidget.o obj/moc_backupswidget.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtGui -I/usr/include -I. -Isrc -Iobj -Iui -o obj/moc_addisodialog.o obj/moc_addisodialog.cpp
/usr/bin/rcc -name qpspmanager src/qpspmanager.qrc -o resources/qrc_qpspmanager.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtGui -I/usr/include -I. -Isrc -Iobj -Iui -o obj/qrc_qpspmanager.o resources/qrc_qpspmanager.cpp
g++ -Wl,-rpath,/usr/lib -o bin/QPSPManager obj/main.o obj/mainwindow.o obj/optionsmanager.o obj/applicationsmanager.o obj/optionswidget.o obj/qpspmanager.o obj/videosmanager.o obj/videoswidget.o obj/applicationswidget.o obj/backupswidget.o obj/isoswidget.o obj/backupsmanager.o obj/pspapplication.o obj/filemanager.o obj/isosmanager.o obj/qpspmanagerexception.o obj/qpspmanagerpbpexception.o obj/video.o obj/encodevideodialog.o obj/isocompressor.o obj/psxconverter.o obj/addisodialog.o obj/videojob.o obj/pspendian.o obj/videojobmanager.o obj/savegame.o obj/helpwidget.o obj/whichunix.o obj/fsusageunix.o obj/moc_mainwindow.o obj/moc_optionsmanager.o obj/moc_applicationsmanager.o obj/moc_optionswidget.o obj/moc_qpspmanager.o obj/moc_videosmanager.o obj/moc_videoswidget.o obj/moc_applicationswidget.o obj/moc_backupsmanager.o obj/moc_backupswidget.o obj/moc_isoswidget.o obj/moc_encodevideodialog.o obj/moc_addisodialog.o obj/moc_videojob.o obj/moc_videojobmanager.o obj/moc_isosmanager.o obj/moc_helpwidget.o obj/qrc_qpspmanager.o    -L/usr/lib -lQtGui -L/usr/lib -L/usr/X11R6/lib -lpng -lSM -lICE -pthread -pthread -lXi -lXrender -lXrandr -lXfixes -lXcursor -lXinerama -lfreetype -lfontconfig -lXext -lX11 -lQtCore -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread
collect2: ld terminated with signal 11 [Segmentation fault]
/usr/bin/ld: i386 architecture of input file `obj/main.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/mainwindow.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/optionsmanager.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/applicationsmanager.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/optionswidget.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/qpspmanager.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/videosmanager.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/videoswidget.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/applicationswidget.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/backupswidget.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/isoswidget.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/backupsmanager.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/pspapplication.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/filemanager.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/isosmanager.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/qpspmanagerexception.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/qpspmanagerpbpexception.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/video.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/encodevideodialog.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/isocompressor.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/psxconverter.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/addisodialog.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/videojob.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/pspendian.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/videojobmanager.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/savegame.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/helpwidget.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/whichunix.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/fsusageunix.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/moc_mainwindow.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/moc_optionsmanager.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/moc_applicationsmanager.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/moc_optionswidget.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/moc_qpspmanager.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/moc_videosmanager.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/moc_videoswidget.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/moc_applicationswidget.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/moc_backupsmanager.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/moc_isoswidget.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/moc_encodevideodialog.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/moc_videojob.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/moc_videojobmanager.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/moc_isosmanager.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `obj/moc_helpwidget.o' is incompatible with i386:x86-64 output
obj/mainwindow.o: In function `Ui_MainWindow::retranslateUi(QMainWindow*)':
mainwindow.cpp:(.text._ZN13Ui_MainWindow13retranslateUiEP11QMainWindow[Ui_MainWindow::retranslateUi(QMainWindow*)]+0x70): undefined reference to `operator new(unsigned int)'
mainwindow.cpp:(.text._ZN13Ui_MainWindow13retranslateUiEP11QMainWindow[Ui_MainWindow::retranslateUi(QMainWindow*)]+0x180): undefined reference to `operator new(unsigned int)'
mainwindow.cpp:(.text._ZN13Ui_MainWindow13retranslateUiEP11QMainWindow[Ui_MainWindow::retranslateUi(QMainWindow*)]+0x293): undefined reference to `operator new(unsigned int)'
mainwindow.cpp:(.text._ZN13Ui_MainWindow13retranslateUiEP11QMainWindow[Ui_MainWindow::retranslateUi(QMainWindow*)]+0x3a9): undefined reference to `operator new(unsigned int)'
mainwindow.cpp:(.text._ZN13Ui_MainWindow13retranslateUiEP11QMainWindow[Ui_MainWindow::retranslateUi(QMainWindow*)]+0x4bf): undefined reference to `operator new(unsigned int)'
obj/mainwindow.o:mainwindow.cpp:(.text._ZN13Ui_MainWindow13retranslateUiEP11QMainWindow[Ui_MainWindow::retranslateUi(QMainWindow*)]+0x5d5): more undefined references to `operator new(unsigned int)' follow
obj/filemanager.o: In function `FileManager::copyFile(QString, QString, bool)':
filemanager.cpp:(.text+0x1a50): undefined reference to `__divdi3'
obj/filemanager.o: In function `FileManager::copyFolder(QDir, QDir, bool)':
filemanager.cpp:(.text+0x2bb2): undefined reference to `operator new(unsigned int)'
obj/isosmanager.o: In function `ISOsManager::initComputerDir()':
isosmanager.cpp:(.text+0xaef): undefined reference to `operator new(unsigned int)'
obj/isosmanager.o: In function `ISOsManager::initPSPDir()':
isosmanager.cpp:(.text+0x111f): undefined reference to `operator new(unsigned int)'
obj/isosmanager.o: In function `ISOsManager::scanDir(QString, QList<QString>&)':
isosmanager.cpp:(.text+0x1541): undefined reference to `operator new(unsigned int)'
obj/isosmanager.o: In function `QList<QPair<QString, long long> >::append(QPair<QString, long long> const&)':
isosmanager.cpp:(.text._ZN5QListI5QPairI7QStringxEE6appendERKS2_[QList<QPair<QString, long long> >::append(QPair<QString, long long> const&)]+0x35): undefined reference to `operator new(unsigned int)'
obj/encodevideodialog.o:encodevideodialog.cpp:(.text._ZN20Ui_EncodeVideoDialog7setupUiEP7QDialog[Ui_EncodeVideoDialog::setupUi(QDialog*)]+0xc5): more undefined references to `operator new(unsigned int)' follow
obj/isocompressor.o: In function `ISOCompressor::check_file_size(_IO_FILE*, int&, ISOCompressor::ciso_header&)':
isocompressor.cpp:(.text+0x112): undefined reference to `__divdi3'
obj/isocompressor.o: In function `ISOCompressor::expandISO(QString, QString)':
isocompressor.cpp:(.text+0x331): undefined reference to `__udivdi3'
obj/addisodialog.o: In function `Ui_AddISODialog::setupUi(QDialog*)':
addisodialog.cpp:(.text._ZN15Ui_AddISODialog7setupUiEP7QDialog[Ui_AddISODialog::setupUi(QDialog*)]+0xbc): undefined reference to `operator new(unsigned int)'
addisodialog.cpp:(.text._ZN15Ui_AddISODialog7setupUiEP7QDialog[Ui_AddISODialog::setupUi(QDialog*)]+0x115): undefined reference to `operator new(unsigned int)'
addisodialog.cpp:(.text._ZN15Ui_AddISODialog7setupUiEP7QDialog[Ui_AddISODialog::setupUi(QDialog*)]+0x173): undefined reference to `operator new(unsigned int)'
addisodialog.cpp:(.text._ZN15Ui_AddISODialog7setupUiEP7QDialog[Ui_AddISODialog::setupUi(QDialog*)]+0x1fd): undefined reference to `operator new(unsigned int)'
addisodialog.cpp:(.text._ZN15Ui_AddISODialog7setupUiEP7QDialog[Ui_AddISODialog::setupUi(QDialog*)]+0x293): undefined reference to `operator new(unsigned int)'
obj/addisodialog.o:addisodialog.cpp:(.text._ZN15Ui_AddISODialog7setupUiEP7QDialog[Ui_AddISODialog::setupUi(QDialog*)]+0x32f): more undefined references to `operator new(unsigned int)' follow
obj/moc_backupswidget.o:(.rodata._ZTV13BackupsWidget[vtable for BackupsWidget]+0x1d0): undefined reference to `non-virtual thunk to BackupsWidget::~BackupsWidget()'
obj/moc_backupswidget.o:(.rodata._ZTV13BackupsWidget[vtable for BackupsWidget]+0x1d8): undefined reference to `non-virtual thunk to BackupsWidget::~BackupsWidget()'
obj/moc_mainwindow.o:(.rodata._ZTV10MainWindow[vtable for MainWindow]+0xf4): undefined reference to `non-virtual thunk to QWidget::devType() const'
obj/moc_mainwindow.o:(.rodata._ZTV10MainWindow[vtable for MainWindow]+0xf8): undefined reference to `non-virtual thunk to QWidget::paintEngine() const'
obj/moc_mainwindow.o:(.rodata._ZTV10MainWindow[vtable for MainWindow]+0xfc): undefined reference to `non-virtual thunk to QWidget::metric(QPaintDevice::PaintDeviceMetric) const'
obj/moc_optionswidget.o:(.rodata._ZTV13OptionsWidget[vtable for OptionsWidget]+0xf0): undefined reference to `non-virtual thunk to QWidget::devType() const'
obj/moc_optionswidget.o:(.rodata._ZTV13OptionsWidget[vtable for OptionsWidget]+0xf4): undefined reference to `non-virtual thunk to QWidget::paintEngine() const'
obj/moc_optionswidget.o:(.rodata._ZTV13OptionsWidget[vtable for OptionsWidget]+0xf8): undefined reference to `non-virtual thunk to QWidget::metric(QPaintDevice::PaintDeviceMetric) const'
obj/moc_videoswidget.o:(.rodata._ZTV12VideosWidget[vtable for VideosWidget]+0xf0): undefined reference to `non-virtual thunk to QWidget::devType() const'
obj/moc_videoswidget.o:(.rodata._ZTV12VideosWidget[vtable for VideosWidget]+0xf4): undefined reference to `non-virtual thunk to QWidget::paintEngine() const'
obj/moc_videoswidget.o:(.rodata._ZTV12VideosWidget[vtable for VideosWidget]+0xf8): undefined reference to `non-virtual thunk to QWidget::metric(QPaintDevice::PaintDeviceMetric) const'
obj/moc_applicationswidget.o:(.rodata._ZTV18ApplicationsWidget[vtable for ApplicationsWidget]+0xf0): undefined reference to `non-virtual thunk to QWidget::devType() const'
obj/moc_applicationswidget.o:(.rodata._ZTV18ApplicationsWidget[vtable for ApplicationsWidget]+0xf4): undefined reference to `non-virtual thunk to QWidget::paintEngine() const'
obj/moc_applicationswidget.o:(.rodata._ZTV18ApplicationsWidget[vtable for ApplicationsWidget]+0xf8): undefined reference to `non-virtual thunk to QWidget::metric(QPaintDevice::PaintDeviceMetric) const'
obj/moc_isoswidget.o:(.rodata._ZTV10ISOsWidget[vtable for ISOsWidget]+0xf0): undefined reference to `non-virtual thunk to QWidget::devType() const'
obj/moc_isoswidget.o:(.rodata._ZTV10ISOsWidget[vtable for ISOsWidget]+0xf4): undefined reference to `non-virtual thunk to QWidget::paintEngine() const'
obj/moc_isoswidget.o:(.rodata._ZTV10ISOsWidget[vtable for ISOsWidget]+0xf8): undefined reference to `non-virtual thunk to QWidget::metric(QPaintDevice::PaintDeviceMetric) const'
obj/moc_encodevideodialog.o:(.rodata._ZTV17EncodeVideoDialog[vtable for EncodeVideoDialog]+0xfc): undefined reference to `non-virtual thunk to QWidget::devType() const'
obj/moc_encodevideodialog.o:(.rodata._ZTV17EncodeVideoDialog[vtable for EncodeVideoDialog]+0x100): undefined reference to `non-virtual thunk to QWidget::paintEngine() const'
obj/moc_encodevideodialog.o:(.rodata._ZTV17EncodeVideoDialog[vtable for EncodeVideoDialog]+0x104): undefined reference to `non-virtual thunk to QWidget::metric(QPaintDevice::PaintDeviceMetric) const'
obj/moc_helpwidget.o:(.rodata._ZTV10HelpWidget[vtable for HelpWidget]+0xf0): undefined reference to `non-virtual thunk to QWidget::devType() const'
obj/moc_helpwidget.o:(.rodata._ZTV10HelpWidget[vtable for HelpWidget]+0xf4): undefined reference to `non-virtual thunk to QWidget::paintEngine() const'
obj/moc_helpwidget.o:(.rodata._ZTV10HelpWidget[vtable for HelpWidget]+0xf8): undefined reference to `non-virtual thunk to QWidget::metric(QPaintDevice::PaintDeviceMetric) const'
make: *** [bin/QPSPManager] Error 1

this is a signature

Offline

#4 2008-01-30 07:57:10

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: qpspmanager compile issue

you could try to do a 'make clean' . It looks like it's trying to link i686 objects files. Maybe they were included  in the souce tarball.

Offline

#5 2008-01-30 15:38:13

ssl6
Member
From: Ottawa, ON, CA
Registered: 2007-08-30
Posts: 594

Re: qpspmanager compile issue

omg, that worked.........you have no idea what that means to me. i've spent ages on this, and that took 2 seconds


this is a signature

Offline

#6 2008-02-01 11:59:00

Torin
Member
Registered: 2007-03-01
Posts: 2

Re: qpspmanager compile issue

i'm interested in pkgbuild if you make one please give me a sign smile

Offline

Board footer

Powered by FluxBB