Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* compiling kernel 2.4.3
@ 2001-04-22 13:03 Kenneth Dunn
  2001-04-22 13:00 ` John Jasen
  2001-04-22 17:11 ` Michal Jaegermann
  0 siblings, 2 replies; 12+ messages in thread
From: Kenneth Dunn @ 2001-04-22 13:03 UTC (permalink / raw)
  To: axp-list

I get the following error while attempting to compile the
Linux kernel:

[root@athena linux]# make vmlinux
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o
scripts/split-include
scripts/split-include.c
scripts/split-include include/linux/autoconf.h include/config
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -mno-fp-regs -ffixed-8
-Wa,-mev6   -c -o init/main.o init/main.c
In file included from /usr/src/linux/include/linux/highmem.h:5,
                 from /usr/src/linux/include/linux/pagemap.h:16,
                 from /usr/src/linux/include/linux/locks.h:8,
                 from /usr/src/linux/include/linux/raid/md.h:36,
                 from init/main.c:24:
/usr/src/linux/include/asm/pgalloc.h:334: conflicting types for
`pte_alloc'
/usr/src/linux/include/linux/mm.h:399: previous declaration of `pte_alloc'
/usr/src/linux/include/asm/pgalloc.h:352: conflicting types for
`pmd_alloc'
/usr/src/linux/include/linux/mm.h:412: previous declaration of `pmd_alloc'
make: *** [init/main.o] Error 1

Is there fix for this ?

-- 
There is no law beyond Do what thou wilt






^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: compiling kernel 2.4.3
@ 2001-04-22 15:17 Ingo T. Storm
  0 siblings, 0 replies; 12+ messages in thread
From: Ingo T. Storm @ 2001-04-22 15:17 UTC (permalink / raw)
  To: axp-list

Looks like you don't have the symbolic links to the kernel headers:

I _think_ they should be:

ln -sf /usr/src/linux/include/linux /usr/include/linux
ln -sf /usr/src/linux/include/asm /usr/include/asm

but PLEASE verify before you set them...

Ingo


-----Original Message-----
From: Kenneth Dunn <luser@xtra.co.nz>
To: axp-list@redhat.com <axp-list@redhat.com>
Date: Sonntag, 22. April 2001 14:52
Subject: compiling kernel 2.4.3


>
>I get the following error while attempting to compile the
>Linux kernel:
>
>[root@athena linux]# make vmlinux
>gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o
>scripts/split-include
>scripts/split-include.c
>scripts/split-include include/linux/autoconf.h include/config
>gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -
O2





^ permalink raw reply	[flat|nested] 12+ messages in thread
[parent not found: <Pine.LNX.4.30.0104231234270.30556-100000@orion.chem.vt.edu>]

end of thread, other threads:[~2001-04-23 18:57 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-22 13:03 compiling kernel 2.4.3 Kenneth Dunn
2001-04-22 13:00 ` John Jasen
2001-04-22 17:11 ` Michal Jaegermann
2001-04-23 15:02   ` Uncle George
2001-04-23 18:34     ` John Jasen
2001-04-23 18:50       ` T. Daniel Crawford
2001-04-23 18:54         ` Uncle George
2001-04-23 18:57           ` T. Daniel Crawford
  -- strict thread matches above, loose matches on Subject: below --
2001-04-22 15:17 Ingo T. Storm
     [not found] <Pine.LNX.4.30.0104231234270.30556-100000@orion.chem.vt.edu>
2001-04-23 17:59 ` Uncle George
2001-04-23 18:11   ` T. Daniel Crawford
2001-04-23 18:52     ` Uncle George

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox