I am writing an application using qwt runs on arm Linux, QWT was complied successfully, and I was able to compile and run my program using QwtPlot runs on Desktop Ubuntu 11.04. However, I got the following error while compiling to arm.

root@zuoshu-laptop:/home/zuoshu/qtProjects/QtGUIsample# make
/opt/qt-4.7.1/bin/uic mainwindow.ui -o ui_mainwindow.h
arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/qt-4.7.1/mkspecs/qws/linux-arm-g++ -I. -I/opt/qt-4.7.1/include/QtCore -I/opt/qt-4.7.1/include/QtNetwork -I/opt/qt-4.7.1/include/QtGui -I/opt/qt-4.7.1/include -I/usr/local/qwt-6.0.1/include -I. -I. -o main.o main.cpp
arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/qt-4.7.1/mkspecs/qws/linux-arm-g++ -I. -I/opt/qt-4.7.1/include/QtCore -I/opt/qt-4.7.1/include/QtNetwork -I/opt/qt-4.7.1/include/QtGui -I/opt/qt-4.7.1/include -I/usr/local/qwt-6.0.1/include -I. -I. -o mainwindow.o mainwindow.cpp
/opt/qt-4.7.1/bin/moc -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/qt-4.7.1/mkspecs/qws/linux-arm-g++ -I. -I/opt/qt-4.7.1/include/QtCore -I/opt/qt-4.7.1/include/QtNetwork -I/opt/qt-4.7.1/include/QtGui -I/opt/qt-4.7.1/include -I/usr/local/qwt-6.0.1/include -I. -I. mainwindow.h -o moc_mainwindow.cpp
arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/qt-4.7.1/mkspecs/qws/linux-arm-g++ -I. -I/opt/qt-4.7.1/include/QtCore -I/opt/qt-4.7.1/include/QtNetwork -I/opt/qt-4.7.1/include/QtGui -I/opt/qt-4.7.1/include -I/usr/local/qwt-6.0.1/include -I. -I. -o moc_mainwindow.o moc_mainwindow.cpp
arm-linux-g++ -Wl,-O1 -Wl,-rpath,/opt/qt-4.7.1/lib -o QtGUIsample main.o mainwindow.o moc_mainwindow.o -L/opt/qt-4.7.1/lib -L/usr/local/qwt-6.0.1/lib/ -lqwt -lQtGui -L/usr/local/tslib/lib -L/opt/qt-4.7.1/lib -lQtNetwork -lQtCore -lpthread
/usr/local/arm/4.4.1/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/../../../../arm-none-linux-gnueabi/bin/ld: skipping incompatible /usr/local/qwt-6.0.1/lib//libqwt.so when searching for -lqwt
/usr/local/arm/4.4.1/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lqwt
collect2: ld returned 1 exit status
make: *** [QtGUIsample] Error 1
root@zuoshu-laptop:/home/zuoshu/qtProjects/QtGUIsample#