momentics

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]:

cc1plus: Virtual memory exhausted

坚强是说给别人听的谎言 提交于 2019-12-05 11:07:46
I am trying to build a project in QNX Momentics IDE (4.6) using qcc in Linux. I fail to succeed the build process with the following error: virtual memory exhausted: Cannot allocate memory /opt/qnx641/host/linux/x86/usr/lib/gcc/i386-pc-nto-qnx6.4.0/4.3.3/cc1plus error 1 The project has a cpp file with more than 1.3 MLOC. This one is an autogenerated code from a large Matlab/SIMULINK simulation model so it is not easy to divide and conquer. It is hard to understand if it is LOC limit of qcc compiler or due to a programming practice in the autogenerated code. I would like to ask: Is there any