I got coptercontrol to mostly compile on FreeBSD. The changes I needed (attached) to do the build aren't too onerous, and some of them are a bit hacky, but they got me to the point of linking, where things went pear-shaped.
Before I roll my sleeves up and dive into the details, are there any simple (known?) solutions to this?
[groundzero] /usr/local/src/OpenPilot $ gmake coptercontrol
clang++ -c -pipe -g -Wall -W -DQT_XML_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-clang -I../../../ground/uavobjgenerator -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtXml -I/usr/local/include/qt4 -I. -I../../../ground/uavobjgenerator -I/usr/local/include/qt4 -I/usr/local/include -I. -o main.o ../../../ground/uavobjgenerator/main.cpp
clang++ -c -pipe -g -Wall -W -DQT_XML_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-clang -I../../../ground/uavobjgenerator -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtXml -I/usr/local/include/qt4 -I. -I../../../ground/uavobjgenerator -I/usr/local/include/qt4 -I/usr/local/include -I. -o uavobjectparser.o ../../../ground/uavobjgenerator/uavobjectparser.cpp
:
<SnipSnip>
:
CC flight/PiOS/STM32F10x/Libraries/FreeRTOS/Source/list.c
CC flight/PiOS/STM32F10x/Libraries/FreeRTOS/Source/queue.c
CC flight/PiOS/STM32F10x/Libraries/FreeRTOS/Source/tasks.c
CC flight/PiOS/STM32F10x/Libraries/FreeRTOS/Source/portable/GCC/ARM_CM3/port.c
CC flight/PiOS/STM32F10x/Libraries/FreeRTOS/Source/portable/MemMang/heap_1.c
LD build/fw_coptercontrol/fw_coptercontrol.elf
../PiOS/STM32F10x/link_STM32103CB_CC_Rev1_sections.ld:152 cannot move location counter backwards (from 200049d0 to 00000630)
collect2: ld returned 1 exit status
gmake[1]: *** [/usr/local/src/OpenPilot/build/fw_coptercontrol/fw_coptercontrol.elf] Error 1
gmake: *** [fw_coptercontrol_opfw] Error 2
CopterControl.txt 6.35K
11 downloads


United Kingdom
Germany
United States
Canada









