monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Not sure where this error is from or why..


From: Thomas Keller
Subject: Re: [Monotone-devel] Not sure where this error is from or why..
Date: Tue, 04 May 2010 12:47:31 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.9) Gecko/20100317 SUSE/3.0.4-1.1.1 Lightning/1.0b2pre Thunderbird/3.0.4

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 | address@hidden | 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]