Compiling Qt Application

Marco Castorina marco.castorina at yahoo.it
Mon Apr 26 04:48:30 EDT 2010


Dear all,
 sorry for the cross-posting, but maybe this is a more
appropriate list. I'm trying to compile a Qt application
for the Ben, and I'm almost there. I launch this command

mipsel-openwrt-linux-g++ -I 
../OpenWrtToolchain/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include/ -L../OpenWrtToolchain/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib -lQtGui -lQtCore -lpthread  qtexample.cpp

and the linker doesn't find some of the libraries:

/home/marco/Documents/Programs/OpenWrtToolchain/openwrt-xburst/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/lib/gcc/mipsel-openwrt-linux-uclibc/4.3.3/../../../../mipsel-openwrt-linux-uclibc/bin/ld: warning: libdirectfb-1.4.so.0, needed by 
../OpenWrtToolchain/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib/libQtGui.so, not found (try using -rpath or -rpath-link)
[...]

How do I solve? Where do I say to uClibc where to
look? Sould I change the -L parameters?

Thanks again,

 -- 
Marco







More information about the discussion mailing list


interactive