Hello,
I just find out a wonderful library: libpruio. So I have tried to use it on the BBB, which works well.
So I have, decided to do new example, nevertheless, I choose to try to develop them from my VM Linux and then send it into the board.
However, I didn't succeed to compiled.
So I have, tried to compile example provided in the library: the button.c.
First, I want to do it on Eclipse, which is nicer to develop application.
I also tried to do it manually to see if the error came from the configuration.
However, in both cases I've got the same error:
collect2: fatal error: ld terminated with signal 11 [Segmentation fault]But, when I try to do the same on the BBB it works.
So I assumed, that it's maybe link with my VM architecture, in fact:
$ uname -a
Linux mppdev 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u4 (2016-02-29) x86_64 GNU/Linux
So it is an 64 bit one. In addition,
$file libpruio
libpruio.so: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, stripped
So it means that it is a 32 library.
So my questions are:
Is there a way to re-build the libpruio for use it on a 64 architecture or something else which will make me cross compile a program with the libpruio from my VM
to the BBB which has the following configuration:
root@beagle01:~# uname -a
Linux beagle01 4.1.21-bone-rt-r20 #1 Wed Apr 6 19:53:34 UTC 2016 armv7l GNU/Linux
Or is it impossible to do such thing?
Or is my Segmentation fault link to something else?
I give you in attachment the full description of the building message
Remark :
1)
$ lsb_release -da
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.3 (jessie)
Release: 8.3
Codename: jessie
2)
I have already succeed to cross compiled programs on my VM into the BB ( but without the libpruio).
3)
libpruio presentation and download:
http://users.freebasic-portal.de/tjf/Projekte/libpruio/doc/html/index.htmlhttps://www.freebasic-portal.de/downloads/fb-on-arm/libpruio-325.htmlThanks by advance Regards
Vincent
"Enjoy life no matter what !"