mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.6.14-rt21 doesn't build for ppc
@ 2005-11-29 16:57 Egan
  0 siblings, 0 replies; only message in thread
From: Egan @ 2005-11-29 16:57 UTC (permalink / raw)
  To: linux-kernel; +Cc: tony.egan



2.6.14 with RT21 fails to build for ppc (ibm440gx).  



      CC      kernel/timer.o
    /home/egan/downloads/linux-2.6.14/kernel/timer.c: In function `phase_advance':
    /home/egan/downloads/linux-2.6.14/kernel/timer.c:991: error: `time_phase' undeclared (first use in this function)
    /home/egan/downloads/linux-2.6.14/kernel/timer.c:991: error: (Each undeclared identifier is reported only once
    /home/egan/downloads/linux-2.6.14/kernel/timer.c:991: error: for each function it appears in.)
    /home/egan/downloads/linux-2.6.14/kernel/timer.c:994: warning: type defaults to `int' in declaration of `__x'
    /home/egan/downloads/linux-2.6.14/kernel/timer.c: In function `update_wall_time':
    /home/egan/downloads/linux-2.6.14/kernel/timer.c:1050: error: too few arguments to function `phase_advance'
    /home/egan/downloads/linux-2.6.14/kernel/timer.c:1040: warning: unused variable `time_phase'
    make[2]: *** [kernel/timer.o] Error 1
    make[1]: *** [kernel] Error 2
    make: *** [zImage] Error 2




Adding config GENERIC_TIME to arch/ppc/Kconfig results in a failure later in
the build.




      CC      kernel/time/clockevents.o
    /home/egan/downloads/linux-2.6.14/kernel/time/clockevents.c:80: error: conflicting types for 'timer_interrupt'
    include2/asm/hw_irq.h:12: error: previous declaration of 'timer_interrupt' was here
    /home/egan/downloads/linux-2.6.14/kernel/time/clockevents.c:80: error: conflicting types for 'timer_interrupt'
    include2/asm/hw_irq.h:12: error: previous declaration of 'timer_interrupt' was here
    /home/egan/downloads/linux-2.6.14/kernel/time/clockevents.c: In function `handle_tick_update_profile':
    /home/egan/downloads/linux-2.6.14/kernel/time/clockevents.c:126: warning: implicit declaration of function `profile_tick'
    /home/egan/downloads/linux-2.6.14/kernel/time/clockevents.c:126: error: `CPU_PROFILING' undeclared (first use in this function)
    /home/egan/downloads/linux-2.6.14/kernel/time/clockevents.c:126: error: (Each undeclared identifier is reported only once
    /home/egan/downloads/linux-2.6.14/kernel/time/clockevents.c:126: error: for each function it appears in.)
    /home/egan/downloads/linux-2.6.14/kernel/time/clockevents.c: In function `handle_update_profile':
    /home/egan/downloads/linux-2.6.14/kernel/time/clockevents.c:143: error: `CPU_PROFILING' undeclared (first use in this function)
    /home/egan/downloads/linux-2.6.14/kernel/time/clockevents.c: In function `handle_profile':
    /home/egan/downloads/linux-2.6.14/kernel/time/clockevents.c:151: error: `CPU_PROFILING' undeclared (first use in this function)
    /home/egan/downloads/linux-2.6.14/kernel/time/clockevents.c: In function `setup_event':
    /home/egan/downloads/linux-2.6.14/kernel/time/clockevents.c:326: error: `SA_NODELAY' undeclared (first use in this function)
    /home/egan/downloads/linux-2.6.14/kernel/time/clockevents.c:329: warning: implicit declaration of function `setup_irq'
    make[3]: *** [kernel/time/clockevents.o] Error 1
    make[2]: *** [kernel/time] Error 2
    make[1]: *** [kernel] Error 2
    make: *** [zImage] Error 2



After some research it looks like this breakage was introduced by rt16.
rt15 builds OK.

Please retain my CC in any replies.

Thanks,

Tony

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-29 16:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-29 16:57 2.6.14-rt21 doesn't build for ppc Egan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®