Skip to Content.
Sympa Menu

sm-grimoire - Re: [SM-Grimoire]kernel 2.5.xx

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: Jens Laas <jens.laas AT data.slu.se>
  • To: Craig Dyke <grail AT enterprize.net.au>
  • Cc: Grimoire <sm-grimoire AT lists.ibiblio.org>
  • Subject: Re: [SM-Grimoire]kernel 2.5.xx
  • Date: Fri, 8 Nov 2002 08:34:39 +0100 (CET)

(02.11.08 kl.12:20) Craig Dyke skrev följande till Grimoire:

> Anyone else using the latest versions of 2.5 kernels having problems
> compiling stuff?

Since glibc includes kernel headers (which is not what you're supposed to
do) your compiles break.

Run 2.5 as kernel but keep a 2.4 sourcetree under /usr/src/linux and
everything will be all right.

Cheers,
Jens

>
> I am finding that a recurring theme amongst my broken casts is that the
> compile complains of 'redefinition' of a function / variable.
>
> eg. cast -c lilo
>
> Error:
>
> cc -c -O2 -Wall -g `( if [ -r $ROOT/etc/lilo.defines ]; then cat
> $ROOT/etc/lilo.defines; else
> echo -DBDATA -DBUILTIN -DDSECS=3 -DIGNORECASE -DLBA32 -DLVM -DEVMS -DM386 -D
> ONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVARSETUP -DVERS
> ION -DUNIFY; fi ) | sed 's/-D/-DLCF_/g'` `[ -r /usr/include/asm/boot.h ] &&
> echo -DHAS_BOOT_H` `cat mylilo.h` lilo.c
> In file included from /usr/include/linux/timex.h:54,
> from /usr/include/linux/sched.h:13,

-----------------------------------------------------------------------
Jens Låås Email: jens.laas AT data.slu.se
Department of Computer Services, SLU Phone: +46 18 67 35 15
Vindbrovägen 1
P.O. Box 7079
S-750 07 Uppsala
SWEDEN
-----------------------------------------------------------------------





Archive powered by MHonArc 2.6.24.

Top of Page