[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [build error] ./.libs/libguile-2.0.so: undefined reference to `clock
From: |
Douglas Mencken |
Subject: |
Re: [build error] ./.libs/libguile-2.0.so: undefined reference to `clock_getcpuclockid' |
Date: |
Sat, 21 May 2011 14:50:58 +0200 |
> + AC_SEARCH_LIBS([clock_getcpuclockid], [rt posix4],
> + [test
> "$ac_cv_search_clock_getcpuclockid" = "none required" \
> + ||
> LIB_CLOCK_GETTIME=$ac_cv_search_clock_getcpuclockid],
> +
> [LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime])
> Does this patch fix it for you?
Yes!
CCLD libguile-2.0.la
CC guile-guile.o
CCLD guile
./.libs/libguile-2.0.so: warning: the use of `tmpnam' is dangerous,
better use `mkstemp'
./.libs/libguile-2.0.so: warning: gethostbyaddr is obsolescent, use
getaddrinfo() instead.
./.libs/libguile-2.0.so: warning: gethostbyname is obsolescent, use
getnameinfo() instead.
flex -t ./c-tokenize.lex > c-tokenize.c || { rm c-tokenize.c; false; }
GEN c-tokenize.o
GEN guile_filter_doc_snarfage
SNARF alist.doc
...
Cool. Thank you. I hope this patch would be in mainstream.