[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RH 6.2 Kernel 2.2.19 compile problem
- From: "Burke, Thomas G." <thomas_g_burke md northgrum com>
- To: "'Redhat-Install-List Redhat Com'" <redhat-install-list redhat com>,"'redhat-list redhat com'" <redhat-list redhat com>
- Subject: RH 6.2 Kernel 2.2.19 compile problem
- Date: Wed, 11 Jul 2001 09:59:40 -0400
> -----Original Message-----
> From: Burke, Thomas G.
> Sent: Wednesday, July 11, 2001 8:36 AM
> To: 'Steve Pardee'
> Subject: RE: RH 6.2 Kernel 2.2.19 compile problem
>
> Geez... What a pain... I've _NEVER_ since RH 3.0 had a problem like
> this...
>
> I rpm -e'd the kernel-source.
> rpm -ivh kernel-source...
> checked it out, missing include directory
> untarred the 2.2.19 source from kernel.org over everything...
> still no include directory
> rpm -Uvh --force the glibc updates
> include now exists
>
> "make dep" fails saying it can't find stuff in the asm directory.
>
> Checked, there is no asm directory... copied asm-i386 to asm...
> "make dep" fails with :
>
> make[2]: Entering directory `/usr/src/linux-2.2.19/kernel'
> make[2]: *** No rule to make target
> `/usr/src/linux-2.2.19/include/linux/autoconf.h', needed
> by `/usr/src/linux-2.2.19/include/linux/modules/context.ver'. Stop.
> make[2]: Leaving directory `/usr/src/linux-2.2.19/kernel'
> make[1]: *** [_sfdep_kernel] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.2.19'
> make: *** [dep-files] Error 2
>
>
> I'm 'bout ready to get fed up...
>
> -----Original Message-----
> From: Steve Pardee [SMTP:stevevp pacbell net]
> Sent: Friday, July 06, 2001 9:59 AM
> To: Burke, Thomas G.
> Subject: RE: RH 6.2 Kernel 2.2.19 compile problem
>
> Thomas,
>
> In the instances I have gotten those kinds of messages, it was typically
> caused by either a bad set of sources, or if there was a problem with my
> compiling tools. For instance have you installed any applications that
> might require a different version of glibc or did you rpm -Uvh any of
> your compiling tools? Either on could potentially be causing an
> incompatibility. If not just as an experiment you might want to go to
> www.kernel.org and try a new set of sources. Also it shouldn't make any
> difference, but somtimes, you might have a better chance of getting a
> clean set of kernel sources if you first rpm -e kernel-sources.xxx then
> doing a rpm -ivh kernel.sources.xxx. I personally am not that crazy
> about rpm-ing sources in most instances. Perhaps I could be leading you
> in the wrong direction, but you might want to take a look at those
> things. Let me know if you are still get stuck and perhaps I may have
> more suggestions.
>
> -Steve Pardee
>
> --
> stevevp pacbell com
>
> "Common sense is the collection of prejudices acquired by age eighteen."
>
> -Albert Einstein (1879-1955)
>
> Did that, now it won't even "make dep"... Damn, it looks broke-dick...
>
> now how do I fix that, I wonder...
>
> rm -rf 'd the /usr/linux/src directory & then did a rpm -U --force on
> all
> the 2.2.19 rpms
> that didn't work, so did an rpm -e on all kernel rpms & redid rpm -U
> --force
> on the 2.2.19 rpms..
>
> Now it's broke even worse. I think it's fair to say that I',
> momentarily
> confuzzed... The 2.2.17 directory is about empty, but it looks like I
> still
> have the 2.2.16 source tree, so I suppose I could try some stuff
> there...
>
> I wonder if my rpm's got corrupted in the transfer, or something? -
> you'd
> think that'd give an rpm error, or something, tho...
>
> It's complaining about a lack of an asm directory, among other
> things... I
> guess this will take some serious thought.
>
>
>
> > -----Original Message-----
> > From: Steve Pardee [SMTP:stevevp pacbell net]
> > Sent: Thursday, July 05, 2001 11:18 AM
> > To: redhat-install-list redhat com
> > Subject: Re: RH 6.2 Kernel 2.2.19 compile problem
> >
> > I would try removing everything in /usr/src/linux and untar a clean
> set of
> > sources under /usr/src.
> >
> > -Steve Pardee
> >
> > "Burke, Thomas G." wrote:
> >
> > > Hey gang,
> > >
> > > I just upgraded RH6.2 to the latest kernel. When I try to
> > recompile
> > > I get some errors during the ipmasq part of the build. Is there
> anyone
> > else
> > > who has had this problem? Any ideas out there on how to fix this?
> > >
> > > TIA,
> > > Tom
> > >
> > > > make[2]: Entering directory `/usr/src/linux-2.2.19/net/ipv4'
> > > > make all_targets
> > > > make[3]: Entering directory `/usr/src/linux-2.2.19/net/ipv4'
> > > > cc -D__KERNEL__ -I/usr/src/linux-2.2.19/include -Wall
> > -Wstrict-prototypes
> > > > -O2 -fomit-frame-pointer -fno-strict-aliasing
> > > > -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2
> > > > -malign-functions=2 -DCPU=686 -DEXPORT_SYMTAB -c
> > > > ip_masq.c
> > > > ip_masq.c:575: `ip_masq_hash' undeclared here (not in a function)
> > > > ip_masq.c:575: initializer element for
> `__ksymtab_ip_masq_hash.value'
> > is
> > > > not constant
> > > > ip_masq.c:576: `ip_masq_unhash' undeclared here (not in a
> function)
> > > > ip_masq.c:576: initializer element for
> > `__ksymtab_ip_masq_unhash.value' is
> > > > not constant
> > > > ip_masq.c:515: warning: `masq_port_lock' defined but not used
> > > > make[3]: *** [ip_masq.o] Error 1
> > > > make[3]: Leaving directory `/usr/src/linux-2.2.19/net/ipv4'
> > > > make[2]: *** [first_rule] Error 2
> > > > make[2]: Leaving directory `/usr/src/linux-2.2.19/net/ipv4'
> > > > make[1]: *** [_subdir_ipv4] Error 2
> > > > make[1]: Leaving directory `/usr/src/linux-2.2.19/net'
> > > > make: *** [_dir_net] Error 2
> > >
> > > _______________________________________________
> > > Redhat-install-list mailing list
> > > Redhat-install-list redhat com
> > > https://listman.redhat.com/mailman/listinfo/redhat-install-list
> >
> > --
> > stevevp pacbell com
> >
> > A man who has never gone to school may
> > steal from a freight car, but if he has a
> > university education he may steal the
> > whole railroad.
> >
> > --Franklin Delano Roosevelt
> >
> >
> >
> >
> >
> > _______________________________________________
> > Redhat-install-list mailing list
> > Redhat-install-list redhat com
> > https://listman.redhat.com/mailman/listinfo/redhat-install-list
>
>
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list redhat com
> https://listman.redhat.com/mailman/listinfo/redhat-install-list
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]