Missing Header: wiringPiSPI.h

6 years 3 months ago #29529540 by karman
Opal,

Reboot failure was kernel panic, unable to mount SD or something..

I just installed clean arch linux image as no time to redownload noobs now.

I now get new error after installing, this time the daemon service is not starting:
./rioboard_d: error while loading shared libraries: libwiringPi.so.1: cannot open shared object file: No such file or directory

Checked and the file is under: /usr/local/lib/libwiringPi.so.1

I busy checking include paths etc, will give update in few hours.. time for bed now

Please Log in or Create an account to join the conversation.

6 years 3 months ago #29529541 by opal
Replied by opal on topic Missing Header: wiringPiSPI.h
Hello karman,

For Arch Linux make sure to use separate RioBoard install script ( www.roboteq.com/index.php/docman/rio-documents-and-files/rio-downloads/install-script/198-rio-board-install-arch-linux/file )

Please let us know if it was the reason for your recent issue.

Please Log in or Create an account to join the conversation.

6 years 3 months ago #29529542 by karman
Thanks, yes, I used the link you posted earlier. Install all went fine . I'm just busy installing gcc etc recompile wiringpi. bit slow..... lovely slow internet

Please Log in or Create an account to join the conversation.

6 years 3 months ago #29529543 by karman
Ok,

Up and running again. Installed wiringpi and recompiled rioboard_test and did a "make install." The make file is still catering for debian as trying to copy the files to /init.d ..
[root@alarmpi raspio-src]# make install
cp rioboard_d /usr/sbin
chmod 755 /usr/sbin/rioboard_d
cp ./startup_script/rioboard_d /etc/init.d
cp: cannot stat './startup_script/rioboard_d': No such file or directory
makefile:49: recipe for target 'install' failed
make: *** [install] Error 1

At least I can start getting testing done:)

Thanks for help so far

Please Log in or Create an account to join the conversation.

6 years 3 months ago #29529552 by opal
Replied by opal on topic Missing Header: wiringPiSPI.h
Hello karman,

karman wrote: The make file is still catering for debian as trying to copy the files to /init.d ..


Please make sure you are using the Arch Linux install script (not the Raspbian one): www.roboteq.com/index.php/docman/rio-documents-and-files/rio-downloads/install-script/198-rio-board-install-arch-linux/file

Please Log in or Create an account to join the conversation.

6 years 3 months ago #29529577 by karman
Sorry, My bad :)

Please Log in or Create an account to join the conversation.

Moderators: opal
Time to create page: 0.147 seconds