Effacer les filtres
Effacer les filtres

How to deal with error using raspi.inte​rnal.updat​eServer (line 90)

1 vue (au cours des 30 derniers jours)
Vikesh Kumavat
Vikesh Kumavat le 10 Jan 2018
Commenté : Aviad Golan le 23 Juin 2023
While connecting the matlab with rapberry pi wireless i am geting this error .How to deal with this
### Updating Raspberry Pi I/O server...
### Connecting to board...
### Connected to 192.168.43.97...
### Creating server folder...
### Transferring source files...
### Building MATLAB I/O server...
Error using raspi.internal.updateServer (line 90)
Error executing command "make -C /opt/MATLAB/server_v17.2.0 -f Makefile". Details:
STDERR: In file included from /usr/include/string.h:630:0,
from devices.c:4:
devices.c:56:11: error: expected identifier or ‘(’ before ‘__extension__’
char *strndup(const char *s, size_t n)
^
make: *** [obj/devices.o] Error 1
STDOUT: make: Entering directory '/opt/MATLAB/server_v17.2.0'
[Compiling] auth.c
gcc -c -O2 -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include -I/opt/userland/interface/vcos
-I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux -I/opt/userland/host_applications/linux/apps/raspicam -Winline
-pipe -D_DEBUG -D_MATLABIO_ auth.c -o obj/auth.o
[Compiling] server.c
gcc -c -O2 -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include -I/opt/userland/interface/vcos
-I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux -I/opt/userland/host_applications/linux/apps/raspicam -Winline
-pipe -D_DEBUG -D_MATLABIO_ server.c -o obj/server.o
[Compiling] handler.c
gcc -c -O2 -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include -I/opt/userland/interface/vcos
-I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux -I/opt/userland/host_applications/linux/apps/raspicam -Winline
-pipe -D_DEBUG -D_MATLABIO_ handler.c -o obj/handler.o
[Compiling] devices.c
gcc -c -O2 -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include -I/opt/userland/interface/vcos
-I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux -I/opt/userland/host_applications/linux/apps/raspicam -Winline
-pipe -D_DEBUG -D_MATLABIO_ devices.c -o obj/devices.o
Makefile:46: recipe for target 'obj/devices.o' failed
make: Leaving directory '/opt/MATLAB/server_v17.2.0'
Error in raspi.updateServer (line 1205)
raspi.internal.updateServer(varargin{:});
Error in raspi/launchServer (line 805)
raspi.updateServer(obj.DeviceAddress,...
Error in raspi (line 205)
launchServer(obj);
  2 commentaires
Sushil
Sushil le 22 Avr 2018
I am having same problem, did you get it resolved.
Aviad Golan
Aviad Golan le 23 Juin 2023
I am having the same issue as well, did any of you guys ever figure it out?

Connectez-vous pour commenter.

Réponses (1)

Coskun Arslan
Coskun Arslan le 15 Nov 2019
I'm having the same problem.

Catégories

En savoir plus sur MATLAB Support Package for Raspberry Pi Hardware dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by