Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

编译报错,找不到systemd/sd-daemon.h #5

Open
lylyo opened this issue May 21, 2020 · 1 comment
Open

编译报错,找不到systemd/sd-daemon.h #5

lylyo opened this issue May 21, 2020 · 1 comment

Comments

@lylyo
Copy link

lylyo commented May 21, 2020

/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

请问怎么解决

@microcai
Copy link
Member

microcai commented May 22, 2020 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants