From: mmayer@broadcom.com (Markus Mayer)
To: linux-arm-kernel@lists.infradead.org
Subject: vexpress compilation error in next-20121127
Date: Tue, 27 Nov 2012 17:16:49 -0800 [thread overview]
Message-ID: <50B56601.5010305@broadcom.com> (raw)
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
next reply other threads:[~2012-11-28 1:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-28 1:16 Markus Mayer [this message]
2012-11-28 12:36 ` vexpress compilation error in next-20121127 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50B56601.5010305@broadcom.com \
--to=mmayer@broadcom.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).