You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thank-you for the porting of WiringPI in ARM64 envirnment.
The basic use runs very well.
Unfortunately I'm, finding an issue in compiling a small C++ daemon that performs very basic WiringPI activity (e.g. setting GPIO....)
The 32bit version runs well, buy on the ARM64 system the same compiled version can not be executed due to ELF64 problem.
I have tryed to recompile in the 64bit environment, bur the compilation returns error undefined reference to `digitalRead'.
You porting has been installed on a PI3+ usind the .deb file.
Ant help appreciated
Best regards
Ugo
PS : full compilation log here below 👍
g++ -Wall pttdemonint.cpp -o pttdemon
/usr/bin/ld: /tmp/ccXrsHue.o: in function RTS2PTT()': pttdemonint.cpp:(.text+0xc): undefined reference to digitalRead'
/usr/bin/ld: pttdemonint.cpp:(.text+0x44): undefined reference to digitalWrite' /usr/bin/ld: pttdemonint.cpp:(.text+0x68): undefined reference to digitalWrite'
/usr/bin/ld: /tmp/ccXrsHue.o: in function main': pttdemonint.cpp:(.text+0x80): undefined reference to wiringPiSetup'
/usr/bin/ld: pttdemonint.cpp:(.text+0x94): undefined reference to pinMode' /usr/bin/ld: pttdemonint.cpp:(.text+0xa8): undefined reference to digitalWrite'
/usr/bin/ld: pttdemonint.cpp:(.text+0xbc): undefined reference to wiringPiISR' /usr/bin/ld: pttdemonint.cpp:(.text+0xc8): undefined reference to pinModeAlt'
collect2: error: ld returned 1 exit status
The text was updated successfully, but these errors were encountered:
Hi Adolfo,
thank-you for the porting of WiringPI in ARM64 envirnment.
The basic use runs very well.
Unfortunately I'm, finding an issue in compiling a small C++ daemon that performs very basic WiringPI activity (e.g. setting GPIO....)
The 32bit version runs well, buy on the ARM64 system the same compiled version can not be executed due to ELF64 problem.
I have tryed to recompile in the 64bit environment, bur the compilation returns error undefined reference to `digitalRead'.
You porting has been installed on a PI3+ usind the .deb file.
Ant help appreciated
Best regards
Ugo
PS : full compilation log here below 👍
g++ -Wall pttdemonint.cpp -o pttdemon
/usr/bin/ld: /tmp/ccXrsHue.o: in function
RTS2PTT()': pttdemonint.cpp:(.text+0xc): undefined reference to
digitalRead'/usr/bin/ld: pttdemonint.cpp:(.text+0x44): undefined reference to
digitalWrite' /usr/bin/ld: pttdemonint.cpp:(.text+0x68): undefined reference to
digitalWrite'/usr/bin/ld: /tmp/ccXrsHue.o: in function
main': pttdemonint.cpp:(.text+0x80): undefined reference to
wiringPiSetup'/usr/bin/ld: pttdemonint.cpp:(.text+0x94): undefined reference to
pinMode' /usr/bin/ld: pttdemonint.cpp:(.text+0xa8): undefined reference to
digitalWrite'/usr/bin/ld: pttdemonint.cpp:(.text+0xbc): undefined reference to
wiringPiISR' /usr/bin/ld: pttdemonint.cpp:(.text+0xc8): undefined reference to
pinModeAlt'collect2: error: ld returned 1 exit status
The text was updated successfully, but these errors were encountered: