Frank Maier
|
First steps with DevEnv 6.40.0 failure
|
Frank Maier
04/29/2009 9:56 AM
post28340
|
First steps with DevEnv 6.40.0 failure
Hi,
i am doing my first steps with the dev enviroment 6.4.0 under windows as dev host. But in spite of the good quickstart
guide the "hello world" program wil not run on the qnx target system. I work over the example project of the guide with
the "Welcome to the QNX Momentics IDE" text ...
When i try to start the compiled program on the target (release) i get the message "Could not find library libcpp.so.4"
... ok that is correct, this file is not on the target but on the filesystem of the windows host. So i tried to link
this lib static but i do not accomplish that ... so i copy this lib file directly in the directory on the target where
the binary will run.
At the next try the message "Could not find library libc.so.3" ... ok ... same procedure with this file ...
At the next try the message "Process 1769544 (MyTest_g) terminated SIGSEGV code=1 fltno=11 ip=7829bd9c mapaddr=00023d9c.
ref=00000000" appears ... so a segmentation violation happened on the target.
I tried the same with the debug version: also a segmentation violation but before this message:
"warning: Host file D:/QNX640/target/qnx6/shle/usr/lib/ldqnx.so.2 does not match target file /usr/lib/ldqnx.so.2" ...
It seems that not the dev env is misconfigured but already the loader on the target machine crashes ... :-(
I have already take the qconn program from dev env instead of the qconn of my target ... no effect.
Here is some information about my target machine:
Could anybody give me some hints for searching the reasons ..?
Thanx!
Frank
|
|
|