Page 1 of 1

Compiling apps-free

Posted: Mon Feb 20, 2023 10:13 am
by segfault1
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.

Re: Compiling apps-free

Posted: Sat Feb 25, 2023 10:18 pm
by segfault1
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$

Re: Compiling apps-free

Posted: Sun Feb 26, 2023 12:13 am
by segfault1
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.