Skip to main content

why the cvm cant't run the DemoFrame ?

3 replies [Last post]
friver
Offline
Joined: 2010-08-11
Points: 0

I use this command for test the compiled cvm for my mips board.

./bin/cvm -cp democlasses basis.DemoFrame
./bin/cvm: can't resolve symbol '_Znwj' in lib '/home/qte/qt-2.3.10/lib/libqte.so.2'.

but have this err.

I find the _Znwj in the libqtawt.so :

nm libqtawt.so | grep _Znwj
U _Znwj@@GLIBCXX_3.4

this is my cross compile infomation:

mipsel-linux-gcc -v
Using built-in specs.
Target: mipsel-linux-uclibc
Configured with: ../gcc-4.2.0-20070124/configure --prefix=/opt/toolchains/crosstools_hf-linux-2.6.18.0_gcc-4.2-11ts_uclibc-nptl-0.9.29-20070423_20090508/ --build=mipsel-linux --host=mipsel-linux --target=mipsel-linux-uclibc --with-build-sysroot=/usr/src/redhat/BUILD/build_uClibc --enable-languages=c,c++ --disable-__cxa_atexit --enable-target-optspace --with-gnu-ld --with-float=hard --enable-threads --infodir=/opt/toolchains/crosstools_hf-linux-2.6.18.0_gcc-4.2-11ts_uclibc-nptl-0.9.29-20070423_20090508/info --mandir=/opt/toolchains/crosstools_hf-linux-2.6.18.0_gcc-4.2-11ts_uclibc-nptl-0.9.29-20070423_20090508/man --with-arch=mips32 --disable-libmudflap --disable-nls --with-gnu-plts
Thread model: posix
gcc version 4.2.0 20070124 (prerelease) - BRCM 11ts-20090508

anyone have some suggest for me?

I add the libawt path to LD_LIBRARY_PATH for the board shell , but not useful for this .

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
friver
Offline
Joined: 2010-08-11
Points: 0

bu the way , I confused of the uclinux and uclibc, have many little problem.

friver
Offline
Joined: 2010-08-11
Points: 0

it's OK, when I changed the uclibc cross compile and it's uclibc to a libc and nomarl cross gcc .

but have some err when run . I will ask it in a new thread.

friver
Offline
Joined: 2010-08-11
Points: 0

sorry , the infomation some is wrong.

I use grep cmd for libqte, and find it's hava the symbol _Znwj:

nm libqte.so.2.3.10 | grep _Znwj
U _Znwj

but why cvm can't find this?