linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Henrik Austad <haustad@cisco.com>
To: Clark Williams <williams@redhat.com>, John Kacur <jkacur@redhat.com>
Cc: linux-rt-users@vger.kernel.org, Henrik Austad <haustad@cisco.com>
Subject: [PATCH 5/7] Makefile: add librttest to rt-migrate-test
Date: Fri, 18 Sep 2015 18:52:48 +0200	[thread overview]
Message-ID: <1442595170-6229-6-git-send-email-haustad@cisco.com> (raw)
In-Reply-To: <1442595170-6229-1-git-send-email-haustad@cisco.com>

linker must be able to resolve reference to err_msg_n properly

   rt-migrate-test.c:(.text+0x1ff): undefined reference to `err_msg_n'

Signed-off-by: Henrik Austad <haustad@cisco.com>
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 160547c..b034e19 100644
--- a/Makefile
+++ b/Makefile
@@ -87,8 +87,8 @@ hwlatdetect:  src/hwlatdetect/hwlatdetect.py
 	chmod +x src/hwlatdetect/hwlatdetect.py
 	ln -s src/hwlatdetect/hwlatdetect.py hwlatdetect
 
-rt-migrate-test: rt-migrate-test.o
-	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS)
+rt-migrate-test: rt-migrate-test.o librttest.a
+	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(RTTESTLIB)
 
 ptsematest: ptsematest.o librttest.a
 	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(RTTESTLIB) $(EXTRA_LIBS)
-- 
1.9.1


  parent reply	other threads:[~2015-09-18 17:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-18 16:52 [PATCH 0/7] RFC v1: add support for tilegx and (partial) android support to rt-test Henrik Austad
2015-09-18 16:52 ` [PATCH 1/7] Add CROSS_COMPILE-switch to CC and AR Henrik Austad
2015-09-18 16:52 ` [PATCH 2/7] Add syscall-number for sched_(gs)etattr() for tile Henrik Austad
2015-09-18 16:52 ` [PATCH 3/7] Add a rebuild-switch to Makefile Henrik Austad
2015-09-18 21:10   ` Josh Cartwright
2015-09-19  5:41     ` Henrik Austad
2015-09-18 16:52 ` [PATCH 4/7] Fix compile-warnings Henrik Austad
2015-09-18 16:52 ` Henrik Austad [this message]
2015-09-18 16:52 ` [PATCH 6/7] rt_test.h: add numa_available() for !NUMA Henrik Austad
2015-09-18 21:27   ` Josh Cartwright
2015-09-19  5:49     ` Henrik Austad
2015-09-18 16:52 ` [PATCH 7/7] android: adjust target for android Henrik Austad

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=1442595170-6229-6-git-send-email-haustad@cisco.com \
    --to=haustad@cisco.com \
    --cc=jkacur@redhat.com \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=williams@redhat.com \
    /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).