[Libevent-users] event.c:166 clock_gettime undefined reference

Sun Yi-Ming dolmens at gmail.com
Wed Oct 17 05:30:27 EDT 2007


Hi guys, when I compile my simple test file which just has an
event_init() against the static library libevent.a, I got an error
message which said that "event.c:166 clock_gettime undefined
reference"(something like that, I uses a non-english locale debain.).
But if I compile against the shared library -levent, all is ok. what
happened?

gcc (GCC) 4.1.2
Debian 4.1.1-21
-- 
Sincerely,

孙一鸣 Simon Sun
--
Be a man with simple interface.


More information about the Libevent-users mailing list