Info
此问题已关闭。 请重新打开它进行编辑或回答。
How to deal with this Error using raspi.internal.updateServer (line 90)
2 次查看(过去 30 天)
显示 更早的评论
While connecting the raspberry pi with Matlab wirelessly the following error occur how to deal with this please help me
### 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);
1 个评论
Walter Roberson
2018-1-10
Duplicates https://www.mathworks.com/matlabcentral/answers/376433-how-to-deal-with-error-using-raspi-internal-updateserver-line-90
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!