LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-23-2008, 02:46 PM   #1
zxLinux
LQ Newbie
 
Registered: Jul 2008
Posts: 17

Rep: Reputation: 0
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
 
Old 07-24-2008, 02:20 AM   #2
Valery Reznic
ELF Statifier author
 
Registered: Oct 2007
Posts: 675

Rep: Reputation: 136Reputation: 136
Quote:
Originally Posted by zxLinux View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Argument list too long ust Linux - Software 11 10-26-2009 11:16 AM
Argument List Too Long - For ALL Commands peteHelgren Linux - General 17 07-12-2008 06:44 AM
Help: tar = argument list too long k2merlinsix Linux - General 13 03-26-2008 02:41 PM
Argument list too long trutnev Linux - General 3 04-22-2004 05:32 PM
/bin/rm: Argument list too long dragon49 Linux - Software 1 09-02-2003 01:27 PM


All times are GMT -5. The time now is 10:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration