Error in NetworkInterface.c

Posted by roberto-plus on November 6, 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/FreeRTOSPlusUDP/FreeRTOSUDPIPEmbeddedEthernet_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


Error in NetworkInterface.c

Posted by richardbarry on November 6, 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.


Error in NetworkInterface.c

Posted by roberto-plus on November 6, 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.


Error in NetworkInterface.c

Posted by richardbarry on November 6, 2013

Ensure "FreeRTOSIPPrivate.h" is included before any calls to #include "NetworkInterface.h".

Regards.


Error in NetworkInterface.c

Posted by roberto-plus on November 6, 2013

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

Thanks