Broken build inthe github repository

colinm1001 wrote on Tuesday, January 19, 2016:

Hi rtel

I download the FreeRTOS from the GITHUB repository (https://github.com/cjlano/freertos.git), and this morning I find I’m getting compile errors: -
In file included from …/…/Source/queue.c:79:0:
…/…/Source/include/task.h:134:2: error: redeclaration of enumerator ‘eNothing’
eNothing = 0
^
In file included from …/…/Source/queue.c:78:0:
…/…/Source/include/FreeRTOS.h:875:2: note: previous definition of ‘eNothing’ was here
eNothing = 0
^
In file included from …/…/Source/queue.c:79:0:
…/…/Source/include/task.h:135:3: error: conflicting types for ‘eDummy’
} eDummy;
^
In file included from …/…/Source/queue.c:78:0:
…/…/Source/include/FreeRTOS.h:876:3: note: previous declaration of ‘eDummy’ was here
} eDummy;
^
…/…/Source/queue.c:421:15: error: conflicting types for ‘xQueueGenericCreate’
QueueHandle_t xQueueGenericCreate( const UBaseType_t uxQueueLength, const UBaseType_t uxItemSize, uint8_t *pucQueueStorage, StaticQueue_t *pxStaticQueue, const uint8_t ucQueueType )
^
In file included from …/…/Source/queue.c:80:0:
…/…/Source/include/queue.h:1557:15: note: previous declaration of ‘xQueueGenericCreate’ was here
QueueHandle_t xQueueGenericCreate( const UBaseType_t uxQueueLength, const UBaseType_t uxItemSize, const uint8_t ucQueueType ) PRIVILEGED_FUNCTION;
^

Any ideas?

rtel wrote on Tuesday, January 19, 2016:

Unfortunately we are only able to support the official FreeRTOS distribution. I have no idea what that git repository is used for, or what modifications may have been made to the code. I would recommend using an official distribution, or asking your question to whoever is maintaining the repository.

colinm1001 wrote on Tuesday, January 19, 2016:

Ah, OK.

Cheers