Skip to content

dosn't compile without lcrypt #14

@ufehembach

Description

@ufehembach

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions