Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Dhrystone compilation problem in EDK

Status
Not open for further replies.

shakeelsultan

Junior Member level 1
Joined
Aug 10, 2006
Messages
17
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Activity points
1,367
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!
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top