qnx

How do you install an ssh server on qnx?

I'm working on a qnx device, and I want to be able to ssh into it. Does anyone have a primer on getting something like openSSH up and running? ...

Can I use confstr to set up two nameservers?

Hi, I am trying to set two dynamic nameserver IP addresses in my QNX system. I have been able to use confstr to set up an address by setting a "_nameserver=xxx.xxx.xxx.xxx" string into _CS_RESOLVE. Then res_search returns the correct IP address for a given name. I actually have two questions: How do I set up two nameservers (prima...

QNX Object oriented threads in c++

Hello, I want to create a parallel object oriented system in QNX using c++ and threads. How do I do this? I tried: pthread_t our_thread_id; pthread_create(&our_thread_id, NULL, &functionA ,NULL); with function A being a pointer to a function: void *functionA() { //do something } However this function only works in C and not C++. ...

QNX c++ thread question

Hello, I have a question concerning this code which I want to run on QNX: class ConcreteThread : public Thread { public: ConcreteThread(int test) { testNumber = test; } void *start_routine() { for(int i = 0; i < 10; i++) { sleep(1); cout << testNumber << endl; } } private: ...

Best unit testing framework for old school QNX ?

I'm working on an old variant of unix (qnx 4.x to be exact). I'm trying to shoe-horn in modern software methodologies atop 20+ year old technology. In short I need a unit testing framework for QNX. Keep in mind we've got a bare bones C compiler and that's pretty much it. Anyone got any suggestions on how I can unit test this beast? ...

How to change Eclipse run script in QNX6?

Related to another question, we want to change the eclipse run command. I found that eclipse can run executing the script: /usr/qnx630/host/qnx6/x86/usr/bin/qde.sh But the startup configuration is not written there. The only thing the script does is executing the file: /usr/qnx630/host/qnx6/x86/usr/qde/eclipse/eclipse This file is ...

Python on an Real-Time Operation System (RTOS)

Hello, I am planning to implement a small-scale data acquisition system on an RTOS platform. (Either on a QNX or an RT-Linux system.) As far as I know, these jobs are performed using C / C++ to get the most out of the system. However I am curious to know and want to learn some experienced people's opinions before I blindly jump into th...

Cannot start gvim with photon-gui (can't find a valid font)

I'm having a problem trying to get gvim 7.2 working under QNX6.4.1 and Photon. Every time I try to start it I get the following error: E665: Cannot start GUI, no valid font found and I get the console vim instead. I think I've problem with my Photon configuration, or gvim configuration. As I already wrote, I've been using Photon, no ...

Scanf with Signals

I have a signal that blocks SIGINT and basically says "Sorry, you can't quit.\n" The issue is this can occur during a scanf. When this occurs during a scanf, scanf takes in the printf as input. How can I do a printf that will cause scanf to basically hit the enter key automatically. I don't care that I am getting bad input. I just wan...

How to get around "multiple defined symbols" in linking with gcc.

I am using an older system that has gcc 2.95.3, I have to link in two objects that although they have nothing to do with each other, they each have similarly named methods. I can't rename either of them, but I would hope there is a way to build them as to not have the linker complain. The methods it is complaining about are each intern...

How can I go about debugging this SIGSEV in gdb?

I am building previously working code, but I am getting a seg fault and I can't figure out what went wrong. gdb catches the error, but it doesn't point to an obvious cause. The source line it shows is a function name, so it doesn't even get into the function. If I look at the dissasembly of the instruction it is still setting up the stac...

Problems using teamcity command line to perform ssh remote login

I was wondering if anyone has tried using teamcity's command line builder to perform ssh remote login. Right now, I would like to automate some testing on a QNX neutrino OS which is currently unsupported by teamcity. As a work around, I setup a ssh server on the target qnx machine so i could ssh and sftp the executables in. Firstly, t...