FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [April 2008 Threads] 4.8.0 build errors using WinAVRPosted by Shounak Mitra on April 3, 2008 I am getting build errors on WinAVR when I try to build the demo in FreeRTOS 4.8.0:
Compiling: main.c avr-gcc -c -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../C ommon/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-en ums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsi gn-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing -declarations -Wunused -Wa,-adhlns=main.lst -std=gnu99 main.c -o main.o main.c: In function 'main': main.c:191: warning: pointer targets in passing argument 2 of 'xTaskCreate' diff er in signedness
Compiling: regtest.c avr-gcc -c -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../C ommon/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-en ums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsi gn-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing -declarations -Wunused -Wa,-adhlns=regtest.lst -std=gnu99 regtest.c -o regtest. o regtest.c: In function 'vStartRegTestTasks': regtest.c:71: warning: pointer targets in passing argument 2 of 'xTaskCreate' di ffer in signedness regtest.c:72: warning: pointer targets in passing argument 2 of 'xTaskCreate' di ffer in signedness
Compiling: ParTest/ParTest.c avr-gcc -c -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../C ommon/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-en ums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsi gn-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing -declarations -Wunused -Wa,-adhlns=ParTest/ParTest.lst -std=gnu99 ParTest/ParTe st.c -o ParTest/ParTest.o
Compiling: serial/serial.c avr-gcc -c -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../C ommon/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-en ums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsi gn-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing -declarations -Wunused -Wa,-adhlns=serial/serial.lst -std=gnu99 serial/serial.c -o serial/serial.o
Compiling: ../../Source/tasks.c avr-gcc -c -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../C ommon/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-en ums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsi gn-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing -declarations -Wunused -Wa,-adhlns=../../Source/tasks.lst -std=gnu99 ../../Sour ce/tasks.c -o ../../Source/tasks.o ../../Source/tasks.c: In function 'vTaskSwitchContext': ../../Source/tasks.c:1435: warning: dereferencing type-punned pointer will break strict-aliasing rules
Compiling: ../../Source/queue.c avr-gcc -c -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../C ommon/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-en ums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsi gn-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing -declarations -Wunused -Wa,-adhlns=../../Source/queue.lst -std=gnu99 ../../Sour ce/queue.c -o ../../Source/queue.o ../../Source/queue.c:1196: error: conflicting types for 'xQueueIsQueueEmptyFromI SR' ../../Source/queue.c:128: error: previous declaration of 'xQueueIsQueueEmptyFrom ISR' was here ../../Source/queue.c:1218: error: conflicting types for 'xQueueIsQueueFullFromIS R' ../../Source/queue.c:129: error: previous declaration of 'xQueueIsQueueFullFromI SR' was here make: *** [../../Source/queue.o] Error 1
RE: 4.8.0 build errors using WinAVRPosted by woops_ on April 3, 2008 see https://sourceforge.net/forum/message.php?msg_id=4877178
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|