lkml.org 
[lkml]   [2000]   [Dec]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject2.4.0-testX fails to compile on my Athlon
I've looked for answers to this question before, but all I could find was
someone asking a similar question and no replies...

I'm having great trouble getting 2.4.0-testX to compile on my system when
I select Athlon/K7 as the Processor Family....

I've attached below the error's I'm getting.... the kernel DOES compile if
I select anything else... but I don't have anything else :)

gcc version = 2.95.2
GNU Make version 3.79.1
GNU ld version 2.9.1 (with BFD 2.9.1.0.25)
fdformat from util-linux-2.10o
insmod version 2.3.21

I'd hope someone has an answer on how to fix this

Matt Wright


----------------------------------------------------------------------------
[root@dipsy linux]# make bzImage
gcc -D__KERNEL__ -I/root/source/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 -c -o
init/main.o init/main.c
In file included from /root/source/linux/include/linux/irq.h:57,
from /root/source/linux/include/asm/hardirq.h:6,
from /root/source/linux/include/linux/interrupt.h:45,
from /root/source/linux/include/asm/string.h:296,
from /root/source/linux/include/linux/string.h:21,
from /root/source/linux/include/linux/fs.h:23,
from /root/source/linux/include/linux/capability.h:17,
from /root/source/linux/include/linux/binfmts.h:5,
from /root/source/linux/include/linux/sched.h:9,
from /root/source/linux/include/linux/mm.h:4,
from /root/source/linux/include/linux/slab.h:14,
from /root/source/linux/include/linux/malloc.h:4,
from /root/source/linux/include/linux/proc_fs.h:5,
from init/main.c:15:
/root/source/linux/include/asm/hw_irq.h: In function `x86_do_profile':
/root/source/linux/include/asm/hw_irq.h:198: `current' undeclared (first
use in this function)
/root/source/linux/include/asm/hw_irq.h:198: (Each undeclared identifier
is reported only once
/root/source/linux/include/asm/hw_irq.h:198: for each function it appears
in.)
In file included from /root/source/linux/include/asm/string.h:296,
from /root/source/linux/include/linux/string.h:21,
from /root/source/linux/include/linux/fs.h:23,
from /root/source/linux/include/linux/capability.h:17,
from /root/source/linux/include/linux/binfmts.h:5,
from /root/source/linux/include/linux/sched.h:9,
from /root/source/linux/include/linux/mm.h:4,
from /root/source/linux/include/linux/slab.h:14,
from /root/source/linux/include/linux/malloc.h:4,
from /root/source/linux/include/linux/proc_fs.h:5,
from init/main.c:15:
/root/source/linux/include/linux/interrupt.h: In function `raise_softirq':
/root/source/linux/include/linux/interrupt.h:89: `current' undeclared
(first use in this function)
/root/source/linux/include/linux/interrupt.h: In function
`tasklet_schedule':
/root/source/linux/include/linux/interrupt.h:160: `current' undeclared
(first use in this function)
/root/source/linux/include/linux/interrupt.h: In function
`tasklet_hi_schedule':/root/source/linux/include/linux/interrupt.h:174: `current'
undeclared (first use in this function)
In file included from /root/source/linux/include/linux/string.h:21,
from /root/source/linux/include/linux/fs.h:23,
from /root/source/linux/include/linux/capability.h:17,
from /root/source/linux/include/linux/binfmts.h:5,
from /root/source/linux/include/linux/sched.h:9,
from /root/source/linux/include/linux/mm.h:4,
from /root/source/linux/include/linux/slab.h:14,
from /root/source/linux/include/linux/malloc.h:4,
from /root/source/linux/include/linux/proc_fs.h:5,
from init/main.c:15:
/root/source/linux/include/asm/string.h: In function
`__constant_memcpy3d':
/root/source/linux/include/asm/string.h:305: `current' undeclared (first
use in this function)
/root/source/linux/include/asm/string.h: In function `__memcpy3d':
/root/source/linux/include/asm/string.h:312: `current' undeclared (first
use in this function)
make: *** [init/main.o] Error 1
[root@dipsy linux]#


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.036 / U:2.084 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site