Hello!You might do better on the HRT list (cc'ed).
I am trying to compile 2.4.25 UML kernel together with High Resolution Timers patch and it fails to compile saying the following during linking:
gcc -Wl,-T,arch/um/link.ld -static -Wl,--wrap,malloc -Wl,--wrap,free -Wl,--wrap,calloc \
-o linux arch/um/main.o vmlinux.o -L/usr/lib -lutil
vmlinux.o(.text+0x2688): In function `schedule_timeout':
/usr/src/linux-2.4.25/kernel/sched.c:443: undefined reference to `jiffies'
vmlinux.o(.text+0x26cd):/usr/src/linux-2.4.25/kernel/sched.c:454: undefined reference to `jiffies'
vmlinux.o(.text+0x27a4): In function `schedule':
/usr/src/linux-2.4.25/include/linux/sched.h:929: undefined reference to `jiffies'
vmlinux.o(.text+0x489e): In function `do_fork':
/usr/src/linux-2.4.25/kernel/fork.c:740: undefined reference to `jiffies'
vmlinux.o(.text+0xabd5): In function `do_getitimer':
/usr/src/linux-2.4.25/kernel/itimer.c:55: undefined reference to `jiffies'
vmlinux.o(.text+0xacd3):/usr/src/linux-2.4.25/kernel/itimer.c:103: more undefined references to `jiffies' follow
collect2: ld returned 1 exit status
make: *** [linux] Error 1
is there any solution to this problem?
or HRT patch is not supposed to work under UML at all?