linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* vexpress compilation error in next-20121127
@ 2012-11-28  1:16 Markus Mayer
  2012-11-28 12:36 ` Pawel Moll
  2012-12-13 19:07 ` Behan Webster
  0 siblings, 2 replies; 8+ messages in thread
From: Markus Mayer @ 2012-11-28  1:16 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Pawel,

There seems to be an issue compiling vexpress at this point. The problem 
being that vexpress' makefile references reset.o, but there's no reset.c 
in arch/arm/mach-vexpress.

[...]
   CC      arch/arm/mach-bcm/board_bcm.o
   LD      arch/arm/mach-bcm/built-in.o
   CC      arch/arm/mach-vexpress/v2m.o
make[1]: *** No rule to make target `arch/arm/mach-vexpress/reset.o', 
needed by `arch/arm/mach-vexpress/built-in.o'.  Stop.
make: *** [arch/arm/mach-vexpress] Error 2

The commit in question seems to be this:

http://git.kernel.org/?p=linux/kernel/git/arm/arm-soc.git;a=commitdiff;h=38669e045dbf8f62a008898a7fb1e93975b3817c

It adds the reference to reset.o to the makefile, but doesn't add 
reset.c itself. That doesn't seem right -- or did I overlook anything 
obvious?

As a quick fix, I tried commenting out reset.o in Makefile. While that 
lets the compilation proceed, I end up with unresolved symbols at link time.

[...]
   CC      init/version.o
   LD      init/built-in.o
arch/arm/mach-vexpress/built-in.o: In function `v2m_dt_init':
/home/mmayer/Development/upstreaming/arm-soc/arch/arm/mach-vexpress/v2m.c:487: 
undefined reference to `vexpress_power_off'
arch/arm/mach-vexpress/built-in.o: In function `v2m_init':
/home/mmayer/Development/upstreaming/arm-soc/arch/arm/mach-vexpress/v2m.c:371: 
undefined reference to `vexpress_power_off'
arch/arm/mach-vexpress/built-in.o:(.arch.info.init+0x48): undefined 
reference to `vexpress_restart'
arch/arm/mach-vexpress/built-in.o:(.arch.info.init+0x94): undefined 
reference to `vexpress_restart'
make: *** [vmlinux] Error 1

Regards,
-Markus

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-12-14 14:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-28  1:16 vexpress compilation error in next-20121127 Markus Mayer
2012-11-28 12:36 ` Pawel Moll
2012-11-28 20:53   ` Markus Mayer
2012-11-29 11:39     ` Pawel Moll
2012-11-29 20:03       ` Markus Mayer
2012-12-13 19:07 ` Behan Webster
2012-12-14  9:49   ` Pawel Moll
2012-12-14 14:47     ` Behan Webster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).