Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

dosn't compile without lcrypt #14

Open
ufehembach opened this issue Nov 24, 2018 · 0 comments
Open

dosn't compile without lcrypt #14

ufehembach opened this issue Nov 24, 2018 · 0 comments

Comments

@ufehembach
Copy link

I'm running ubuntu on raspi: Ubuntu 16.04.5 LTS \n \

Linux MYhomebridge 4.4.38-v7+ #938 SMP Thu Dec 15 15:22:21 GMT 2016 armv7l armv7l armv7l GNU/Linux

all the libs need to be added to compile the codesend

"-lwiringPi -pthread -lwiringPiDev -lcrypt -lm -lrt"

otherwise it runs in the below error.

g++ -c -o RCSwitch.o RCSwitch.cpp
g++ -c -o codesend.o codesend.cpp
g++ RCSwitch.o codesend.o -o ../build/codesend -lwiringPi
/usr/lib/gcc/arm-linux-gnueabihf/5/../../../../lib/libwiringPi.so: undefined reference to shm_open' /usr/lib/gcc/arm-linux-gnueabihf/5/../../../../lib/libwiringPi.so: undefined reference to crypt'
collect2: error: ld returned 1 exit status
Makefile:4: recipe for tacorget 'codesend' failed

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant