-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
编译报错,找不到systemd/sd-daemon.h #5
Comments
<!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:DengXian;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:DengXian;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
font-size:10.5pt;
font-family:DengXian;}
h1
{mso-style-priority:9;
mso-style-link:"\6807\9898 1 \5B57\7B26";
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:24.0pt;
font-family:SimSun;
font-weight:bold;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
code
{mso-style-priority:99;
font-family:SimSun;}
pre
{mso-style-priority:99;
mso-style-link:"HTML \9884\8BBE\683C\5F0F \5B57\7B26";
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:SimSun;}
span.1
{mso-style-name:"\6807\9898 1 \5B57\7B26";
mso-style-priority:9;
mso-style-link:"\6807\9898 1";
font-family:SimSun;
font-weight:bold;}
span.HTML
{mso-style-name:"HTML \9884\8BBE\683C\5F0F \5B57\7B26";
mso-style-priority:99;
mso-style-link:"HTML \9884\8BBE\683C\5F0F";
font-family:SimSun;}
.MsoChpDefault
{mso-style-type:export-only;}
/* Page Definitions */
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
-->需要安装 systemd-devel 库 发件人: lylyo发送时间: 2020年5月22日 3:33收件人: avplayer/avpn抄送: Subscribed主题: [avplayer/avpn] 编译报错,找不到systemd/sd-daemon.h (#5) /root/avpn/avpn/tun2socks/src/main.cpp:6:33: fatal error: systemd/sd-daemon.h: No such file or directoryinclude <systemd/sd-daemon.h> ^ compilation terminated.make[2]: *** [avpn/tun2socks/CMakeFiles/tun2socks.dir/src/main.cpp.o] Error 1make[1]: *** [avpn/tun2socks/CMakeFiles/tun2socks.dir/all] Error 2make: *** [all] Error 2[root@7 tun]# systemctl --versionsystemd 219+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 -SECCOMP +BLKID +ELFUTILS +KMOD +IDN请问怎么解决—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
/root/avpn/avpn/tun2socks/src/main.cpp:6:33: fatal error: systemd/sd-daemon.h: No such file or directory
# include <systemd/sd-daemon.h>
compilation terminated.
make[2]: *** [avpn/tun2socks/CMakeFiles/tun2socks.dir/src/main.cpp.o] Error 1
make[1]: *** [avpn/tun2socks/CMakeFiles/tun2socks.dir/all] Error 2
make: *** [all] Error 2
[root@7 tun]# systemctl --version
systemd 219
+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 -SECCOMP +BLKID +ELFUTILS +KMOD +IDN
请问怎么解决
The text was updated successfully, but these errors were encountered: