Hi,
I've been trying to make a new API and a new librp.so file, but I kept receiving "Segmentation fault" error. I then tried to see if the original API files work, so here is what I did:
- I copied the entire git repository to root folder of Red Pitaya
- I ran the command "make api"
- I copied the new librp.so file from api/lib to /opt/redpitaya/lib
- I ran "make digital_led_blink"
- I then ran "./digital_led_blink" but received "Segmentation fault" error
Has anyone else had this problem with the original API, completely unchanged?
I also tried to make the API on a different Ubuntu device and then transfer the librp.so file to Red Pitaya, but I received a different error:
/opt/redpitaya/lib/librp.so: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
<builtin>: recipe for target 'led' failed
make: *** [led] Error 1
Is it something I forgot, or maybe the versions are mismatched (in opt folder, it says it's 0.96)?
Thanks in advance
Matija
Segmentation fault after making librp.so
- redpitaya
- Site Admin
- Posts: 907
- Joined: Wed Mar 26, 2014 7:04 pm
Re: Segmentation fault after making librp.so
Hi Matija,
please try to use our latest OS http://redpitaya.readthedocs.io/en/late ... card.html and follow instructions from our developers guide: http://redpitaya.readthedocs.io/en/late ... /comC.html
thank you, Red Pitaya team
please try to use our latest OS http://redpitaya.readthedocs.io/en/late ... card.html and follow instructions from our developers guide: http://redpitaya.readthedocs.io/en/late ... /comC.html
thank you, Red Pitaya team
-
- Posts: 3
- Joined: Mon Apr 10, 2017 1:36 pm
Re: Segmentation fault after making librp.so
Thank you very much, I updated the OS and there is no error now.
-
- Posts: 6
- Joined: Mon Aug 21, 2017 6:56 am
Re: Segmentation fault after making librp.so
I am facing the same error as when I rebuild the api, my OS is updated to latest version 0.96.86. Please let me know what should do to rebuild the api.
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie
Who is online
Users browsing this forum: No registered users and 89 guests