Message ID | 1367907194-13215-1-git-send-email-ivan.hu@canonical.com |
---|---|
State | Accepted |
Headers | show |
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@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
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@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
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@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@canonical.com>
On 05/07/2013 02:13 PM, 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@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 > > Acked-by: Alex Hung <alex.hung@canonical.com>
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
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@canonical.com> --- src/acpica/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)