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

pcscdaemon.c:57:31: fatal error: systemd/sd-daemon.h: No such file or directory #45

Closed
gabberhead opened this issue Aug 4, 2018 · 1 comment

Comments

@gabberhead
Copy link

gabberhead commented Aug 4, 2018

hi,

i am trying to make a arm & mipsel toolchain with pcsc support. when i use the newest version 1.8.23 i get the following error:

CC pcscd-eventhandler.o
CC pcscd-hotplug_generic.o
CC pcscd-ifdwrapper.o
CC pcscd-pcscdaemon.o
pcscdaemon.c:57:31: fatal error: systemd/sd-daemon.h: No such file or directory
#include <systemd/sd-daemon.h>
^
compilation terminated.
Makefile:988: recipe for target 'pcscd-pcscdaemon.o' failed
make[3]: *** [pcscd-pcscdaemon.o] Error 1
make[3]: Leaving directory '/tmp/pcsc-lite-1.8.23/src'
Makefile:1279: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/tmp/pcsc-lite-1.8.23/src'
Makefile:448: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/pcsc-lite-1.8.23'
Makefile:378: recipe for target 'all' failed
make: *** [all] Error 2

but when i use the version before 1.8.22 i dont get this error:

CC pcscd-eventhandler.o
CC pcscd-hotplug_generic.o
CC pcscd-ifdwrapper.o
CC pcscd-pcscdaemon.o
CC pcscd-prothandler.o
CC pcscd-readerfactory.o
CC pcscd-sd-daemon.o
CC pcscd-simclist.o
CC pcscd-sys_unix.o
CC pcscd-tokenparser.o
CC pcscd-hotplug_libudev.o
CC pcscd-hotplug_libusb.o
CC pcscd-hotplug_linux.o
CC pcscd-hotplug_macosx.o
CC pcscd-utils.o

i think this changeset is the problem from 1.8.22 to 1.8.23

1.8.23: Ludovic Rousseau
18 December 2017

use libsystemd instead sd-daemon.{c,h}

is there a way to fix this error?

@gabberhead
Copy link
Author

i fixed it myself with this: --disable-libsystemd

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

1 participant