Open jihwanK opened 6 years ago
Open your Makefile in root directory and change line OPTS=-Ofast to OPTS=-O0
Also out of curiosity what gcc version are you using ( what is the output of gcc --version
? )
Also encountered this problem, my GCC is 4.4.7, the modified make other problems:
gcc -Iinclude/ -Isrc/ -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -fPIC -O0 -c ./src/gemm.c -o obj/gemm.o Putting child 0x011c7f20 (obj/gemm.o) PID 16820 on the chain. Live child 0x011c7f20 (obj/gemm.o) PID 16820 In file included from ./src/utils.h:5, from ./src/gemm.c:2: include/darknet.h:495: error: redefinition of typedef ‘network’ compilation terminated due to -Wfatal-errors. Reaping losing child 0x011c7f20 PID 16820 make: *** [obj/gemm.o] Error 1
oh! I also met the probelm,Did you solve it?
me too . I fix it by using:
yum groupinstall "Development Tools"
then gcc (GCC) 4.8.2 can do it.
Hi, I just tried to run a makefile but I got this errors: