i am trying to build the rclnodejs package on the AGX Orin. It is running the latest Jetpack 5.0.2 and I build ROS2 humble on it. Next, I am trying to compile this nodejs package:
You can clone it and if you have sourced your ros2 environment build it with npm install --loglevel silly.
It creates a makefile with a extremely long gcc call which results in the error:
g++: fatal error: cannot execute ‘/usr/lib/gcc/aarch64-linux-gnu/10/cc1plus’: execv: Argument list too long
This is where I am currently stuck. Is there a nice way of increasing the arg_max setting?
And by the way on the Xavier with a older jetpack version this was working…