qnx-neutrino

How to add passwd command to system builder project?

大兔子大兔子 提交于 2020-01-07 01:52:12
问题 I have a system builder project to make a QNX OS image that needs to be accomplished. The problem is it is not currently supporting passwd command. I mean when I write the image and try passwd root command, I get this output: /bin/passwd[1]: root::0:0:Superuser:/root:/bin/sh: cannot execute - No such file or directory /bin/passwd[2]: bin:x:1:1:Binaries: cannot execute - No such file or directory /bin/passwd[3]: daemon:x:2:2:System: cannot execute - No such file or directory /bin/passwd[4]:

make: install: Command not found

微笑、不失礼 提交于 2019-12-20 03:53:16
问题 While I'm trying to install git from its source on qnx , I get the following error (note that pound is a prompt for sudo in qnx ): # ./configure --without-iconv --with-perl=/usr/pkg/bin/perl --with-python=/usr/qnx650/host/qnx6/x86/usr/bin/python # make all # make install GEN perl/PM.stamp SUBDIR gitweb SUBDIR ../ make[2]: `GIT-VERSION-FILE' is up to date. GEN git-instaweb SUBDIR git-gui SUBDIR gitk-git SUBDIR perl SUBDIR git_remote_helpers SUBDIR templates install -d -m 755 '/usr/local/bin'

Find a file that was created within five days of another file in shell

时间秒杀一切 提交于 2019-12-18 04:21:49
问题 i'm still pretty new to scripting so stick with me and if you have any questions please feel free to ask. Okay, so: I have a file let's say file.txt file.txt exists in a directory /this/is/the/directory/file.txt In a separate directory .log files exist that tell me what happens when file.txt was created. fuubar.log, fuu.log, bar.log, this.log, that.log, some.log, other.log ...there is an unknown number of these logs. I need to gather all the log files that occurred +-5 days of the file.txt

Usb mass storage file system location on QNX

末鹿安然 提交于 2019-12-13 00:37:09
问题 I need my software to be notifed that usb mass storage stick has been inserterd, also i need locationa where this stick has been mounted. Is it possible to obtain this information, especially location on fs where stick has been mounted from any C library ? For instertion i already know usbd_connect() and i'm using it. Unfortunatelly there is no information with respect to location on fs. regards JosiP 回答1: io-usb should be up and running on your target. Add the library "usbdi" to your project

QNX runtime error: unknown symbol __stack_chk_guard

醉酒当歌 提交于 2019-12-11 13:17:42
问题 I'm trying to test the backward compatibility between QNX 6.6.0 and 6.5.0 (in concequence of an earlier question I've got). I compiled a relatively simple program using SDP6.6.0 and executed it on Neutrino 6.5.0. When I execute the program the follow runtime error pops up: unknown symbol: __stack_chk_guard ldd:FATAL: Could not resolve all symbols What is causing this?.. (I've found the solution but it wasn't working rightaway. When I started writing this question I realized the error I made.

How to create a QNX neutrino 7.0.0 bootable cd image?

僤鯓⒐⒋嵵緔 提交于 2019-12-11 05:28:42
问题 I am a newbie in QNX and I have a question: How to generate a QNX 7.0.0 bootable image for x86 (32-bit) that I can burn on a CD disk and boot on my pc? I have asked a question that looks similar to this, but it was about booting with Photon graphics, but as user "v836" mentioned, it's outdated, so this question is about booting to "just console" QNX with full set of unix utilities, hdd detection/mounting support, networking and (if possible) c compiller. I will be glad if somebody have a link

What's the difference between QNX 6.5.0(SP1) and 6.6.0 (backwards compatibility)?

自古美人都是妖i 提交于 2019-12-11 03:59:46
问题 Couldn't find actual release notes that point out the exact difference between QNX 6.5.1 and 6.6.0. I know that Photon's not supported anymore. So far, I've got SDP 6.6.0 but it might be that I need my software also to run on 6.5.0. So what is the actual backward compatibility level to 6.5.0? Some state that "6.6 is binary compatible with 6.5" [1] - can anyone support this with official documents? Since QNX follows the POSIX standard, I suppose that the APIs are the same and should be indeed

send int over socket, c, c++

佐手、 提交于 2019-12-07 04:11:59
问题 I have troubles with sending an array of ints over a socket. the code looks like this Program 1 (running on windows) int bmp_info_buff[3]; /* connecting and others */ /* Send informations about bitmap */ send(my_socket, (char*)bmp_info_buff, 3, 0); Program 2 (running on neutrino) /*buff to store bitmap information size, with, length */ int bmp_info_buff[3]; /* stuff */ /* Read informations about bitmap */ recv(my_connection, bmp_info_buff, 3, NULL); printf("Size of bitmap: %d\nwidth: %d

send int over socket, c, c++

人盡茶涼 提交于 2019-12-05 08:21:14
I have troubles with sending an array of ints over a socket. the code looks like this Program 1 (running on windows) int bmp_info_buff[3]; /* connecting and others */ /* Send informations about bitmap */ send(my_socket, (char*)bmp_info_buff, 3, 0); Program 2 (running on neutrino) /*buff to store bitmap information size, with, length */ int bmp_info_buff[3]; /* stuff */ /* Read informations about bitmap */ recv(my_connection, bmp_info_buff, 3, NULL); printf("Size of bitmap: %d\nwidth: %d\nheight: %d\n", bmp_info_buff[0], bmp_info_buff[1], bmp_info_buff[2]); It should print Size of bitmap: 64

make: install: Command not found

假装没事ソ 提交于 2019-12-02 08:05:30
While I'm trying to install git from its source on qnx , I get the following error (note that pound is a prompt for sudo in qnx ): # ./configure --without-iconv --with-perl=/usr/pkg/bin/perl --with-python=/usr/qnx650/host/qnx6/x86/usr/bin/python # make all # make install GEN perl/PM.stamp SUBDIR gitweb SUBDIR ../ make[2]: `GIT-VERSION-FILE' is up to date. GEN git-instaweb SUBDIR git-gui SUBDIR gitk-git SUBDIR perl SUBDIR git_remote_helpers SUBDIR templates install -d -m 755 '/usr/local/bin' make: install: Command not found make: *** [install] Error 127 I've seen many make: %XXX%: Command not