Demo for microblaze on virtex 5

ravertje wrote on Friday, March 21, 2008:

Hi,

I’m trying to run the demo for the Virtex 4 on a Virtex 5 with microblaze (board ML506).
So I created a new project and added all the source and header files that are in the Virtex 4 demo. Unfortunately I get a huge ammount errors, all complaining about this:

error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

I get this error for about every header file (portable.h, task.h, list.h, and so on…).
Apparently I’m missing something, but can’t figure out what.
Anyone an idea.

Thanks in advance,
Sammy

rtel wrote on Friday, March 21, 2008:

Did you include the compiler option -D MICROBLAZE_GCC?

Regards.

ravertje wrote on Friday, March 21, 2008:

No I didn’t.
It seems to work now. Thanks for the fast response!

Greets,

Sammy