xkonni / raspberry-remote

Control remote plugs with the Raspberry Pi, features a webinterface. Uses RCSwitch and wiringPi.
GNU General Public License v2.0
109 stars 47 forks source link

Help! arm64bit instruction // compiler #39

Closed floridr closed 2 years ago

floridr commented 2 years ago

Hi,

Question: Are there any ideas or documentation on how to run this program in an 64bit environment?

What I did: Compile *send.cpp using make * in a 64bit environment.

OS: Ubuntu Server 21.10 64bit arm

Help is requested, respectfully.

ubuntu@ubuntu:~/raspberry-remote$ make send

Error:

ubuntu@ubuntu:~/raspberry-remote$ make send
g++ RCSwitch.o send.o -o send -Wall -lwiringPi
/usr/bin/ld: RCSwitch.o: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status
make: *** [Makefile:14: send] Error 1