[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

kernel troubles?



Hi,

For some months I have been trying to compile kernels from 2.4.5 to 2.4.8,
but I still get the same errors and they does not seem to be solved in
later versions. Today I build a new config file from scratch, but still
unsuccesfull. The errors occur in the beginning of the compile and are
mostly redefinitions and undeclared. Any idea how I can solve this?

Thanks in advance,
Sebastiaan

sebastia@stigmata:/usr/src/linux$ make bzImage
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=i586  -DUTS_MACHINE='"i386"' -c
-o init/version.o init/version.c
make CFLAGS="-D__KERNEL__ -I/usr/src/linux/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i586 " -C  kernel
make[1]: Entering directory `/usr/src/linux/kernel'
make all_targets
make[2]: Entering directory `/usr/src/linux/kernel'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=i586    -DEXPORT_SYMTAB -c
ksyms.c
In file included from /usr/src/linux/include/linux/modversions.h:103,
                 from /usr/src/linux/include/linux/module.h:21,
                 from ksyms.c:14:
/usr/src/linux/include/linux/modules/i386_ksyms.ver:74: warning:
`cpu_data' redefined
/usr/src/linux/include/asm/processor.h:78: warning: this is the location
of the previous definition
/usr/src/linux/include/linux/modules/i386_ksyms.ver:78: warning:
`smp_num_cpus' redefined
/usr/src/linux/include/linux/smp.h:80: warning: this is the location of
the previous definition
/usr/src/linux/include/linux/modules/i386_ksyms.ver:80: warning:
`cpu_online_map' redefined
/usr/src/linux/include/linux/smp.h:88: warning: this is the location of
the previous definition
/usr/src/linux/include/linux/modules/i386_ksyms.ver:94: warning:
`smp_call_function' redefined
/usr/src/linux/include/linux/smp.h:87: warning: this is the location of
the previous definition
In file included from /usr/src/linux/include/linux/interrupt.h:45,
                 from ksyms.c:21:
/usr/src/linux/include/asm/hardirq.h:37: warning: `synchronize_irq'
redefined
/usr/src/linux/include/linux/modules/i386_ksyms.ver:82: warning: this is
the location of the previous definition
In file included from ksyms.c:17:
/usr/src/linux/include/linux/kernel_stat.h: In function `kstat_irqs':
/usr/src/linux/include/linux/kernel_stat.h:48: `smp_num_cpus' undeclared
(first use in this function)
/usr/src/linux/include/linux/kernel_stat.h:48: (Each undeclared identifier
is reported only once
/usr/src/linux/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/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux/kernel'
make: *** [_dir_kernel] Error 2



--
  NT is the OS of the future. The main engine is the 16-bit Subsystem
  (also called MS-DOS Subsystem). Above that, there is the windoze 95/98
  16-bit Subsystem. Anyone can see that 16+16=32, so windoze NT is a 
  *real* 32-bit system.




Reply to: