SMP on J5000
Linux k2000 2.4.20-pa32 #1 Sat May 10 00:07:09
Latest gcc
This is a 785/j5000
This is the error we get when trying to compile the SMP kernel
sched.c:93: initializer element is not constant sched.c:93: (near initialization for `tasklist_lock') sched.c:93: initializer element is not constant make[2]: *** [sched.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.20-pa33/kernel' make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-pa33/kernel'
make: *** [_dir_kernel] Error 2
Quoted 2 lines · Richard Todd
Linux k2000 2.4.20-pa32 #1 Sat May 10 00:07:09
Latest gcc
"gcc -v" output please
Quoted 4 lines
This is a 785/j5000
This is the error we get when trying to compile the SMP kernel sched.c:93: initializer element is not constant
grundler@gsyprf11:/usr/src/2.4.20-SMP$ ls -l kernel/sched* -rw-r--r-- 1 grundler users 32779 Nov 13 21:13 kernel/sched.c -rw-r--r-- 1 grundler users 173096 May 9 23:41 kernel/sched.o
Using "gcc version 3.2.3 20030316".
My tree isn't totally clean but I don't think any changes I have interact with sched.c.
Can you verify your source tree is not corrupted?
If you haven't done so already, please save your .config, "make distclean" and start over.
grant