Am 04.05.2010 09:58, schrieb J Decker:
> This is the link of monotone on my system... I don't understand why
> clock_gettime wouldn't be found.... seems to be in just <time.h>
> 
> g++  -march=native -Os -Wall -W -Wno-unused  -Wl,-s -o mtn [...]
> lib3rdparty.a  -lpcre   -lbotan   -llua -lm   -lsqlite3   -lidn    -lz
> 
> /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.3/../../../libbotan.a(tm_posix.o):
> In function `Botan::POSIX_Timer::clock() const':
> 
> tm_posix.cpp:(.text+0xa): undefined reference to `clock_gettime'
> 
> collect2: ld returned 1 exit status

I think this is something similar what I also encountered on openSUSE
last year:

http://lists.opensuse.org/opensuse-bugs/2009-10/msg06671.html

Its almost for sure a buggy botan package - newer versions of botan (ie.
greatern than 1.6.4) don't show this problem. You might be able to fix
your build by adding another -lrt to the linker line, though.

Thomas.

-- 
GPG-Key 0x160D1092 | tommyd3...@jabber.ccc.de | http://thomaskeller.biz
Please note that according to the EU law on data retention, information
on every electronic information exchange might be retained for a period
of six months or longer: http://www.vorratsdatenspeicherung.de/?lang=en


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to