2.4.19 compilation non-SMP fails
Compilation fails in kernel 2.4.19 when SMP support is deactivated.
In file included from ksyms.c:17:
/home/cyphra/Código/linux-2.4.19-core1/include/linux/kernel_stat.h: In function `kstat_irqs':
/home/cyphra/Código/linux-2.4.19-core1/include/linux/kernel_stat.h:45:
`smp_num_cpus' undeclared (first use in this function) /home/cyphra/Código/linux-2.4.19-core1/include/linux/kernel_stat.h:45:
(Each undeclared identifier is reported only once /home/cyphra/Código/linux-2.4.19-core1/include/linux/kernel_stat.h:45:
for each function it appears in.)
make[2]: *** [ksyms.o] Error 1
make[2]: Saliendo directorio `/home/cyphra/Código/linux-2.4.19-core1/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Saliendo directorio `/home/cyphra/Código/linux-2.4.19-core1/kernel'
make: *** [_dir_kernel] Error 2
Signature · 3 lines
I do not get viruses because I do not use MS software. If you use Outlook then please do not put my email address in your address-book so that WHEN you get a virus it won't use my address in the
Quoted 1 line
From field.
It appears to be a well-known problem.
You need to make mrproper when you flip the SMP setting. Make sure to save your .config...
Quoted 33 lines · Francisco Javier Fernandez
Compilation fails in kernel 2.4.19 when SMP support is deactivated.
In file included from ksyms.c:17:
/home/cyphra/Código/linux-2.4.19-core1/include/linux/kernel_stat.h: In function `kstat_irqs':
/home/cyphra/Código/linux-2.4.19-core1/include/linux/kernel_stat.h:45:
`smp_num_cpus' undeclared (first use in this function) /home/cyphra/Código/linux-2.4.19-core1/include/linux/kernel_stat.h:45:
(Each undeclared identifier is reported only once /home/cyphra/Código/linux-2.4.19-core1/include/linux/kernel_stat.h:45:
for each function it appears in.)
make[2]: *** [ksyms.o] Error 1
make[2]: Saliendo directorio `/home/cyphra/Código/linux-2.4.19-core1/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Saliendo directorio `/home/cyphra/Código/linux-2.4.19-core1/kernel'
make: *** [_dir_kernel] Error 2Signature · 10 lines
I do not get viruses because I do not use MS software. If you use Outlook then please do not put my email address in your address-book so that WHEN you get a virus it won't use my address in the From field. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/