shakeelsultan
Junior Member level 1
dhrystone conflicting types
i'm trying to compile Dhrystone benchmark using Xilinx EDK 10.1 but the problem is that the EDk compiler for microblaze mb-gcc is not compiling some of the functions in the time.h library, specifically, the error is as:
/cygdrive/c/dhrystone/dhry_1.c:31: warning: conflicting types for built-in function 'malloc'
/cygdrive/c/dhrystone/dhry_1.c:49: error: conflicting types for 'times'
/cygdrive/d/EDK/EDK/gnu/microblaze/nt/bin/../lib/gcc/microblaze-xilinx-elf/4.1.1/../../../../microblaze-xilinx-elf/include/sys/times.h:23: error: previous declaration of 'times' was here
/cygdrive/c/dhrystone/dhry_1.c: In function 'main':
/cygdrive/c/dhrystone/dhry_1.c:98: warning: incompatible implicit declaration of built-in function 'strcpy'
/cygdrive/c/dhrystone/dhry_1.c:282: warning: incompatible implicit declaration of built-in function 'exit'
make: *** [eval/executable.elf] Error 1
Done!
i'm trying to compile Dhrystone benchmark using Xilinx EDK 10.1 but the problem is that the EDk compiler for microblaze mb-gcc is not compiling some of the functions in the time.h library, specifically, the error is as:
/cygdrive/c/dhrystone/dhry_1.c:31: warning: conflicting types for built-in function 'malloc'
/cygdrive/c/dhrystone/dhry_1.c:49: error: conflicting types for 'times'
/cygdrive/d/EDK/EDK/gnu/microblaze/nt/bin/../lib/gcc/microblaze-xilinx-elf/4.1.1/../../../../microblaze-xilinx-elf/include/sys/times.h:23: error: previous declaration of 'times' was here
/cygdrive/c/dhrystone/dhry_1.c: In function 'main':
/cygdrive/c/dhrystone/dhry_1.c:98: warning: incompatible implicit declaration of built-in function 'strcpy'
/cygdrive/c/dhrystone/dhry_1.c:282: warning: incompatible implicit declaration of built-in function 'exit'
make: *** [eval/executable.elf] Error 1
Done!