Hi Sri Sowj,
make check problem when using gcc was fixed by Phil Sutter in this commit https://github.com/cryptodev-linux/cryptodev-linux/commit/da730106c2558c8e0c8e1b1b1812d32ef9574ab7 by changing LDFLAGS to LDLIBS when passing library names. Regards, Filip --- Filip Kubicz KN Focus www.focus.agh.edu.pl/ AGH EAIiIB Automatyka i Robotyka tel. 697 088 078 W dniu 2015-04-23 12:00, cryptodev-linux-devel-requ...@gna.org napisaĆ(a): > Send Cryptodev-linux-devel mailing list submissions to > cryptodev-linux-devel@gna.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://mail.gna.org/listinfo/cryptodev-linux-devel [1] > or, via email, send a message with subject or body 'help' to > cryptodev-linux-devel-requ...@gna.org > > You can reach the person managing the list at > cryptodev-linux-devel-ow...@gna.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Cryptodev-linux-devel digest..." > > Today's Topics: > > 1. Re: Cryptodev-linux-devel Digest, Vol 47, Issue 1 (sri sowj) > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 22 Apr 2015 22:29:42 +0530 > From: sri sowj <srisowj4li...@gmail.com> > To: cryptodev-linux-devel@gna.org > Subject: Re: [Cryptodev-linux-devel] Cryptodev-linux-devel Digest, Vol > 47, Issue 1 > Message-ID: > <cahtt9vlbr7l+kzu9xcd1vewp+lf7jj+8553o1-6uhduuoxc...@mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > Hi Filip, > > I am still facing the same issue with "make check" ,if possible , > please can you share the > the make file changes ,which you have done to compile. > > BR, > SriSowj > > On Thu, Apr 9, 2015 at 3:30 PM, <cryptodev-linux-devel-requ...@gna.org> wrote: > Send Cryptodev-linux-devel mailing list submissions to > cryptodev-linux-devel@gna.org To subscribe or unsubscribe via the World Wide > Web, visit https://mail.gna.org/listinfo/cryptodev-linux-devel [1] or, via > email, send a message with subject or body 'help' to > cryptodev-linux-devel-requ...@gna.org You can reach the person managing the > list at cryptodev-linux-devel-ow...@gna.org When replying, please edit your > Subject line so it is more specific than "Re: Contents of > Cryptodev-linux-devel digest..." Today's Topics: 1. Issue with "make check" > (Filip Kubicz) 2. Issue with "make check" - update (Filip Kubicz) > ---------------------------------------------------------------------- > Message: 1 Date: Wed, 08 Apr 2015 22:26:03 +0200 From: Filip Kubicz > <kub...@student.agh.edu.pl> To: cryptodev-linux-devel@gna.org Subject: > [Cryptodev-linux-devel] Issue with "make check" Message-ID: > <df68c19e99d4f26bc302f7e55033b...@student.agh.edu.pl> Content-Type: > text/plain; charset="us-ascii" Hello all! I think I messed something up during installation. After _make,_ _make install_ and setting module to load on system load, there's a problem with _make check_. The error message indicates some undefined references to libraries libcrypto and libssl. Library file is present in localization which is in the path LD_LIBRARY_PATH. I run Ubuntu 14.04 with Linux kernel 3.13.0.48 in virtual machine. I have build-essential, kernel headers installed. What I found, is that GCC should be invoked in specified order due to dependancies. In this case: first object files, than -l with libraries which contain definitions of functions which are called. So I invoked gcc to link HMAC_COMP, HASH_COMP and CIPHER_COMP like this: gcc hmac_comp.o openssl_wrapper.o -o hmac_comp -lssl -lcrypto instead of cc -lssl -lcrypto hmac_comp.o openssl_wrapper.o -o hmac_comp from tests/Makefile (_make check_). It worked, make check could proceed. Did anyone met the same problem? Filip -------------- next part -------------- An HTML attachment was scrubbed... URL: </public/cryptodev-linux-devel/attachments/20150408/c23e1f37/attachment.html> ------------------------------ Message: 2 Date: Wed, 08 Apr 2015 22:34:00 +0200 From: Filip Kubicz <kub...@student.agh.edu.pl> To: cryptodev-linux-devel@gna.org Subject: [Cryptodev-linux-devel] Issue with "make check" - update Message-ID: <e21a61ff43a5d8abea33092773b1c...@student.agh.edu.pl> Content-Type: text/plain; charset="us-ascii" Sorry for repeating the question already posted by SRI SOWJ a month ago. I just found out that I missed this archive. The order of options for GCC may be the answer for the question of sri sowj. Filip -------------- next part -------------- An HTML attachment was scrubbed... URL: </public/cryptodev-linux-devel/attachments/20150408/0eabb79f/attachment.html> ------------------------------ Subject: Digest Footer _______________________________________________ Cryptodev-linux-devel mailing list Cryptodev-linux-devel@gna.org https://mail.gna.org/listinfo/cryptodev-linux-devel [1] ------------------------------ End of Cryptodev-linux-devel Digest, Vol 47, Issue 1 **************************************************** ------------------------------ Subject: Digest Footer _______________________________________________ Cryptodev-linux-devel mailing list Cryptodev-linux-devel@gna.org https://mail.gna.org/listinfo/cryptodev-linux-devel [1] ------------------------------ End of Cryptodev-linux-devel Digest, Vol 47, Issue 7 **************************************************** Links: ------ [1] https://mail.gna.org/listinfo/cryptodev-linux-devel
_______________________________________________ Cryptodev-linux-devel mailing list Cryptodev-linux-devel@gna.org https://mail.gna.org/listinfo/cryptodev-linux-devel