Hobbyist Toolkit

cancel
Showing results for 
Search instead for 
Did you mean: 

Build .so On RaspberryPi Target

Solved!
Go to solution

I was looking at this article on building in the schroot. I noticed the instructions start with

sudo opkg update

but you'll get an error:

-bash: sudo: command not found

So, you can remove sudo (please update the doc) and keep trying but like in this thread, I see a whole bunch of missing libraries for example:

/usr/lib/gcc/arm-poky-linux-gnueabi/4.9.2/../../../../arm-poky-linux-gnueabi/bin/ld: cannot find crt1.o: No such file or directory

Is building on the target still supported? Where might I find some of those libraries. FYI I'm using LabVIEW 2020

 

0 Kudos
Message 1 of 2
(318 Views)
Solution
Accepted by topic author nanocyte

As you noticed the 'sudo' in some of the commands is totally unnecessary; that was just a mistake when that article was written.

 

As far as the other issues, this is happening because there is a mismatch in some of the versions of some low-level packages between the stuff on the target and what is present in the opkg package feeds.

 

I found that you can still make it work by running these commands after the ones listed in the article you linked:

opkg install –force-depends libc6-dev 
opkg install –force-depends libgcc-s-dev 
opkg install libstdc++-staticdev 

Note that there are two dashes at the beginning of '--force-depends' (it's a little hard to see depending on the font).

0 Kudos
Message 2 of 2
(232 Views)