Topic: segment error
When I build the benchmark.c within the project, tests works well.
But when I copy the benchmark.c to a new project,and create a makefile to build it, I got some errors.
1.the definition of HAVE_ECC
Even I include ecc.h in the source file, I have to add "#define HAVE_ECC" to avoid the compile error.
2.segment err
I modify the benchmark.c only to test the ECC function.In bench_eccKeyGen(),the var "i" in the for loop is always zero,so I get a dead loop
If I move the local var "i" to a global var, it seems work ,but got a segment err!
So,It seems that ,only include the HeadFiles and load the Lib file cannot use the wolfssl correct!
Is there any step I missed or something need to pay attention?