[OS:N:] Failed Compiling the RH 9.0 Kernel
Frederic Dernbach <[email protected]>
| Newsgroups | gmane.org.open-source-now |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I realize I experience the same problem that Palle experineced a month
ago (see below).
I fail compiling the kernel (compilation error while "make bzImage").
See Palle's description of error below.
Here is what I do :
- I'm not an experimented Linux administrator. I love RedHat and I use
it on a desktop computer (private stuff, not professional).
- I bought a brand new HP Pavillion ze 5400 and I struggle install RH
9.0 on it. Therefore I follow the instructions given on this Web page:
http://home.elp.rr.com/mcghees/ze5470us.htm
- I installed RH 9.0 (all packages from the 3 CDs of binary
distribution). Therefore, I have the sources of kernel 2.4.20-8 on the
machine. I have kudzu and pcmcia not started (as instructed by the
WebPage)
- I installed the acpi patch (acpi-20021212-2.4.20.diff.gz) as
requested.
- I configured the kernel compilation options as requested in the Web
page ("make xconfig"):
a/ I chose "Pentium II / Celeron / Pentium Pro" under the processor type
and features button (I have an Intel Celeron 2.2 GHz on the labtop).I
selected 'n' n for Toshiba and Dell Laptop support. I made sure Local
APIC support on uniprocessors is set to n.
b/ Under the General setup button, I selected the ACPI Support button,
selected y for everything except Toshiba Laptop Extras.
c/ under the FileSystems button, I selected m for NTFS system support
- I started compile the kernel. "Make dep" went OK. But "make bzImage"
went wrong and produced the compilation error.
Hope you can help me because this goes beyond my capabilities.
Fred
********************* Palle's problem description *******************
Palle,
Please reply to me off-list with the steps leading up to make bzImage.
--jeremy
On Thu, 2002-05-16 at 07:53, Palle Phanindranadh Reddy wrote:
> when i am building my own kernel image in /usr/src/linux/ by issuing
the command make bzImage
> when it enter in to the net directory at socket.c
> it is displying the following error which i am not able to find it.
>
> make[2]: Entering directory `/usr/src/linux/net'
> cc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i386
-DKBUILD_BASENAME=socket -c -o socket.o socket.c
> In file included from /usr/src/linux/include/net/tcp.h:1037,
from /usr/src/linux/include/net/tux.h:37,
> from socket.c:86:
> /usr/src/linux/include/net/tcp_ecn.h: In function
`TCP_ECN_send':/usr/src/linux/include/net/tcp_ecn.h:54: union has no
member named `af_inet'
> /usr/src/linux/include/net/tcp_ecn.h:61: union has no member named
`af_inet'
> make[2]: *** [socket.o] Error 1
> make[2]: Leaving directory `/usr/src/linux/net'
> make[1]: *** [first_rule] Error 2
> make[1]: Leaving directory `/usr/src/linux/net'
> make: *** [_dir_net] Error 2
>
> so please can you suggest it why it is displaying like that
>
> thanks
> phani
>
>
> ________________________________________________________
> Outgrown your current e-mail service?
> Get a 25MB Inbox, POP3 Access, No Ads and No Taglines with LYCOS MAIL
PLUS.
> http://login.mail.lycos.com/brandPage.shtml?pageId=plus
>
>
>
> _______________________________________________
> More Info: http://www.redhat.com/opensourcenow/
> Manage Subscription:
https://listman.redhat.com/mailman/listinfo/open-source-now-list/
> Post: open-source-now-list redhat com
> Archive: http://www.redhat.com/mailing-lists/open-source-now-list/
_______________________________________________
Subscription and Archive: https://www.redhat.com/mailman/listinfo/open-source-now-list/
-
For K12OS technical help join K12OSN:
<https://www.redhat.com/mailman/listinfo/k12osn>