Running make gives an error #2
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Using RPi 3. When ran make command got following error message:
gcc -O2 -march=native hex2hcd.c -o hex2hcd
*** Error in `gcc': double free or corruption (top): 0x002a4c58 ***
: recipe for target 'hex2hcd' failed
make: *** [hex2hcd] Aborted
Fix:
Replaced -march=native with -mcpu=cortex-a53 in Makefile so that CFLAGS looks lke:
CFLAGS = -O2 -mcpu=cortex-a53
Source: Serverov's comment on https://github.com/Motion-Project/motion/issues/104
Close it if found genuine
@ChthonicCrusader: I'm thinking about removing the whole optimization stuff since this is a quite small tool. Does it work for you with "CFLAGS = -O2"?