• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Solved Compile 3rd Party Program on FreeBSD

CraigHB

Member

Thanks: 24
Messages: 90

#1

SirDice

Administrator
Staff member
Administrator
Moderator

Thanks: 6,125
Messages: 27,000

#3
I've looked it over for a while and I'm not able to translate all packages to FreeBSD titles.
Any specific ones you're having trouble with? Most are fairly obvious but some of the developer libraries might be tricky to "translate" to their corresponding FreeBSD package.
 

CraigHB

Member

Thanks: 24
Messages: 90

#4
Thanks for the replies.

I was actually able to talk to one of the developers on that project and it turns out I only need a subset of those packages for what I want to do (compile only the firmware). He said to install git, cmake, arm-eabi-gcc, and Python Qt. So i'll try that and see if it works. He said cmake should indicate if there there's anything missing. I'll see how it goes, I'll try it tonight or tomorrow.

Yeah that would be pretty cool to port it myself. If I can get it to work with gcc I might want to see if I can cross-compile with clang instead so I may have that question.
 

CraigHB

Member

Thanks: 24
Messages: 90

#5
So I've managed to get this pakage to start compiling, but then it errors out with the following. Anyone know the problem?
Code:
[ 37%] Linking CXX executable bootloader.elf
/usr/local/bin/arm-none-eabi-ld: cannot find -lc++
collect2: error: ld returned 1 exit status
*** Error code 1

Stop.
make[3]: stopped in /root/opentx/build
*** Error code 1
 
Top