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

Colin Ian King colin.king at canonical.com
Tue May 7 07:55:39 UTC 2013


On 07/05/13 07:13, Ivan Hu wrote:
> 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
>  
> 
Thanks for spotting this, it seems that newer releases don't hit this
problem.  It is required for older releases such as Lucid.

Acked-by: Colin Ian King <colin.king at canonical.com>





More information about the fwts-devel mailing list