From patchwork Tue May 7 06:13:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Hu X-Patchwork-Id: 241992 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) by ozlabs.org (Postfix) with ESMTP id 964E82C013D for ; Tue, 7 May 2013 16:13:49 +1000 (EST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1UZb9S-0003eM-8l; Tue, 07 May 2013 06:13:26 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1UZb9N-0003e8-5i for fwts-devel@lists.ubuntu.com; Tue, 07 May 2013 06:13:21 +0000 Received: from [175.41.48.77] (helo=canonical.com) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1UZb9M-00039n-Hb; Tue, 07 May 2013 06:13:21 +0000 From: Ivan Hu To: fwts-devel@lists.ubuntu.com Subject: [PATCH] acpica: fix the build error after patch the update to ACPICA version 20130418 Date: Tue, 7 May 2013 14:13:14 +0800 Message-Id: <1367907194-13215-1-git-send-email-ivan.hu@canonical.com> X-Mailer: git-send-email 1.7.9.5 X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.14 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: fwts-devel-bounces@lists.ubuntu.com Sender: fwts-devel-bounces@lists.ubuntu.com Got the build error after applying the [PATCH] acpica: update to ACPICA version 20130418. ../src/acpica /home/ivanhu/work/temp/temp/fwts/src/acpica/.libs/libfwtsacpica.so -Wl,-rpath -Wl,/usr/lib/fwts /home/ivanhu/work/temp/temp/fwts/src/acpica/.libs/libfwtsacpica.so: undefined reference to `clock_gettime' collect2: ld returned 1 exit status make[3]: *** [fwts] Error 1 make[3]: Leaving directory `/home/work/temp/temp/fwts/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/work/temp/temp/fwts/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/work/temp/temp/fwts' make: *** [all] Error 2 Signed-off-by: Ivan Hu Acked-by: Colin Ian King Acked-by: Alex Hung --- src/acpica/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/acpica/Makefile.am b/src/acpica/Makefile.am index 1cf8c15..a6123ab 100644 --- a/src/acpica/Makefile.am +++ b/src/acpica/Makefile.am @@ -240,5 +240,5 @@ libfwtsacpica_la_SOURCES = \ $(ACPICA_SRC)/tools/acpiexec/aehandlers.c libfwtsacpica_la_LIBADD = \ - -L$(top_srcdir)/src/lib/src -lfwts + -L$(top_srcdir)/src/lib/src -lfwts -lrt