| To: | PCP <pcp@xxxxxxxxxxx> |
|---|---|
| Subject: | build failure on grundy (ia64 SUSE SLES11 SP1) |
| From: | Ken McDonell <kenj@xxxxxxxxxxxxxxxx> |
| Date: | Mon, 01 Sep 2014 15:53:37 +1000 |
| Delivered-to: | pcp@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
events.o: In function `sample_fetch_highres_events':
/home/kenj/src/pcp/pcp-3.9.10/pcp-3.9.10/src/pmdas/sample/src/events.c:310:
undefined reference to `clock_gettime'
Looks like we need -lrt for this platform and the sample PMDA.
If clock_gettime() does not live in a consistent library, e.g. on Ubuntu, the
man page says ...
Link with -lrt (only for glibc versions before 2.17).
then we'll need the LIB_FOR_RT glue. I see that is already in configureland,
so the attached patch seems all that is needed.
Leaving this one for Nathan to review and commit.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | pcp updates: QA for XFS PMDA in DSO mode, Mark Goodwin |
|---|---|
| Next by Date: | pmchart QA failing, Ken McDonell |
| Previous by Thread: | pcp updates: QA for XFS PMDA in DSO mode, Mark Goodwin |
| Next by Thread: | Re: [pcp] build failure on grundy (ia64 SUSE SLES11 SP1), Nathan Scott |
| Indexes: | [Date] [Thread] [Top] [All Lists] |