MicrochipTech / cryptoauth-openssl-engine

DEPRECATED: Use https://github.com/MicrochipTech/cryptoauthlib/wiki/PKCS11-Linux-Setup
Other
76 stars 49 forks source link

In Linux: With ATCA_HAL_KIT_HID target, failed to link the udev library #28

Open balaji-reddy opened 5 years ago

balaji-reddy commented 5 years ago

When I compile this project for target ATCA_HAL_KIT_HID (Kit with USB HID) and it failed to link the Linux udev static library.

Fix: cryptoauthlib/Makefile

$(OUTDIR)/libateccssl.so: $(LIBATECCSSL_OBJECTS) $(LIBCRYPTOAUTH_OBJECTS) | $(OUTDIR)
       $(LD) -dll -shared $(LIBATECCSSL_OBJECTS) $(LIBCRYPTOAUTH_OBJECTS) -o $@ -lcrypto -lrt -ludev