Skip to contentSkip to conversation

2.6.13-rt14 build problem on Powerpc board

DISCUSSION Shifu Xu 1 participant 1 message Sep 21, 2005

lore
Share & tools
lore

Shifu Xu

author
#0 lore raw

Hi,

I tried the patch-2.6.13-rt14 on mvme2100 board, the following are the build message:
hope it get fixed.
Thanks

Shifu

------------------------------
CC kernel/posix-cpu-timers.o
In file included from kernel/posix-cpu-timers.c:6:
include/linux/posix-timers.h: In function `forward_posix_timer':
include/linux/posix-timers.h:106: warning: comparison of distinct pointer types lacks a cast
CC kernel/ktimers.o
CC kernel/ntp.o
kernel/ntp.c:84: error: parse error before "__cacheline_aligned_in_smp" kernel/ntp.c:84: warning: type defaults to int' in declaration of __cacheline_aligned_in_smp' kernel/ntp.c:84: warning: excess elements in scalar initializer
kernel/ntp.c:84: warning: (near initialization for __cacheline_aligned_in_smp') kernel/ntp.c:84: warning: data definition has no type or storage class kernel/ntp.c: In function ntp_advance':
kernel/ntp.c:104: error: `ntp_lock' undeclared (first use in this function) kernel/ntp.c:104: error: (Each undeclared identifier is reported only once kernel/ntp.c:104: error: for each function it appears in.)
kernel/ntp.c:104: warning: type defaults to int' in declaration of type name' kernel/ntp.c:104: warning: type defaults to int' in declaration of type name' kernel/ntp.c:104: warning: type defaults to int' in declaration of type name' kernel/ntp.c:104: warning: type defaults to int' in declaration of type name' kernel/ntp.c:209: warning: type defaults to int' in declaration of type name' kernel/ntp.c:209: warning: type defaults to int' in declaration of type name' kernel/ntp.c:209: warning: type defaults to int' in declaration of type name' kernel/ntp.c:209: warning: type defaults to int' in declaration of type name' kernel/ntp.c: In function `ntp_adjtimex':
kernel/ntp.c:346: error: ntp_lock' undeclared (first use in this function) kernel/ntp.c:346: warning: type defaults to int' in declaration of type name' kernel/ntp.c:346: warning: type defaults to int' in declaration of type name' kernel/ntp.c:346: warning: type defaults to int' in declaration of type name' kernel/ntp.c:346: warning: type defaults to int' in declaration of type name' kernel/ntp.c:418: warning: type defaults to int' in declaration of type name' kernel/ntp.c:418: warning: type defaults to int' in declaration of type name' kernel/ntp.c:418: warning: type defaults to int' in declaration of type name' kernel/ntp.c:418: warning: type defaults to int' in declaration of type name' kernel/ntp.c: In function ntp_leapsecond':
kernel/ntp.c:442: error: ntp_lock' undeclared (first use in this function) kernel/ntp.c:442: warning: type defaults to int' in declaration of type name' kernel/ntp.c:442: warning: type defaults to int' in declaration of type name' kernel/ntp.c:442: warning: type defaults to int' in declaration of type name' kernel/ntp.c:442: warning: type defaults to int' in declaration of type name' kernel/ntp.c:485: warning: type defaults to int' in declaration of type name' kernel/ntp.c:485: warning: type defaults to int' in declaration of type name' kernel/ntp.c:485: warning: type defaults to int' in declaration of type name' kernel/ntp.c:485: warning: type defaults to int' in declaration of type name' kernel/ntp.c: In function ntp_clear':
kernel/ntp.c:497: error: ntp_lock' undeclared (first use in this function) kernel/ntp.c:497: warning: type defaults to int' in declaration of type name' kernel/ntp.c:497: warning: type defaults to int' in declaration of type name' kernel/ntp.c:497: warning: type defaults to int' in declaration of type name' kernel/ntp.c:497: warning: type defaults to int' in declaration of type name' kernel/ntp.c:507: warning: type defaults to int' in declaration of type name' kernel/ntp.c:507: warning: type defaults to int' in declaration of type name' kernel/ntp.c:507: warning: type defaults to int' in declaration of type name' kernel/ntp.c:507: warning: type defaults to int' in declaration of `type name' make[1]: *** [kernel/ntp.o] Error 1
make: *** [kernel] Error 2