Error in NetworkInterface.c

roberto-plus wrote on Wednesday, November 06, 2013:

Hi guys,
I’ m trying to use FreeRTOS+UDP with Microblaze on ML605.
I’ m using drivers automaticaly created by SDK when I created a new project for testing peripherals.
I have a problem with NetworkInterface.c.
I’m using followed guide and I included GCC compilator:
http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_UDP/FreeRTOS_UDP_IP_Embedded_Ethernet_Tutorial.shtml

Now, I have this problem :

C:/R/FreeRTOS-Plus/Source/FreeRTOS-Plus-UDP/include/NetworkInterface.h:48: error: expected ‘)’ before ‘’ token
C:/R/FreeRTOS-Plus/Source/FreeRTOS-Plus-UDP/include/NetworkInterface.h:49: error: expected ‘)’ before ‘pxNetworkBuffers’
…/src/NetworkInterface.c:254: error: expected ‘)’ before '
’ token
make: *** [src/NetworkInterface.o] Error 1

rtel wrote on Wednesday, November 06, 2013:

Is this different to the following question/answer?
https://sourceforge.net/p/freertos/discussion/382005/thread/178c9a4d/#8d9b

It looks like the same issue.

Regards.

roberto-plus wrote on Wednesday, November 06, 2013:

Yes, It is.
Now I have drivers for my Ethrnet.
If I created a new project for testing hardware, the SDK creates this file :
https://gist.github.com/anonymous/7338337

and I think that I can use this in order to implement NetworkInterface.c.
https://gist.github.com/anonymous/7338398

but maybe the problem now is in the compilator.

Thanks for the support.

rtel wrote on Wednesday, November 06, 2013:

Ensure “FreeRTOS_IP_Private.h” is included before any calls to #include “NetworkInterface.h”.

Regards.

roberto-plus wrote on Wednesday, November 06, 2013:

No, I didn’t include. Sorry
Now it works better.

Thanks