On Tue 04 Sep 2018 13:58:43 NZST +1200, Malcolm wrote:

> If you want to try wiringPi it has been updated for RPi3 B+?
> https://build.opensuse.org/package/binaries/home:malcolmlewis:SLES12-SP2-RPI-Extra/wiringPi/openSUSE_Leap_15.0_Ports

Great, thanks!

zypper ar -k -f 
https://download.opensuse.org/repositories/home:/malcolmlewis:/SLES12-SP2-RPI-Extra/openSUSE_Leap_15.0_Ports/home:malcolmlewis:SLES12-SP2-RPI-Extra.repo
zypper in wiringPi wiringPi-devel
zypper in --no-recommends gcc

gcc -Wall -o blink blink.c -lwiringPi
/usr/lib64/gcc/aarch64-suse-linux/7/../../../../lib64/libwiringPi.so: undefined 
reference to `crypt'
/usr/lib64/gcc/aarch64-suse-linux/7/../../../../lib64/libwiringPi.so: undefined 
reference to `pthread_join'
/usr/lib64/gcc/aarch64-suse-linux/7/../../../../lib64/libwiringPi.so: undefined 
reference to `pthread_create'
/usr/lib64/gcc/aarch64-suse-linux/7/../../../../lib64/libwiringPi.so: undefined 
reference to `pow'
/usr/lib64/gcc/aarch64-suse-linux/7/../../../../lib64/libwiringPi.so: undefined 
reference to `shm_open'
/usr/lib64/gcc/aarch64-suse-linux/7/../../../../lib64/libwiringPi.so: undefined 
reference to `pthread_cancel'
collect2: error: ld returned 1 exit status

Oops. Nothing to lose, let's play:

gcc -Wall -o blink blink.c -lwiringPi -lcrypt -pthread -lm -lrt
-rwx------ 1 test test 75192 2018-09-04 15:40 blink*

WTF?!??

Volker

-- 
Volker Kuhlmann
http://volker.top.geek.nz/      Please do not CC list postings to me.
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to