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