Skip to content
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

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants