Target launcher@: Error Invalid argument set

bridged with qnx.development_tools
Post Reply
Matt Boothe

Target launcher@: Error Invalid argument set

Post by Matt Boothe » Tue Jun 15, 2004 8:14 pm

Can someone translate "Invalid argument setting working dir /tmp/" to
English for me.

That is the error message I get when I try to execute "Hello, World" on my
target. My target has a /tmp directory and it is running qconn. The
exectuable is transferred into the /tmp directory but is doesn't execute and
I get that error message.

Any pointers would be appreciated.

David Gibbs

Re: Target launcher@: Error Invalid argument

Post by David Gibbs » Wed Jun 16, 2004 1:43 pm

Matt Boothe <embeddedmatt@yahoo.com> wrote:
Can someone translate "Invalid argument setting working dir /tmp/" to
English for me.

That is the error message I get when I try to execute "Hello, World" on my
target. My target has a /tmp directory and it is running qconn. The
exectuable is transferred into the /tmp directory but is doesn't execute and
I get that error message.

Any pointers would be appreciated.
Version clash? Are both the host (IDE) and target (qconn) from the same
release of Momentics?

-David
--
Please follow-up to newsgroup, rather than personal email.
David Gibbs
QNX Training Services
dagibbs@qnx.com

John Nagle

Re: Target launcher@: Error Invalid argument

Post by John Nagle » Wed Jun 16, 2004 5:24 pm

Are you trying to execute something on the target
using the "on" command?

Remote execution in QNX has weird semantics. Filenames
are normally relative to the source machine. Your
program may be trying to access "/tmp" on the source
machine, but networking may not allow that.

The help page for "on" may be helpful.

John Nagle
Team Overbot

David Gibbs wrote:
Matt Boothe <embeddedmatt@yahoo.com> wrote:

Can someone translate "Invalid argument setting working dir /tmp/" to
English for me.


That is the error message I get when I try to execute "Hello, World" on my
target. My target has a /tmp directory and it is running qconn. The
exectuable is transferred into the /tmp directory but is doesn't execute and
I get that error message.


Any pointers would be appreciated.


Version clash? Are both the host (IDE) and target (qconn) from the same
release of Momentics?

-David

Bill Caroselli

Re: Target launcher@: Error Invalid argument

Post by Bill Caroselli » Thu Jun 17, 2004 4:56 pm

"David Gibbs" <dagibbs@qnx.com> wrote in message
news:capiq3$a8a$1@inn.qnx.com...
Matt Boothe <embeddedmatt@yahoo.com> wrote:
Can someone translate "Invalid argument setting working dir /tmp/" to
English for me.

That is the error message I get when I try to execute "Hello, World" on
my
target. My target has a /tmp directory and it is running qconn. The
exectuable is transferred into the /tmp directory but is doesn't execute
and
I get that error message.

Any pointers would be appreciated.

Version clash? Are both the host (IDE) and target (qconn) from the same
release of Momentics?
Wouldn't it be reasonable for the new version in the IDE to display a
message that qconn on the target is an old incompatable version? Better
still, it could fall back to the old mode of operating, realizing that some
new features won't work.

Robert Muil

Re: Target launcher@: Error Invalid argument

Post by Robert Muil » Mon Jul 19, 2004 10:41 pm

Matt,

I just solved the same problem: it was a clash in versions of qconn.

The QNX 6.2.1 disk is (as someone else here pointed out) actually 6.2.0, but
patches the OS in the last part of the install. If you do not complete the
installation, many of the utilities and drivers (notably devn-rtl.so and
qconn) are old versions.

Copy the qconn binary across from the host computer and it will work.

Lovely error message, though, isn't it?

Robert.

"Matt Boothe" <embeddedmatt@yahoo.com> wrote in message
news:canjao$m9n$1@inn.qnx.com...
Can someone translate "Invalid argument setting working dir /tmp/" to
English for me.

That is the error message I get when I try to execute "Hello, World" on my
target. My target has a /tmp directory and it is running qconn. The
exectuable is transferred into the /tmp directory but is doesn't execute
and
I get that error message.

Any pointers would be appreciated.

Post Reply

Return to “qnx.development_tools”