LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   compile problem: argument list too long, how to fix for all !!!! (https://www.linuxquestions.org/questions/linux-newbie-8/compile-problem-argument-list-too-long-how-to-fix-for-all-657745/)

zxLinux 07-23-2008 01:46 PM

compile problem: argument list too long, how to fix for all !!!!
 
hello
i am new to linux and i don't know how to fix many common problems, right now i'm trying to compile some programs and i got that error

'argument list too long',

i want to know how to increase the argument limit, because i can't edit the code directly to fix that problem

i have tried to recompile the kernel with a higher value for ARG_MAX, defined at limits.h but i have failed to compile a good bootable kernel :(

is there something else i can do to fix that error???

thanks for your advise

Valery Reznic 07-24-2008 01:20 AM

Quote:

Originally Posted by zxLinux (Post 3224020)
hello
i am new to linux and i don't know how to fix many common problems, right now i'm trying to compile some programs and i got that error

'argument list too long',

It's looks like for some reason you have to much environment variables.

command 'env' show what environment variables you have.
You can remove unused ones and then your problem should go away.

Valery


All times are GMT -5. The time now is 04:23 AM.