24 May 2002

Rusty made a comment that sparc32 doesn’t even compile in 2.5… This worried me a little, as my main mail server is a sparc 10. I copied the code to wayne (the sparc), and did a make config; make dep… I didn’t et far:

[root@wayne linux-2.5.14]# make dep
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep scripts/mkdep.c
make -C arch/sparc/kernel check_asm
make[1]: Entering directory `/usr/src/linux-2.5.14/arch/sparc/kernel'
gcc -E -D__KERNEL__ -I/usr/src/linux-2.5.14/include tmp.c -o tmp.i
In file included from /usr/src/linux-2.5.14/include/linux/spinlock.h:7,
                 from /usr/src/linux-2.5.14/include/linux/tqueue.h:16,
                 from /usr/src/linux-2.5.14/include/linux/sched.h:10,
                 from tmp.c:3:
/usr/src/linux-2.5.14/include/linux/thread_info.h:11: asm/thread_info.h: No such file or directory
In file included from tmp.c:3:
/usr/src/linux-2.5.14/include/linux/sched.h:353: warning: `get_task_struct' redefined
/usr/src/linux-2.5.14/include/asm/processor.h:199: warning: this is the location of the previous definition
make[1]: *** [check_asm] Error 1
make[1]: Leaving directory `/usr/src/linux-2.5.14/arch/sparc/kernel'
make: *** [check_asm] Error 2
[root@wayne linux-2.5.14]#

The first step seems to me to understand what to put in this file, so I copied the one from include/asm-sparc64 into include/asm-sparc, and tried to recompile…

It would seem that a whole bunch of definitions in processor.h which have moved into thread_info.h — started moving these across to reduce the compile errors.

Hmmmmmmmm, it would seem that spinlock_t isn’t defined whereever oplib.h needs it to be. Next step, find it!






CLUG meeting last night. Noone seems to have an answer about how to make docbook less ugly in it’s rendered form. Thye talk about the SQL database on top of tdb went well…