Log in

View Full Version : undefined reference


vkmgeek
11th May 2006, 08:36
Hi
I m comipling one application that is provided by qt itself for embedded device.... when I do make, following error comes...
Can anyone stat me reason for this error? and how should I proceed to solve it? I think of grepping but then how?
Thanks in advance for putting inputs..

g++ -c -I/home/linuette/host/Qt/qpe/qtopia-free-1.6.2/include
-I/opt/host/i386/i386-unknown-linux/include -pipe -DQWS -fno-exceptions -fno-rtti -O2 -Wall -W -DNO_DEBUG -I.moc/linux-generic-g++/ -o .obj/linux-generic-g++//clockbase.o clockbase.cpp /opt/host/i386/i386-unknown-linux/bin/moc clock.h -o .moc/linux-generic-g++//moc_clock.cpp
g++ -c -I/home/linuette/host/Qt/qpe/qtopia-free-1.6.2/include
-I/opt/host/i386/i386-unknown-linux/include -pipe -DQWS -fno-exceptions -fno-rtti -O2 -Wall -W -DNO_DEBUG -I.moc/linux-generic-g++/ -o .obj/linux-generic-g++//moc_clock.o .moc/linux-generic-g++//moc_clock.cpp
/opt/host/i386/i386-unknown-linux/bin/moc analogclock.h -o .moc/linux-generic-g++//moc_analogclock.cpp
g++ -c -I/home/linuette/host/Qt/qpe/qtopia-free-1.6.2/include
-I/opt/host/i386/i386-unknown-linux/include -pipe -DQWS -fno-exceptions -fno-rtti -O2 -Wall -W -DNO_DEBUG -I.moc/linux-generic-g++/ -o .obj/linux-generic-g++//moc_analogclock.o
.moc/linux-generic-g++//moc_analogclock.cpp
/opt/host/i386/i386-unknown-linux/bin/moc clockbase.h -o .moc/linux-generic-g++//moc_clockbase.cpp
g++ -c -I/home/linuette/host/Qt/qpe/qtopia-free-1.6.2/include
-I/opt/host/i386/i386-unknown-linux/include -pipe -DQWS -fno-exceptions -fno-rtti -O2 -Wall -W -DNO_DEBUG -I.moc/linux-generic-g++/ -o .obj/linux-generic-g++//moc_clockbase.o
.moc/linux-generic-g++//moc_clockbase.cpp
gcc -L/home/linuette/host/Qt/qpe/qtopia-free-1.6.2/lib
-Wl,-rpath,/home/linuette/host/Qt/qpe/qtopia-free-1.6.2/lib
-L/opt/host/i386/i386-unknown-linux/lib
-Wl,-rpath,/opt/host/i386/i386-unknown-linux/lib -o
/home/linuette/host/Qt/qpe/qtopia-free-1.6.2/bin/clock
.obj/linux-generic-g++//clock.o .obj/linux-generic-g++//analogclock.o
.obj/linux-generic-g++//main.o .obj/linux-generic-g++//clockbase.o
.obj/linux-generic-g++//moc_clock.o
.obj/linux-generic-g++//moc_analogclock.o
.obj/linux-generic-g++//moc_clockbase.o -lqpe -lqtopia -lqte
/home/linuette/host/Qt/qpe/qtopia-free-1.6.2/lib/libqtopia.so: undefined reference to `non-virtual thunk to QSpinBox::valueChange()'
/home/linuette/host/Qt/qpe/qtopia-free-1.6.2/lib/libqpe.so: undefined reference to `QTextView::setText(QString const&)'
/home/linuette/host/Qt/qpe/qtopia-free-1.6.2/lib/libqpe.so: undefined reference to `QWhatsThis::add(QWidget*, QString const&)'
/home/linuette/host/Qt/qpe/qtopia-free-1.6.2/lib/libqpe.so: undefined reference to `QListView::show()'
/home/linuette/host/Qt/qpe/qtopia-free-1.6.2/lib/libqpe.so: undefined reference to `QListView::setSelectionMode(QListView::SelectionMode)'
/home/linuette/host/Qt/qpe/qtopia-free-1.6.2/lib/libqpe.so: undefined reference to `QListViewItem::setup()'
/home/linuette/host/Qt/qpe/qtopia-free-1.6.2/lib/libqpe.so: undefined reference to `QListView::setAllColumnsShowFocus(bool)'
/home/linuette/host/Qt/qpe/qtopia-free-1.6.2/lib/libqpe.so: undefined reference to `QListView::setFont(QFont const&)'
/home/linuette/host/Qt/qpe/qtopia-free-1.6.2/lib/libqpe.so: undefined reference to `QListView::setSorting(int, bool)'
/home/linuette/host/Qt/qpe/qtopia-free-1.6.2/lib/libqpe.so: undefined reference to `QListViewItem::sortChildItems(int,
bool)'/home/linuette/host/Qt/qpe/qtopia-free-1.6.2/lib/libqpe.so:
undefined reference to `QWhatsThis::leaveWhatsThisMode(QString const&, QPoint const&)'
/home/linuette/host/Qt/qpe/qtopia-free-1.6.2/lib/libqpe.so: undefined reference to `QListView::styleChange(QStyle&)'
/home/linuette/host/Qt/qpe/qtopia-free-1.6.2/lib/libqpe.so: undefined reference to `QMetaObject::new_metaobject(char const*, char const*, QMetaData*, int, QMetaData*, int, QClassInfo*, int)'
/home/linuette/host/Qt/qpe/qtopia-free-1.6.2/lib/libqpe.so: undefined reference to `QListView::className() const'
/home/linuette/host/Qt/qpe/qtopia-free-1.6.2/lib/libqpe.so: undefined reference to `QListViewItem::paintFocus(QPainter*, QColorGroup const&, QRect const&)'
/home/linuette/host/Qt/qpe/qtopia-free-1.6.2/lib/libqpe.so: undefined reference to `QListView::focusInEvent(QFocusEvent*)'
/home/linuette/host/Qt/qpe/qtopia-free-1.6.2/lib/libqpe.so: undefined reference to `QListView::contentsMouseDoubleClickEvent(QMouseEvent*)'
/home/linuette/host/Qt/qpe/qtopia-free-1.6.2/lib/libqpe.so: undefined reference to `QListView::setRootIsDecorated(bool)'
/home/linuette/host/Qt/qpe/qtopia-free-1.6.2/lib/libqpe.so: undefined reference to `non-virtual thunk to QMenuBar::updateItem(int)'
/home/linuette/host/Qt/qpe/qtopia-free-1.6.2/lib/libqpe.so: undefined reference to `QListView::setColumnWidthMode(int, QListView::WidthMode)'
/home/linuette/host/Qt/qpe/qtopia-free-1.6.2/lib/libqpe.so: undefined reference to `QListViewItemIterator::operator++()'
/home/linuette/host/Qt/qpe/qtopia-free-1.6.2/lib/libqpe.so: undefined reference to `QListView::~QListView()'
/home/linuette/host/Qt/qpe/qtopia-free-1.6.2/lib/libqpe.so: undefined reference to `QListViewItemIterator::~QListViewItemIterator()'
/home/linuette/host/Qt/qpe/qtopia-free-1.6.2/lib/libqpe.so: undefined reference to `QTextView::QTextView(QWidget*, char const*)'
/home/linuette/host/Qt/qpe/qtopia-free-1.6.2/lib/libqpe.so: undefined reference to `QListView::setColumnAlignment(int, int)'
/home/linuette/host/Qt/qpe/qtopia-free-1.6.2/lib/libqpe.so: undefined reference to `QListViewItem::activate()'