lkml.org 
[lkml]   [2001]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectProblem compiling linux-2.4.0 for Athlon/K7
Hello,

if Athlon/K7 is selected as processor type i get the following error
messages when compiling

make -C kernel CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.x/linux-2.4.0/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.x/linux-2.4.0/include/linux/modversions.h" MAKING_MODULES=1 modules
make[1]: Entering directory `/usr/src/linux-2.4.x/linux-2.4.0/kernel'
make[1]: Nothing to be done for `modules'.
make[1]: Leaving directory `/usr/src/linux-2.4.x/linux-2.4.0/kernel'
make -C drivers CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.x/linux-2.4.0/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.x/linux-2.4.0/include/linux/modversions.h" MAKING_MODULES=1 modules
make[1]: Entering directory `/usr/src/linux-2.4.x/linux-2.4.0/drivers'
make -C block modules
make[2]: Entering directory `/usr/src/linux-2.4.x/linux-2.4.0/drivers/block'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.x/linux-2.4.0/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.x/linux-2.4.0/include/linux/modversions.h -DEXPORT_SYMTAB -c loop.c
In file included from /usr/src/linux-2.4.x/linux-2.4.0/include/linux/irq.h:57,
from /usr/src/linux-2.4.x/linux-2.4.0/include/asm/hardirq.h:6,
from /usr/src/linux-2.4.x/linux-2.4.0/include/linux/interrupt.h:45,
from /usr/src/linux-2.4.x/linux-2.4.0/include/asm/string.h:296,
from /usr/src/linux-2.4.x/linux-2.4.0/include/linux/string.h:21,
from /usr/src/linux-2.4.x/linux-2.4.0/include/linux/fs.h:23,
from /usr/src/linux-2.4.x/linux-2.4.0/include/linux/capability.h:17,
from /usr/src/linux-2.4.x/linux-2.4.0/include/linux/binfmts.h:5,
from /usr/src/linux-2.4.x/linux-2.4.0/include/linux/sched.h:9,
from loop.c:53:
/usr/src/linux-2.4.x/linux-2.4.0/include/asm/hw_irq.h: In function `x86_do_profile':
/usr/src/linux-2.4.x/linux-2.4.0/include/asm/hw_irq.h:198: `current' undeclared (first use in this function)
/usr/src/linux-2.4.x/linux-2.4.0/include/asm/hw_irq.h:198: (Each undeclared identifier is reported only once
/usr/src/linux-2.4.x/linux-2.4.0/include/asm/hw_irq.h:198: for each function it appears in.)
In file included from /usr/src/linux-2.4.x/linux-2.4.0/include/asm/string.h:296,
from /usr/src/linux-2.4.x/linux-2.4.0/include/linux/string.h:21,
from /usr/src/linux-2.4.x/linux-2.4.0/include/linux/fs.h:23,
from /usr/src/linux-2.4.x/linux-2.4.0/include/linux/capability.h:17,
from /usr/src/linux-2.4.x/linux-2.4.0/include/linux/binfmts.h:5,
from /usr/src/linux-2.4.x/linux-2.4.0/include/linux/sched.h:9,
from loop.c:53:
/usr/src/linux-2.4.x/linux-2.4.0/include/linux/interrupt.h: In function `raise_softirq':
/usr/src/linux-2.4.x/linux-2.4.0/include/linux/interrupt.h:89: `current' undeclared (first use in this function)
/usr/src/linux-2.4.x/linux-2.4.0/include/linux/interrupt.h: In function `tasklet_schedule':
/usr/src/linux-2.4.x/linux-2.4.0/include/linux/interrupt.h:160: `current' undeclared (first use in this function)
/usr/src/linux-2.4.x/linux-2.4.0/include/linux/interrupt.h: In function `tasklet_hi_schedule':
/usr/src/linux-2.4.x/linux-2.4.0/include/linux/interrupt.h:174: `current' undeclared (first use in this function)
In file included from /usr/src/linux-2.4.x/linux-2.4.0/include/linux/string.h:21,
from /usr/src/linux-2.4.x/linux-2.4.0/include/linux/fs.h:23,
from /usr/src/linux-2.4.x/linux-2.4.0/include/linux/capability.h:17,
from /usr/src/linux-2.4.x/linux-2.4.0/include/linux/binfmts.h:5,
from /usr/src/linux-2.4.x/linux-2.4.0/include/linux/sched.h:9,
from loop.c:53:
/usr/src/linux-2.4.x/linux-2.4.0/include/asm/string.h: In function `__constant_memcpy3d':
/usr/src/linux-2.4.x/linux-2.4.0/include/asm/string.h:305: `current' undeclared (first use in this function)
/usr/src/linux-2.4.x/linux-2.4.0/include/asm/string.h: In function `__memcpy3d':
/usr/src/linux-2.4.x/linux-2.4.0/include/asm/string.h:312: `current' undeclared (first use in this function)
{standard input}: Assembler messages:
{standard input}:8: Warning: Ignoring changed section attributes for .modinfo
make[2]: *** [loop.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.x/linux-2.4.0/drivers/block'
make[1]: *** [_modsubdir_block] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.x/linux-2.4.0/drivers'
make: *** [_mod_drivers] Error 2




-
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.024 / U:1.356 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site