[PATCH] acpica: fix the build error after patch the update to ACPICA version 20130418

Ivan Hu ivan.hu at canonical.com
Tue May 7 06:13:14 UTC 2013


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 <ivan.hu at canonical.com>
---
 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
 
-- 
1.7.9.5




More information about the fwts-devel mailing list