OK, that seems to work now. Thanks. Bill
On Sat, Nov 22, 2014 at 7:55 AM, Anders Roxell <[email protected]> wrote: > On 22 November 2014 at 14:51, Anders Roxell <[email protected]> > wrote: > > > > On 22 Nov 2014 14:31, "Bill Fischofer" <[email protected]> > wrote: > >> > >> How do I do that? Following the recommendations in the DEPENDENCIES > file: > >> > >> sudo apt-get install libcunit1-dev > >> Reading package lists... Done > >> Building dependency tree > >> Reading state information... Done > >> libcunit1-dev is already the newest version. > > > > Download cunit from here > > http://sourceforge.net/projects/cunit/files/latest/download?source=files > > > > Build and install it. > > In odp's configure step say --with-cunit... To see exactly what you > should > > type do > > ./configure --help > > or if you install cunit into a standard path then you can say > --enable-cunit when you run configure... > > > Cheers, > Anders > > > > >> > >> Bill > >> > >> On Sat, Nov 22, 2014 at 5:56 AM, Mike Holmes <[email protected]> > >> wrote: > >>> > >>> You need to use cunit 2.1-3 > >>> > >>> On 21 November 2014 22:27, Bill Fischofer <[email protected]> > >>> wrote: > >>>> > >>>> OK, I've enabled CUnit and am now seeing this: > >>>> > >>>> crypto/odp_crypto_test_async_inp.c:356:2: error: initialization > discards > >>>> ‘const’ qualifier from pointer target type [-Werror] > >>>> {ASYNC_INP_ENC_ALG_3DES_CBC, enc_alg_3des_cbc }, > >>>> ^ > >>>> crypto/odp_crypto_test_async_inp.c:357:2: error: initialization > discards > >>>> ‘const’ qualifier from pointer target type [-Werror] > >>>> {ASYNC_INP_DEC_ALG_3DES_CBC, dec_alg_3des_cbc }, > >>>> ^ > >>>> crypto/odp_crypto_test_async_inp.c:358:2: error: initialization > discards > >>>> ‘const’ qualifier from pointer target type [-Werror] > >>>> {ASYNC_INP_ENC_ALG_3DES_CBC_OVR_IV, enc_alg_3des_cbc_ovr_iv }, > >>>> ^ > >>>> crypto/odp_crypto_test_async_inp.c:359:2: error: initialization > discards > >>>> ‘const’ qualifier from pointer target type [-Werror] > >>>> {ASYNC_INP_DEC_ALG_3DES_CBC_OVR_IV, dec_alg_3des_cbc_ovr_iv }, > >>>> ^ > >>>> crypto/odp_crypto_test_async_inp.c:360:2: error: initialization > discards > >>>> ‘const’ qualifier from pointer target type [-Werror] > >>>> {ASYNC_INP_ALG_HMAC_MD5, alg_hmac_md5 }, > >>>> ^ > >>>> crypto/odp_crypto_test_async_inp.c:361:2: error: initialization > discards > >>>> ‘const’ qualifier from pointer target type [-Werror] > >>>> {ASYNC_INP_ENC_ALG_3DES_CBC_COMPL_NEW, enc_alg_3des_cbc_compl_new }, > >>>> ^ > >>>> cc1: all warnings being treated as errors > >>>> make[2]: *** [crypto/odp_crypto-odp_crypto_test_async_inp.o] Error 1 > >>>> make[1]: *** [all-recursive] Error 1 > >>>> make: *** [all-recursive] Error 1 > >>>> > >>>> I get this error on a vanilla clone of odp.git. Is this something in > my > >>>> environment or did a file with a compilation issue somehow get merged? > >>>> > >>>> Commands I've used to build my environment: > >>>> > >>>> ./bootstrap > >>>> ./configure --with-platform=linux-generic --enable-cunit > >>>> > >>>> Thanks. > >>>> > >>>> Bill > >>>> > >>>> On Fri, Nov 21, 2014 at 3:29 PM, Mike Holmes <[email protected]> > >>>> wrote: > >>>>> > >>>>> If you build and install cunit and take its defaults for the install > >>>>> (and not install to the system as root) the following works for me > for > >>>>> linux-generic > >>>>> > >>>>> ./bootstrap > >>>>> ./configure --with-cunit-path=/home/<YOUR HOME DIR>/CUnitHome > >>>>> make check <- will run the unit tests not just build them > >>>>> > >>>>> On 21 November 2014 08:20, Anders Roxell <[email protected]> > >>>>> wrote: > >>>>>> > >>>>>> On 21 November 2014 14:15, Taras Kondratiuk > >>>>>> <[email protected]> wrote: > >>>>>> > On 11/21/2014 02:48 PM, Bill Fischofer wrote: > >>>>>> >> > >>>>>> >> How do I do that? I'm just doing > >>>>>> >> > >>>>>> >> ./bootstrap > >>>>>> >> ./configure > >>>>>> >> make > >>>>>> >> > >>>>>> >> Is there another step missing? > >>>>>> > > >>>>>> > > >>>>>> > ./configure --with-platform=linux-generic --enable-cunit > >>>>>> > >>>>>> and you have to install CUnit 2.1-3 > >>>>>> > >>>>>> Cheers, > >>>>>> Anders > >>>>>> > >>>>>> > > >>>>>> > > >>>>>> > _______________________________________________ > >>>>>> > lng-odp mailing list > >>>>>> > [email protected] > >>>>>> > http://lists.linaro.org/mailman/listinfo/lng-odp > >>>>>> > >>>>>> _______________________________________________ > >>>>>> lng-odp mailing list > >>>>>> [email protected] > >>>>>> http://lists.linaro.org/mailman/listinfo/lng-odp > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> -- > >>>>> Mike Holmes > >>>>> Linaro Sr Technical Manager > >>>>> LNG - ODP > >>>>> > >>>>> _______________________________________________ > >>>>> lng-odp mailing list > >>>>> [email protected] > >>>>> http://lists.linaro.org/mailman/listinfo/lng-odp > >>>>> > >>>> > >>> > >>> > >>> > >>> -- > >>> Mike Holmes > >>> Linaro Sr Technical Manager > >>> LNG - ODP > >> > >> >
_______________________________________________ lng-odp mailing list [email protected] http://lists.linaro.org/mailman/listinfo/lng-odp
