Mini2440, UBUNTU, ARM-LINUX-GCC: ld: cannot find -lqtopia2

fedeponte
Hello everybody!
I'm a new user of UBUNTU, FORUM, and Mini2440 Platform.

I known all 2 mounth ago and I must develop with this.

I have a problem: I can't start beacause I never compile example project
"Hello".

I have done a virtual machine with Virtual Box on Windows7 64bit and I have
install and upgrade UBUNTU 11.10.

With terminal I try to compile the "Hello" example from CD and I read so:

ubuntu@ubuntu-VirtualBox:~$ cd
/home/ubuntu/opt/FriendlyARM/mini2440/arm-qtopia/hello
ubuntu@ubuntu-VirtualBox:~/opt/FriendlyARM/mini2440/arm-qtopia/hello$ ls
build  description-pak  hello.cpp      hello.h    hello.pro.user  Makefile
copia  hello_base.ui    hello.desktop  hello.pro  main.cpp
ubuntu@ubuntu-VirtualBox:~/opt/FriendlyARM/mini2440/arm-qtopia/hello$
./build
rm -f .obj/release-shared/moc_hello_base.o
rm -f .moc/release-shared/moc_hello_base.cpp
rm -f .ui/release-shared/hello_base.cpp .ui/release-shared/hello_base.h
rm -f .obj/release-shared/hello.o .obj/release-shared/main.o
.obj/release-shared/hello_base.o
rm -f *~ core *.core
/home/ubuntu/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qt2/bi
n/uic
hello_base.ui -o .ui/release-shared/hello_base.h
/home/ubuntu/opt/FriendlyARM/toolschain/4.4.3/bin/arm-linux-g++ -c -pipe
-DQWS -fno-exceptions -fno-rtti -Wall -W -Os  -DQT_NO_QWS_VFB
-DQTOPIA_DATA_LINKING -DQCONFIG=\"qconfig-qpe.h\" -DQTOPIA_TARGET=\"hello\"
-DQTOPIA_TRTARGET=\"hello\" -DQT_NO_DEBUG
-I/home/ubuntu/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtop
ia/mkspecs/qws/linux-arm-g++
-I. -I../qtopia-2.2.0-FriendlyARM/qtopia/include
-I../qtopia-2.2.0-FriendlyARM/qt2/include -I.ui/release-shared/
-I.moc/release-shared/ -o .obj/release-shared/hello.o hello.cpp
/home/ubuntu/opt/FriendlyARM/toolschain/4.4.3/bin/arm-linux-g++ -c -pipe
-DQWS -fno-exceptions -fno-rtti -Wall -W -Os  -DQT_NO_QWS_VFB
-DQTOPIA_DATA_LINKING -DQCONFIG=\"qconfig-qpe.h\" -DQTOPIA_TARGET=\"hello\"
-DQTOPIA_TRTARGET=\"hello\" -DQT_NO_DEBUG
-I/home/ubuntu/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtop
ia/mkspecs/qws/linux-arm-g++
-I. -I../qtopia-2.2.0-FriendlyARM/qtopia/include
-I../qtopia-2.2.0-FriendlyARM/qt2/include -I.ui/release-shared/
-I.moc/release-shared/ -o .obj/release-shared/main.o main.cpp
/home/ubuntu/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qt2/bi
n/uic
hello_base.ui -i hello_base.h -o .ui/release-shared/hello_base.cpp
/home/ubuntu/opt/FriendlyARM/toolschain/4.4.3/bin/arm-linux-g++ -c -pipe
-DQWS -fno-exceptions -fno-rtti -Wall -W -Os  -DQT_NO_QWS_VFB
-DQTOPIA_DATA_LINKING -DQCONFIG=\"qconfig-qpe.h\" -DQTOPIA_TARGET=\"hello\"
-DQTOPIA_TRTARGET=\"hello\" -DQT_NO_DEBUG
-I/home/ubuntu/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtop
ia/mkspecs/qws/linux-arm-g++
-I. -I../qtopia-2.2.0-FriendlyARM/qtopia/include
-I../qtopia-2.2.0-FriendlyARM/qt2/include -I.ui/release-shared/
-I.moc/release-shared/ -o .obj/release-shared/hello_base.o
.ui/release-shared/hello_base.cpp
/home/ubuntu/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qt2/bi
n/moc
.ui/release-shared/hello_base.h -o .moc/release-shared/moc_hello_base.cpp
/home/ubuntu/opt/FriendlyARM/toolschain/4.4.3/bin/arm-linux-g++ -c -pipe
-DQWS -fno-exceptions -fno-rtti -Wall -W -Os  -DQT_NO_QWS_VFB
-DQTOPIA_DATA_LINKING -DQCONFIG=\"qconfig-qpe.h\" -DQTOPIA_TARGET=\"hello\"
-DQTOPIA_TRTARGET=\"hello\" -DQT_NO_DEBUG
-I/home/ubuntu/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtop
ia/mkspecs/qws/linux-arm-g++
-I. -I../qtopia-2.2.0-FriendlyARM/qtopia/include
-I../qtopia-2.2.0-FriendlyARM/qt2/include -I.ui/release-shared/
-I.moc/release-shared/ -o .obj/release-shared/moc_hello_base.o
.moc/release-shared/moc_hello_base.cpp
/home/ubuntu/opt/FriendlyARM/toolschain/4.4.3/bin/arm-linux-g++  -o hello
.obj/release-shared/hello.o .obj/release-shared/main.o
.obj/release-shared/hello_base.o .obj/release-shared/moc_hello_base.o  
-luuid -lqtopia2 -lqtopia -lqpe
-L/home/ubuntu/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtop
ia/lib
-L/home/ubuntu/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qt2/
lib
-lqte 
/home/ubuntu/opt/FriendlyARM/toolschain/4.4.3/bin/../lib/gcc/arm-none-linux-gnue
abi/4.4.3/../../../../arm-none-linux-gnueabi/bin/ld:
cannot find -lqtopia2
collect2: ld returned 1 exit status
make: *** [hello] Errore 1

There is somebody to help me?
Thank you so much!
Fede.

fedeponte
I'm SOLVED the problem!

In the proget file, I wrote the path:

LIBS +=
-L/home/ubuntu/opt/FriendlyARM/mini2440/rootfs_qtopia_qt4/opt/Qtopia/lib/
-lqtopia2

NOW "./BUILD" RUN CORRECTLY!!!

davef
Excellent, wish more people would close off a problem with their solution.

Keep up the good work!

veena
can somebody please help me..
I have smdk2410 board, ported linux-3.0.4 on it. I inserted a marvell wi2wi
wireless card into the board.Now i need to cross compile iw and iperf
commands for the same board. I used arm-2010q1 toolchain.i found following
error while cross compiling iw command..

/home/my_pc/iw-3.0# make
CC=/home/my_pc/Downloads/arm-2010q1/arm-none-linux-gnueabi/bin/gcc
LDFLAGS=/home/my_pc/Downloads/arm-2010q1/arm-none-linux-gnueabi/bin/ld 

 CC   iw
/home/my_pc/Downloads/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/..
/../../../arm-none-linux-gnueabi/bin/ld:
cannot find -lnl
collect2: ld returned 1 exit status
make: *** [iw] Error 1


Any help for any command would be appreciated..

kavya
can somebody help me

i am working with mini2440(friendly arm)board.i have tried to compile a
simple example program using the arm-linux-gcc command but the board says
no such file found though i installed it.also,i am trying to use sudo
apt-get install command but even this is not supported.i think i need to
use ubuntu on my board to solve these problems.but, i don't know if my
board supports it.if it does someone please give me the link.