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

IvanHu ivan.hu at canonical.com
Tue May 7 07:03:33 UTC 2013


On 05/07/2013 02:32 PM, Colin Ian King wrote:
> 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
>>
>>
>
> I'm not seeing the need for this on Raring and Saucy.  What release and
> architecture are you seeing this failure on?
>
> Colin
>

Precise, 12.04.2 LTS.

Ivan




More information about the fwts-devel mailing list