HI Cristian, Sorry for the confusion with incomplete information , my apologies. Let me provide complete information on what i have done:
#1:compiled and installed openssl by enabling -DHAVE_CRYPTODEV flag Note:installed(with -DHAVE_CRYPTODEV flag) openssl will be available in /usr/local/ssl by default #2:compiled cryptove-linux with Make #3: executed "make check" command as suggested in "https://github.com/cryptodev-linux/cryptodev-linux/blob/master/INSTALL" Here I have observed the error messages which I have mentioned above. I have tried modifying Make as shown below in cryptodev-linux/test folder #${comp_progs}: LDFLAGS += -lssl -lcrypto #${comp_progs}: LDFLAGS += -L /usr/local/ssl/lib/ -lssl -L /usr/local/ssl/lib/ -lcrypto ${comp_progs}: LDFLAGS += /usr/local/ssl/lib/ssl.a /usr/local/ssl/lib/lcrypto.a still I am unable to compile. Please can you let me know if I am missing anything ? BR, Srisowj On Mon, Mar 9, 2015 at 2:04 PM, Cristian Stoica <cristian.sto...@freescale.com> wrote: > Hi sri, > > On 03/08/2015 10:01 AM, sri sowj wrote: >> Please can you help me with the below issue? >> I tried to execute "make check" as suggested,but it fails as shown below: >> >> >> cc -I.. -c -o cipher_comp.o cipher_comp.c >> cc -I.. -c -o openssl_wrapper.o openssl_wrapper.c >> openssl_wrapper.c: In function ‘openssl_hmac’: >> openssl_wrapper.c:136:5: error: invalid use of void expression >> openssl_wrapper.c:144:3: error: invalid use of void expression >> openssl_wrapper.c:152:3: error: invalid use of void expression >> make[1]: *** [openssl_wrapper.o] Error 1 >> make[1]: Leaving directory >> `/home/srisowj/cryptodev/cryptodev-linux-1.6/tests' >> make: *** [check] Error 2 > > You reposted the question without adding any details about how you tried > to identify the root cause. It looks like the toolchain can't find the > openssl header files. You should probably install openssl-dev or > whatever the package is called in your distribution. > > Cristian S. > > > > $ make check > CFLAGS= KERNEL_DIR=/lib/modules/3.17.7-gentoo/build make -C tests check > make[1]: Entering directory > `/home/cristians/work/sdk-devel-v1.8/cryptodev-linux/tests' > cc -I.. cipher.c -o cipher > cc -I.. cipher-aead.c -o cipher-aead > cc -I.. hmac.c -o hmac > cc -I.. speed.c -o speed > cc -I.. async_cipher.c -o async_cipher > cc -I.. async_hmac.c -o async_hmac > cc -I.. async_speed.c -o async_speed > cc -I.. sha_speed.c -o sha_speed > cc -I.. hashcrypt_speed.c -o hashcrypt_speed > cc -I.. fullspeed.c -o fullspeed > cc -I.. cipher-gcm.c -o cipher-gcm > cc -I.. cipher-aead-srtp.c -o cipher-aead-srtp > cc -I.. -c -o cipher_comp.o cipher_comp.c > cc -I.. -c -o openssl_wrapper.o openssl_wrapper.c > cc -lssl -lcrypto cipher_comp.o openssl_wrapper.o -o cipher_comp > cc -I.. -c -o hash_comp.o hash_comp.c > cc -lssl -lcrypto hash_comp.o openssl_wrapper.o -o hash_comp > cc -I.. -c -o hmac_comp.o hmac_comp.c > cc -lssl -lcrypto hmac_comp.o openssl_wrapper.o -o hmac_comp > ./cipher > [...] _______________________________________________ Cryptodev-linux-devel mailing list Cryptodev-linux-devel@gna.org https://mail.gna.org/listinfo/cryptodev-linux-devel