[ Date Index ][
Thread Index ]
[ <= Previous by  date  /  thread  ] [ Next by  date  /  thread  => ]
Peeps,
When i compile my kernel i get an annoyance if i don't include SMP 
support, the actual message is below;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -D__KERNEL__ -I/usr/src/linux-2.4.16/include -Wall -Wstrict-prototypes 
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common 
-pipe -mpreferred-stack-boundary=2 -march=k6    -DEXPORT_SYMTAB -c ksyms.c
In file included from ksyms.c:17:
/usr/src/linux-2.4.16/include/linux/kernel_stat.h: In function 
`kstat_irqs':
/usr/src/linux-2.4.16/include/linux/kernel_stat.h:48: `smp_num_cpus' 
undeclared
(first use in this function)
/usr/src/linux-2.4.16/include/linux/kernel_stat.h:48: (Each undeclared 
identifier is reported only once
/usr/src/linux-2.4.16/include/linux/kernel_stat.h:48: for each function it 
appears in.)
make[2]: *** [ksyms.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.16/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.16/kernel'
make: *** [_dir_kernel] Error 2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(good old GPM)
I don't use Intel procesors (after a blew up 2 in my first PC) nore do i 
use SMP ! however if i don't incluse SMP support the kernel will fail to 
compile. I am using Kernel 2.4.16, AMD K6-2 500.
Can anyone help me out with this as it's bloody annoying ?
TIA
 
-- 
Neil Stone
    Tel: 01752 565870   Mob: 07866 368318   Fax: 0870 7061160
--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.