malloc.h error when building in a freenas jail
Hello,
I'm hoping someone can guide me to getting opencv built on in a freenas jail
When I'm running make I'm getting to about 6% and then getting this error
/usr/include/malloc.h:3:2: error: "<malloc.h> has been replaced by <stdlib.h>"
#error "<malloc.h> has been replaced by <stdlib.h>"
to be honest I don't even know where to start with getting around this so any help would be great.
Thanks!