make dep? No, Argument list too long.
Hello,
I'm having trouble with the "make dep" command. It gives me the error:
/bin/sh: line 1: scripts/mkdep: Argument list too long
I'm running fedora with kernel version 2.4.22-1.2149.nptl and XFree86
version 4.3.0-42
I searched on the internet a bit for an answer and I've found that
usually I would be told to "split up the commands," but I don't know how to
make "make" do that. All of the basic fixes I found are at
[url]http://www.linuxjournal.com/article.php?sid=6060[/url] Also I found a website
where someone had the same problem and the fix:
- Alejandro Mery: linux24 - mkdep: "Argument list too long" fix
updated stackprotector for gcc33 and 2.95
..cache files for mnemoc repository's 'O' packages
updated samba (3.0.0 FINAL!)
So I updated gcc32 to gcc33 and also installed samba. However the
"Makefile" in my /usr/src/linux directory appears to be unaware of gcc33 as
it still has "HOSTCC = gcc32" in the file. I tried editing Makefile by hand
and just changing the 2 to a 3, but that didn't work. I also tried
"rpm -i -force" with kernel-source-<version>, kernel-<version> and
make-3.79.1-18 but although that apparently replaces the Makefile, it doesn'
t appear to change the HOSTCC line.
I downloaded gcc-3.3.2-6.src.rpm from fedora.redhat.com, but every time
I try to install it I get the error:
warning: gcc-3.3.2-6.src.rpm: V3 DSA signature: NOKEY, key ID <bla>
any ideas greatly appreciated..
-me
Re: make dep? No, Argument list too long.
Bill wrote:[color=blue]
> Hello,
>
> I'm having trouble with the "make dep" command. It gives me the error:
>
> /bin/sh: line 1: scripts/mkdep: Argument list too long
>
> I'm running fedora with kernel version 2.4.22-1.2149.nptl and XFree86
> version 4.3.0-42
>
> I searched on the internet a bit for an answer and I've found that
> usually I would be told to "split up the commands," but I don't know how to
> make "make" do that. All of the basic fixes I found are at
> [url]http://www.linuxjournal.com/article.php?sid=6060[/url] Also I found a website
> where someone had the same problem and the fix:
>
> - Alejandro Mery: linux24 - mkdep: "Argument list too long" fix
> updated stackprotector for gcc33 and 2.95
> .cache files for mnemoc repository's 'O' packages
> updated samba (3.0.0 FINAL!)
>
> So I updated gcc32 to gcc33 and also installed samba. However the
> "Makefile" in my /usr/src/linux directory appears to be unaware of gcc33 as
> it still has "HOSTCC = gcc32" in the file. I tried editing Makefile by hand
> and just changing the 2 to a 3, but that didn't work. I also tried
> "rpm -i -force" with kernel-source-<version>, kernel-<version> and
> make-3.79.1-18 but although that apparently replaces the Makefile, it doesn'
> t appear to change the HOSTCC line.
>
> I downloaded gcc-3.3.2-6.src.rpm from fedora.redhat.com, but every time
> I try to install it I get the error:
>
> warning: gcc-3.3.2-6.src.rpm: V3 DSA signature: NOKEY, key ID <bla>
>
> any ideas greatly appreciated..
>
> -me[/color]
Are you using /bin/bash (with /bin/sh symlink) or are you just using
plain old /bin/sh? If so, that may solve your problem.
--
Ben M.
----------------
What are Software Patents for?
To protect the small enterprise from bigger companies.
What do Software Patents do?
In its current form, they protect only companies with
big legal departments as they:
a.) Patent everything no matter how general
b.) Sue everybody. Even if the patent can be argued
invalid, small companies can ill-afford the
typical $500k cost of a law-suit (not to mention
years of harassment).
Don't let them take away your right to program
whatever you like. Make a stand on Software Patents
before its too late.
Read about the ongoing battle at [url]http://swpat.ffii.org/[/url]
----------------
Re: make dep? No, Argument list too long.
On Sat, 07 Feb 2004 00:56:02 -0700, Bill wrote:
[color=blue]
> Hello,
>
> I'm having trouble with the "make dep" command. It gives me the error:
>
> /bin/sh: line 1: scripts/mkdep: Argument list too long
>
> I'm running fedora with kernel version 2.4.22-1.2149.nptl and XFree86
> version 4.3.0-42
>
> I searched on the internet a bit for an answer and I've found that
> usually I would be told to "split up the commands," but I don't know how to
> make "make" do that. All of the basic fixes I found are at
> [url]http://www.linuxjournal.com/article.php?sid=6060[/url] Also I found a website
> where someone had the same problem and the fix:
>
> - Alejandro Mery: linux24 - mkdep: "Argument list too long" fix
> updated stackprotector for gcc33 and 2.95
> .cache files for mnemoc repository's 'O' packages
> updated samba (3.0.0 FINAL!)
>
> So I updated gcc32 to gcc33 and also installed samba. However the
> "Makefile" in my /usr/src/linux directory appears to be unaware of gcc33 as
> it still has "HOSTCC = gcc32" in the file. I tried editing Makefile by hand
> and just changing the 2 to a 3, but that didn't work. I also tried
> "rpm -i -force" with kernel-source-<version>, kernel-<version> and
> make-3.79.1-18 but although that apparently replaces the Makefile, it doesn'
> t appear to change the HOSTCC line.
>
> I downloaded gcc-3.3.2-6.src.rpm from fedora.redhat.com, but every time
> I try to install it I get the error:
>
> warning: gcc-3.3.2-6.src.rpm: V3 DSA signature: NOKEY, key ID <bla>
>
> any ideas greatly appreciated..[/color]
Hmmm, let's see: You should tell us...
1. ... which compiler you originally used to compile the
kernel.
2. ... the exact commands you are using to compile the kernel.
3. ... the reason for compiling your own kernel.
4. ... the reason for trying a compiler on the kernel that is not working
for a kernel compile (gcc32 is explicitly for compiling RH or Fedora
kernels. Not nice, just the way it is. Read the release-notes.).
5. ... the reason for trying to install a SRPM instead of a binary (Note
the "src" in the package name).
You get the warning message from the gcc install because have haven't yet
imported the gpg keys to verify package authenticity.
HTH
Andreas
Re: make dep? No, Argument list too long.
Thanks, I kind of gave up though. Completely reinstalled fedora and didn't
run that 'up2date' automatic update thing and everything's been working fine
since.
-me
"Andreas Tretow" <andreas.tretow-ng@gmx.de> wrote in message
news:pan.2004.02.09.15.00.14.121919@gmx.de...[color=blue]
> On Sat, 07 Feb 2004 00:56:02 -0700, Bill wrote:
>[color=green]
> > Hello,
> >
> > I'm having trouble with the "make dep" command. It gives me the[/color][/color]
error:[color=blue][color=green]
> >
> > /bin/sh: line 1: scripts/mkdep: Argument list too long
> >
> > I'm running fedora with kernel version 2.4.22-1.2149.nptl and[/color][/color]
XFree86[color=blue][color=green]
> > version 4.3.0-42
> >
> > I searched on the internet a bit for an answer and I've found that
> > usually I would be told to "split up the commands," but I don't know how[/color][/color]
to[color=blue][color=green]
> > make "make" do that. All of the basic fixes I found are at
> > [url]http://www.linuxjournal.com/article.php?sid=6060[/url] Also I found a website
> > where someone had the same problem and the fix:
> >
> > - Alejandro Mery: linux24 - mkdep: "Argument list too long" fix
> > updated stackprotector for gcc33 and 2.95
> > .cache files for mnemoc repository's 'O' packages
> > updated samba (3.0.0 FINAL!)
> >
> > So I updated gcc32 to gcc33 and also installed samba. However the
> > "Makefile" in my /usr/src/linux directory appears to be unaware of gcc33[/color][/color]
as[color=blue][color=green]
> > it still has "HOSTCC = gcc32" in the file. I tried editing Makefile by[/color][/color]
hand[color=blue][color=green]
> > and just changing the 2 to a 3, but that didn't work. I also tried
> > "rpm -i -force" with kernel-source-<version>, kernel-<version> and
> > make-3.79.1-18 but although that apparently replaces the Makefile, it[/color][/color]
doesn'[color=blue][color=green]
> > t appear to change the HOSTCC line.
> >
> > I downloaded gcc-3.3.2-6.src.rpm from fedora.redhat.com, but every[/color][/color]
time[color=blue][color=green]
> > I try to install it I get the error:
> >
> > warning: gcc-3.3.2-6.src.rpm: V3 DSA signature: NOKEY, key ID <bla>
> >
> > any ideas greatly appreciated..[/color]
>
> Hmmm, let's see: You should tell us...
>
> 1. ... which compiler you originally used to compile the
> kernel.
> 2. ... the exact commands you are using to compile the kernel.
> 3. ... the reason for compiling your own kernel.
> 4. ... the reason for trying a compiler on the kernel that is not working
> for a kernel compile (gcc32 is explicitly for compiling RH or Fedora
> kernels. Not nice, just the way it is. Read the release-notes.).
> 5. ... the reason for trying to install a SRPM instead of a binary (Note
> the "src" in the package name).
>
> You get the warning message from the gcc install because have haven't yet
> imported the gpg keys to verify package authenticity.
>
> HTH
> Andreas[/color]