#29 Make fails at main.o

open
nobody
None
5
2014-08-15
2005-04-13
Sean Quinlan
No

My initial guess is that my Qt version (3.3.1) is newer
than the version is built for, making the assumption
that pqt-designer-3.2.x was designed against Qt 3.2?

SuSE 9.2 Professional, Qt 3.3.1 (KDE 3.2.1).

make[1]: Entering directory
`/usr/local/src/pqt-designer-3.2.x/app'
g++ -c -pipe -O2 -march=i586 -mcpu=i686
-fmessage-length=0 -Wall -fPIC -Wall -W -O2 -march=i586
-mcpu=i686 -fmessage-length=0 -Wall -fPIC -D_REENTRANT
-DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-DQT_SHARED -I/usr/lib/qt3/mkspecs/default -I.
-I../designer -I/usr/include -I/usr/lib/qt3/include
-I/usr/X11R6/include -o main.o main.cpp
g++ -o pqt-designer main.o -L../designer
-L../assistant -L/usr/lib/ -L/usr/lib/qt3/lib/
-L/usr/X11R6/lib/ -L/usr/lib/qt3/lib/ -L/usr/lib
-L/usr/X11R6/lib -L/usr/lib/mysql/
-L/usr/src/packages/BUILD/qt-x11-free-3.3.1/lib
-L/usr/lib/ -ldesignercore -lqui -lqassistantclient
-lpng -lz -lqt-mt -lXext -lX11 -lm -lSM -lICE -ldl
-lpthread
../assistant/libqassistantclient.a(qassistantclient.o)(.text+0x1f2):
In function `QAssistantClient::socketError(int)':
: undefined reference to `QAssistantClient::tr(char
const*, char const*)'
../assistant/libqassistantclient.a(qassistantclient.o)(.text+0x201):
In function `QAssistantClient::socketError(int)':
: undefined reference to
`QAssistantClient::error(QString const&)'
../assistant/libqassistantclient.a(qassistantclient.o)(.text+0x257):
In function `QAssistantClient::socketError(int)':
: undefined reference to `QAssistantClient::tr(char
const*, char const*)'
../assistant/libqassistantclient.a(qassistantclient.o)(.text+0x266):
In function `QAssistantClient::socketError(int)':
: undefined reference to
`QAssistantClient::error(QString const&)'
../assistant/libqassistantclient.a(qassistantclient.o)(.text+0x287):
In function `QAssistantClient::socketError(int)':
: undefined reference to `QAssistantClient::tr(char
const*, char const*)'
../assistant/libqassistantclient.a(qassistantclient.o)(.text+0x296):
In function `QAssistantClient::socketError(int)':
: undefined reference to
`QAssistantClient::error(QString const&)'
../assistant/libqassistantclient.a(qassistantclient.o)(.text+0x450):
In function `QAssistantClient::readStdError()':
: undefined reference to `QAssistantClient::tr(char
const*, char const*)'
../assistant/libqassistantclient.a(qassistantclient.o)(.text+0x462):
In function `QAssistantClient::readStdError()':
: undefined reference to
`QAssistantClient::error(QString const&)'
../assistant/libqassistantclient.a(qassistantclient.o)(.text+0x50d):
In function `QAssistantClient::socketConnectionClosed()':
: undefined reference to
`QAssistantClient::assistantClosed()'
../assistant/libqassistantclient.a(qassistantclient.o)(.text+0x551):
In function `QAssistantClient::socketConnected()':
: undefined reference to
`QAssistantClient::assistantOpened()'
../assistant/libqassistantclient.a(qassistantclient.o)(.text+0x570):
In function `QAssistantClient::socketConnected()':
: undefined reference to
`QAssistantClient::assistantOpened()'
../assistant/libqassistantclient.a(qassistantclient.o)(.text+0x708):
In function `QAssistantClient::readPort()':
: undefined reference to `QAssistantClient::tr(char
const*, char const*)'
../assistant/libqassistantclient.a(qassistantclient.o)(.text+0x717):
In function `QAssistantClient::readPort()':
: undefined reference to
`QAssistantClient::error(QString const&)'
../assistant/libqassistantclient.a(qassistantclient.o)(.text+0xa4b):
In function `QAssistantClient::openAssistant()':
: undefined reference to `QAssistantClient::tr(char
const*, char const*)'
../assistant/libqassistantclient.a(qassistantclient.o)(.text+0xa85):
In function `QAssistantClient::openAssistant()':
: undefined reference to
`QAssistantClient::error(QString const&)'
../assistant/libqassistantclient.a(qassistantclient.o)(.text+0xc29):
In function `QAssistantClient::~QAssistantClient
[in-charge deleting]()':
: undefined reference to `vtable for QAssistantClient'
../assistant/libqassistantclient.a(qassistantclient.o)(.text+0xe69):
In function `QAssistantClient::~QAssistantClient
[in-charge]()':
: undefined reference to `vtable for QAssistantClient'
../assistant/libqassistantclient.a(qassistantclient.o)(.text+0x1099):
In function `QAssistantClient::~QAssistantClient
[not-in-charge]()':
: undefined reference to `vtable for QAssistantClient'
../assistant/libqassistantclient.a(qassistantclient.o)(.text+0x12e5):
In function
`QAssistantClient::QAssistantClient[in-charge](QString
const&, QObject*, char const*)':
: undefined reference to `vtable for QAssistantClient'
../assistant/libqassistantclient.a(qassistantclient.o)(.text+0x1685):
In function
`QAssistantClient::QAssistantClient[not-in-charge](QString
const&, QObject*, char const*)':
: undefined reference to `vtable for QAssistantClient'
collect2: ld returned 1 exit status
make[1]: *** [pqt-designer] Error 1
make[1]: Leaving directory
`/usr/local/src/pqt-designer-3.2.x/app'
make: *** [sub-app] Error 2

Discussion