[systemd-devel] error: undefined reference to `sd_event_source_unref' while the function exists in source
Hurry Zeng
winewolf at qq.com
Wed May 14 04:56:36 PDT 2014
Hi, Colin,
> Firstly, please try to keep your mails on a given topic in the same
> thread! Make it easier for us all to consume mails on the list!
Sorry for your time.
My last topic is about error on compiling (make and make install) systemd,
and as i said in the last reply, systemd compiling works well now.
So i thought that "compiling failed" topic is in a "closed" status.
That's why i sent mail on another topic (for error on compiling source code which depends on libsystemd) .
Thanks for your advice, i will do it better next time.
Hurry Zeng from China. (winewolf at qq.com)
From: Colin Guthrie
Date: 2014-05-14 19:43
To: Hurry Zeng; systemd-devel
Subject: Re: error: undefined reference to `sd_event_source_unref' while the function exists in source
Hello,
Firstly, please try to keep your mails on a given topic in the same
thread! Make it easier for us all to consume mails on the list!
'Twas brillig, and Hurry Zeng at 14/05/14 10:48 did gyre and gimble:
> Hi All,
>
> i tried to compile some source code on archlinux (v 2014.05.01), but i
> got an error: (header missing ?)
> fatal error:* systemd/sd-event.h*: No such file or directory
> #include <systemd/sd-event.h>
> ^
> compilation terminated.
>
> then i copied the headers from systemd-212.tar.gz
> to /usr/include/systemd/ and "make" again,
> but i got more errors, such as: (implementation missing ?)
> undefined reference to `*sd_event_source_unref*'
>
> i found the "undefined " functions in systemd source code,
> but why the make program can't find them?
> what mistake i had made ?
>
> Is somebody online ? plz help !
As far as I'm aware the sd-event code is not yet exported as a library,
so you'll likely have to compile and link all the sd-event.c code into
your project too.
It might help if you explain to the list what "some source code"
actually refers to!
Col
--
Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/
Day Job:
Tribalogic Limited http://www.tribalogic.net/
Open Source:
Mageia Contributor http://www.mageia.org/
PulseAudio Hacker http://www.pulseaudio.org/
Trac Hacker http://trac.edgewall.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20140514/ebffa326/attachment-0001.html>
More information about the systemd-devel
mailing list