Re: Error in kernel compilation
From: Kasper Dupont (abuse_at_wfbtxutyalwrmianeanaimlqcc.skrammel.yaboo.dk)
Date: 07/02/04
- Next message: Kasper Dupont: "Re: malloc's out-of-memory error handling"
- Previous message: Barry Margolin: "Re: malloc's out-of-memory error handling"
- In reply to: Vineet Joglekar: "Error in kernel compilation"
- Next in thread: Vineet Joglekar: "Re: Error in kernel compilation"
- Reply: Vineet Joglekar: "Re: Error in kernel compilation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 02 Jul 2004 23:38:19 +0200
Vineet Joglekar wrote:
>
> Hi all,
>
> I downloaded kernel 2.4.20 in my home directory. switched to root.
You shouldn't. (Not that it is related to the problem). Don't
do more as root than necesarry. You can compile the kernel as
nonpriveleged user and switch to root just for installing.
> I
> did 'make xconfig'. Din't do any changes, saved and exit. on command
> prompt I typed 'make dep' which was successful and then 'make'. The
> result of make was as follows: (these are the last few lines of the
> output)
>
> make[3]: Entering directory `/home/vineet/linux-2.4.20/drivers/ide'
> ld -m elf_i386 -r -o ide-mod.o ide.o ide-features.o ide-taskfile.o
> cmd640.o ide-adma.o ide-dma.o ide-pci.o piix.o rz1000.o ide-proc.o
> ld -m elf_i386 -r -o ide-probe-mod.o ide-probe.o ide-geometry.o
> gcc -D__KERNEL__ -I/home/vineet/linux-2.4.20/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
> -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2
> -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=ide_cd
> -c -o ide-cd.o ide-cd.c
> In file included from ide-cd.c:318:
> ide-cd.h:440: error: long, short, signed or unsigned used invalidly
> for `slot_tablelen'
> make[3]: *** [ide-cd.o] Error 1
> make[3]: Leaving directory `/home/vineet/linux-2.4.20/drivers/ide'
> make[2]: *** [first_rule] Error 2
> make[2]: Leaving directory `/home/vineet/linux-2.4.20/drivers/ide'
> make[1]: *** [_subdir_ide] Error 2
> make[1]: Leaving directory `/home/vineet/linux-2.4.20/drivers'
> make: *** [_dir_drivers] Error 2
> [root@localhost linux-2.4.20]#
>
> Can someone please help me regarding this?
Since it is very unlikely that the kernel would be released
without testing a build with the default options, the
problem is most likely to be somehow related to the version
of the programs in your toolchain. Which gcc version are
you using? Check what the documentation says about the
requirements, and that your toolchain satisfy it.
-- Kasper Dupont -- der bruger for meget tid paa usenet. For sending spam use kasperd@kd.lir.dk and abuse@kd.lir.dk I'd rather be a hammer than a nail.
- Next message: Kasper Dupont: "Re: malloc's out-of-memory error handling"
- Previous message: Barry Margolin: "Re: malloc's out-of-memory error handling"
- In reply to: Vineet Joglekar: "Error in kernel compilation"
- Next in thread: Vineet Joglekar: "Re: Error in kernel compilation"
- Reply: Vineet Joglekar: "Re: Error in kernel compilation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|