Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Compilation of node on Rpi3

Compilation of node on Rpi3 10 months 1 week ago #11967

  • michael.schalck
  • michael.schalck's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 1
  • Karma: 0
Hi :)

Today i ran into a error when i wanted to compile a PLC program for the runtime on a rpi3.
When i remove the PLC program the node compiles fine, and i can start the runtime.
any suggestions what can be wrong in my setup?
Attachments:
Last Edit: 10 months 1 week ago by michael.schalck.
The administrator has disabled public write access.

Compilation of node on Rpi3 10 months 1 week ago #11972

  • FoxMan
  • FoxMan's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 23
  • Thank you received: 10
  • Karma: 3
Hi Michael,

looks like the library libtirpc is missing. It can be installed with the command

sudo apt-get install libtirpc-dev

from the commandline.

/Martin
The administrator has disabled public write access.

Compilation of node on Rpi3 10 months 1 week ago #11976

  • michael.schalck
  • michael.schalck's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 1
  • Karma: 0
Hi Martin :)

I tried this, but my ubuntu says its already installed...
On a VM based on ubuntu 20,4 with Proview 5,9 i do not have this problem. Here the node on rpi compiles fine.
Last Edit: 10 months 1 week ago by michael.schalck.
The administrator has disabled public write access.

Compilation of node on Rpi3 10 months 1 week ago #11986

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3178
  • Thank you received: 502
  • Karma: 133
Hi Michael,

It's the cross compiler that doesn't have the libtiprc archive, and it needs an ARM version. The host version will not work. It is problaby possible to find the ARM version somewhere under /usr/lib in the rpi, and copy it to some lib directory under the cross compiler.

/Claes
The administrator has disabled public write access.

Compilation of node on Rpi3 10 months 1 week ago #11989

  • FoxMan
  • FoxMan's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 23
  • Thank you received: 10
  • Karma: 3
Hi Michael,

to get ProviewR 5.9 running on a Raspberry 3B+ with Raspbian 10 and gcc/g++ V8.3, I downgraded the cross-compiler to version 8.4 on the X86_64 engineering stations (Debian 11 and Ubuntu 22).

To do this you have to download and install the following packages:

cpp-8-arm-linux-gnueabihf_8.4.0-1ubuntu1~18.04cross2_amd64.deb
g++-8-arm-linux-gnueabihf_8.4.0-1ubuntu1~18.04cross2_amd64.deb
gcc-8-arm-linux-gnueabihf_8.4.0-1ubuntu1~18.04cross2_amd64.deb
gcc-8-arm-linux-gnueabihf-base_8.4.0-1ubuntu1~18.04cross2_amd64.deb
gcc-8-cross-base_8.4.0-3ubuntu1cross1_all.deb
libc6-armel-cross_2.24-9ubuntu1cross1_all.deb
libc6-armhf-cross_2.27-3ubuntu1cross1.1_all.deb
libc6-armhf-cross_2.28-7cross1_all.deb
libc6-dev-armhf-cross_2.27-3ubuntu1cross1.1_all.deb
libc6-dev-armhf-cross_2.28-7cross1_all.deb

It's best to put them in a separate directory (I named it downgrade), then you can install them all together with the command "sudo dpkg -i *.deb".

You have to note that you have to repeat the downgrade after each update (sudo apt-get update/upgrade).

And one more note: even under Debian 11 you have to use the specified Ubuntu packages. There are no Debian packages that work under the given boundary conditions (or at least I haven't found one).

/Martin
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 8.946 seconds