Hi,
I’m trying to build Petalinux and get the following error during make:
mb-linux-ar -ro ...
make[3]: execvp: mb-linux-ar: Argument list too long
The argument list itself is indeed long. Also, the directory from which I’m calling make is long – so all in all I appear to be hitting the maximum for the allowable argument size. This is a problem using both sh and csh shells.
I’ve tried moving the directory to a shorter path and I do get past this error. However, this is a big inconvenience. I thought about changing the PETALINUX variable (defined in settings.sh) so that it’s relative rather than fixed. However, the process cd's in and out of directories so changing to relative paths does not seem to be very easy to do.
Does anyone know of a way around this besides moving to a shorter path? Am I missing something?
Thanks,
Faten