Compiling apps-free

Applications, development tools, FPGA, C, WEB
Post Reply
segfault1
Posts: 3
Joined: Tue Feb 07, 2023 8:47 am

Compiling apps-free

Post by segfault1 » Mon Feb 20, 2023 10:13 am

Hello together,

Lately I am working with the RedPitaya to build up a 4-wire impedance measurement setup. The apps-free applications should serve me as a starting point.

Before I had simple example programs like the /Examples/C/digital_led_blink.c
(https://redpitaya.readthedocs.io/en/lat ... /comC.html) or the /Examples/web-tutorial/led
(https://redpitaya.readthedocs.io/en/lat ... EDbut.html) running without problems.

As a logical next step, I wanted to compile and run the apps-free applications.
If the apps are compiled according to the instructions in the readme and then opened via the web interface, the alert "Application error - Application not loaded" appears.
Are you also having problems getting the apps to run?

I appreciate any feedback.
Last edited by segfault1 on Sat Feb 25, 2023 10:21 pm, edited 1 time in total.

segfault1
Posts: 3
Joined: Tue Feb 07, 2023 8:47 am

Re: Compiling apps-free

Post by segfault1 » Sat Feb 25, 2023 10:18 pm

I checked the debug.log file in /var/log/redpitaya_nginx/debug.log.
Here is the error message:

Code: Select all

2023/02/25 20:57:34 [error] 2014#0: *128 Application not loaded, client: 192.168.188.29, server: , request: "GET /data?$2023/02/25 20:57:34 [alert] 2014#0: *128 the http output chain is empty, client: 192.168.188.29, server: , request: "GE$Calling application: start
rmdir: failed to remove '/sys/kernel/config/device-tree/overlays/*': No such file or directory
Problem running /opt/redpitaya/sbin/rmoverlay.sh
Loading specific FPGA from: '/opt/redpitaya/fpga/fpga_0.94.bit'
sh: 1: /opt/redpitaya/www/apps/scope/fpga.sh: not found
Problem running /opt/redpitaya/www/apps/scope/fpga.sh
Loading application: '/opt/redpitaya/www/apps/scope/controllerhf.so'
Cannot resolve 'ws_set_params_interval' function.
Cannot resolve 'ws_set_signals_interval' function.
Cannot resolve 'ws_get_params_interval' function.
Cannot resolve 'ws_get_signals_interval' function.
Cannot resolve 'ws_set_params' function.
Cannot resolve 'ws_get_params' function.
Cannot resolve 'ws_set_signals' function.
Cannot resolve 'ws_get_signals' function.
Cannot resolve 'ws_gzip' function.
Loading scope (with gen+pid extensions) version 0.94-0-devbuild.
Application loaded succesfully!
2023/02/25 20:57:35 [alert] 2014#0: *129 the http output chain is empty, client: 192.168.188.29, server: , request: "GE$2023/02/25 20:57:35 [alert] 2014#0: *130 the http output chain is empty, client: 192.168.188.29, server: , request: "PO$nginx: worker process: symbol lookup error: /opt/redpitaya/www/apps/scope/controllerhf.so: undefined symbol: rp_osc_adc$2023/02/25 20:57:35 [error] 2028#0: *132 Application not loaded, client: 192.168.188.29, server: , request: "GET /data?$2023/02/25 20:57:35 [alert] 2028#0: *132 the http output chain is empty, client: 192.168.188.29, server: , request: "GE$2023/02/25 20:57:37 [error] 2028#0: *133 Application not loaded, client: 192.168.188.29, server: , request: "GET /data?$2023/02/25 20:57:37 [alert] 2028#0: *133 the http output chain is empty, client: 192.168.188.29, server: , request: "GE$Calling application: apps
/opt/redpitaya/www/apps/scpi_manager/controllerhf.so does not exist.
stop_ws_server()
/opt/redpitaya/www/apps/updater/controllerhf.so does not exist.
stop_ws_server()
stop_ws_server()
stop_ws_server()
stop_ws_server()
stop_ws_server()
stop_ws_server()
stop_ws_server()
/opt/redpitaya/www/apps/network_manager/controllerhf.so does not exist.
stop_ws_server()
Cannot resolve 'ws_set_params_interval' function.
Cannot resolve 'ws_set_signals_interval' function.
Cannot resolve 'ws_get_params_interval' function.
Cannot resolve 'ws_get_signals_interval' function.
Cannot resolve 'ws_set_params' function.
Cannot resolve 'ws_get_params' function.
Cannot resolve 'ws_set_signals' function.
Cannot resolve 'ws_get_signals' function.
Cannot resolve 'ws_gzip' function.
stop_ws_server()
Cannot resolve 'ws_set_params_interval' function.
Cannot resolve 'ws_set_signals_interval' function.
Cannot resolve 'ws_get_params_interval' function.
Cannot resolve 'ws_get_signals_interval' function.
Cannot resolve 'ws_set_params' function.
Cannot resolve 'ws_get_params' function.
Cannot resolve 'ws_set_signals' function.
Cannot resolve 'ws_get_signals' function.
Cannot resolve 'ws_gzip' function.
stop_ws_server()
Cannot resolve 'ws_set_params_interval' function.
Cannot resolve 'ws_set_signals_interval' function.
Cannot resolve 'ws_get_params_interval' function.
Cannot resolve 'ws_get_signals_interval' function.
Cannot resolve 'ws_set_params' function.
Cannot resolve 'ws_get_params' function.
Cannot resolve 'ws_set_signals' function.
Cannot resolve 'ws_get_signals' function.
Cannot resolve 'ws_gzip' function.
stop_ws_server()
Cannot resolve 'ws_set_params_interval' function.
Cannot resolve 'ws_set_signals_interval' function.
Cannot resolve 'ws_get_params_interval' function.
Cannot resolve 'ws_get_signals_interval' function.
Cannot resolve 'ws_set_params' function.
Cannot resolve 'ws_get_params' function.
Cannot resolve 'ws_set_signals' function.
Cannot resolve 'ws_get_signals' function.
Cannot resolve 'ws_gzip' function.
stop_ws_server()
Cannot resolve 'ws_set_params_interval' function.
Cannot resolve 'ws_set_signals_interval' function.
Cannot resolve 'ws_get_params_interval' function.
Cannot resolve 'ws_get_signals_interval' function.
Cannot resolve 'ws_set_params' function.
Cannot resolve 'ws_get_params' function.
Cannot resolve 'ws_set_signals' function.
Cannot resolve 'ws_get_signals' function.
Cannot resolve 'ws_gzip' function.
stop_ws_server()
2023/02/25 20:57:38 [alert] 2028#0: *151 the http output chain is empty, client: 192.168.188.29, server: , request: "GE$

segfault1
Posts: 3
Joined: Tue Feb 07, 2023 8:47 am

Re: Compiling apps-free

Post by segfault1 » Sun Feb 26, 2023 12:13 am

As an exception, the Frequency Response Analyzer (apps-free/freqanalyzer) works fine.
It makes no difference whether you compile the program directly on the RP or cross-compile it. Both works without problems in this case.
Unfortunately, the other 'apps-free'-applications still do not work.

If anyone has the same problem or gets the apps compiled, I would appreciate a message about it.

Post Reply
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 29 guests