• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cannot execute file: Exec format error - NETPI
#2
Hi,

you try to run a program that is not made for the type of CPU your Linux is currently running on.

The hilschernetpi/netpi-raspbian container image is compiled as ARM32V7 processor architecture. It is made to run on ARM processors as netPI is supporting.

If you now compile a program unter x86 conditions and try to run in in netpi-raspbian container it will never succeed to run on ARM based devices such as netPI.

You have to switch your GCC compiler setting to compile your executeable in ARM32 mode.

Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Messages In This Thread
RE: cannot execute file: Exec format error - NETPI - by Armin@netPI - January-13th-2022, 01:17 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Initial Setup of Control Panel with admin + admin thorws error Michi 4 2,850 January-28th-2022, 09:28 AM
Last Post: Michi
  netPI opc ua server pull image error wswitula 3 3,222 August-27th-2021, 10:47 AM
Last Post: wswitula
  GSDML File royazriel 6 6,964 October-7th-2020, 08:39 PM
Last Post: Armin@netPI
  HilscherAutomation / netPI-bluetooth entrypoint.sh error bbaskii 6 4,356 September-14th-2020, 04:42 PM
Last Post: bbaskii
  Error when using a node 'OpcUaServer' tad 6 5,300 May-12th-2020, 08:35 AM
Last Post: tad
  GSDML file milesie 2 4,841 February-18th-2020, 05:18 PM
Last Post: Armin@netPI
  file folder with netPI RTE MGharat 1 2,196 December-5th-2019, 07:04 AM
Last Post: Armin@netPI
  netPI Node-Red fieldbus node Error PersEE 5 5,260 October-8th-2019, 03:55 PM
Last Post: Armin@netPI
  error when using GPIO from Python dcatteeu 4 4,658 September-10th-2019, 02:45 PM
Last Post: dcatteeu
  [SOLVED] Faulty devices description file from Github Whatzittoya13 5 3,642 March-11th-2019, 11:58 AM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)