kernel argument list too long
Kernel limitation of argument list it's a problem, not for things I do, else is for things that others do, i "need" to compile aubit4gl, but configure gives me Argument List Too long, and I need to have more memory for arguments, how can y solve this?
kernel: 2.6.7
gcc: 3.3.2
Thanks
Quoted 7 lines · Mauricio R. Perez - Centro de Computos
Kernel limitation of argument list it's a problem, not for things I do, else is for things that others do, i "need" to compile aubit4gl, but configure gives me Argument List Too long, and I need to have more memory for arguments, how can y solve this?
kernel: 2.6.7
gcc: 3.3.2
Quoted 8 lines
Thanks
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Hi Mauricio,
Here is a canned answer to that age-old question:
http://lists.gnu.org/archive/html/bug-fileutils/2001-10/msg00048.html
Now in your case, I would find some way to get configure to do what you want it to without that long argument list.
Maybe you can find some files to modify manually to "hard code" your options in the tree of aubit4gl.
Perhaps there are a few Makefile variables that can be hardcoded.
I probably would not bother recompiling the kernel in order to get a larger environment space just to pass this huge tank of a command line for a single build.
Arthur Perry
Linux Systems/Software Architect
Lead Linux Engineer
On Thu, 2004-08-26 12:53:33 -0300, Mauricio R. Perez - Centro de Computos <[email protected]> wrote in message <[email protected]>:
Quoted 6 lines
Kernel limitation of argument list it's a problem, not for things I do, else is for things that others do, i "need" to compile aubit4gl, but configure gives me Argument List Too long, and I need to have more memory for arguments, how can y solve this?
kernel: 2.6.7
gcc: 3.3.2
$ vi .../linux-2.6.x/include/linux/binfmts.h +/MAX_ARG_PAGES
However, another fix would be to limit the size of supplied arguments, possibly by placing the source files not into a deep directory (thus avoiding long absolute paths) etc.
MfG, JBG
Signature · 4 lines
Jan-Benedict Glaw [email protected] . +49-172-7608481 _ O _ "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! O O O ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));