Clear Filters
Clear Filters

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

2 views (last 30 days)
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);

Answers (1)

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

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!