You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello good, is it possible to migrate the code that can be used today? following the installation guide there are several commands that do not work.
I wanted to use the car and the memory was damaged and now I try to reinstall and it is impossible....
For Example:
##################################################################################################
pi@raspberrypi:~ $ sudo apt-get install python-smbus
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package python-smbus is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
###################################################################################################
pi@raspberrypi:~ $ sudo apt-get install libjpeg8-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libjpeg8-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libjpeg9-dev libjpeg62-turbo-dev
##################################################################################################
pi@raspberrypi:/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer $ sudo make USE_LIBV4L2=true clean all
make -C plugins/input_uvc clean
make[1]: Entering directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/input_uvc'
rm -f *.a *.o core * *.so *.lo
make[1]: Leaving directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/input_uvc'
make -C plugins/input_testpicture clean
make[1]: Entering directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/input_testpicture'
rm -f *.a *.o core *~ *.so *.lo
make[1]: Leaving directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/input_testpicture'
make -C plugins/output_file clean
make[1]: Entering directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/output_file'
rm -f *.a *.o core *~ *.so *.lo
make[1]: Leaving directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/output_file'
make -C plugins/output_http clean
make[1]: Entering directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/output_http'
rm -f *.a *.o core *~ *.so *.lo
make[1]: Leaving directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/output_http'
make -C plugins/output_udp clean
make[1]: Entering directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/output_udp'
rm -f *.a *.o core *~ *.so *.lo
make[1]: Leaving directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/output_udp'
make -C plugins/output_autofocus clean
make[1]: Entering directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/output_autofocus'
rm -f *.a *.o core *~ *.so *.lo
make[1]: Leaving directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/output_autofocus'
make -C plugins/input_gspcav1 clean
make[1]: Entering directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/input_gspcav1'
rm -f *.a *.o core *~ *.so *.lo
make[1]: Leaving directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/input_gspcav1'
make -C plugins/output_viewer clean
make[1]: Entering directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/output_viewer'
rm -f *.a *.o core *~ *.so *.lo
make[1]: Leaving directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/output_viewer'
make -C plugins/input_control clean
make[1]: Entering directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/input_control'
rm -f *.a *.o core *~ *.so *.lo
make[1]: Leaving directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/input_control'
make -C plugins/output_rtsp clean
make[1]: Entering directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/output_rtsp'
rm -f *.a *.o core *~ *.so *.lo
make[1]: Leaving directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/output_rtsp'
rm -f *.a *.o mjpg_streamer core *~ *.so *.lo
gcc -D'SVN_REV="Unversioned directory"' -O2 -DLINUX -D_GNU_SOURCE -Wall -c -o mjpg_streamer.o mjpg_streamer.c
gcc -D'SVN_REV="Unversioned directory"' -O2 -DLINUX -D_GNU_SOURCE -Wall -c -o utils.o utils.c
gcc -D'SVN_REV="Unversioned directory"' -O2 -DLINUX -D_GNU_SOURCE -Wall mjpg_streamer.o utils.o -lpthread -ldl -o mjpg_streamer
chmod 755 mjpg_streamer
make -C plugins/input_uvc USE_LIBV4L2=true all
make[1]: Entering directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/input_uvc'
gcc -c -O1 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -DUSE_LIBV4L2 -o v4l2uvc.lo v4l2uvc.c
v4l2uvc.c: In function ‘init_videoIn’:
v4l2uvc.c:88:23: warning: variable ‘currentHeight’ set but not used [-Wunused-but-set-variable]
88 | int currentWidth, currentHeight = 0;
| ^~~~~~~~~~~~~
v4l2uvc.c:88:9: warning: variable ‘currentWidth’ set but not used [-Wunused-but-set-variable]
88 | int currentWidth, currentHeight = 0;
| ^~~~~~~~~~~~
v4l2uvc.c:118:9: warning: ‘memcpy’ forming offset [64, 75] is out of the bounds [0, 64] of object ‘fmtdesc’ with type ‘struct v4l2_fmtdesc’ [-Warray-bounds]
118 | memcpy(&pglobal->in[id].in_formats[pglobal->in[id].formatCount], &fmtdesc, sizeof(input_format));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
v4l2uvc.c:99:29: note: ‘fmtdesc’ declared here
99 | struct v4l2_fmtdesc fmtdesc;
| ^~~~~~~
gcc -c -O1 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -DUSE_LIBV4L2 -o jpeg_utils.lo jpeg_utils.c
gcc -c -O1 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -DUSE_LIBV4L2 -o dynctrl.lo dynctrl.c
gcc -O1 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -DUSE_LIBV4L2 -o input_uvc.so input_uvc.c v4l2uvc.lo jpeg_utils.lo dynctrl.lo -lv4l2 -ljpeg
/usr/bin/ld: v4l2uvc.lo:(.bss+0x0): multiple definition of cams'; /tmp/ccVEpHFR.o:(.bss+0x8): first defined here /usr/bin/ld: jpeg_utils.lo:(.bss+0x4): multiple definition of cams'; /tmp/ccVEpHFR.o:(.bss+0x8): first defined here
/usr/bin/ld: dynctrl.lo:(.bss+0x0): multiple definition of `cams'; /tmp/ccVEpHFR.o:(.bss+0x8): first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:33: input_uvc.so] Error 1
make[1]: Leaving directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/input_uvc'
make: *** [Makefile:76: input_uvc.so] Error 2
################################################################################################
pi@raspberrypi:~/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer $ sudo make DESTDIR=/usr install
make -C plugins/input_uvc all
make[1]: Entering directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/input_uvc'
gcc -O1 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o input_uvc.so input_uvc.c v4l2uvc.lo jpeg_utils.lo dynctrl.lo -ljpeg
/usr/bin/ld: v4l2uvc.lo:(.bss+0x0): multiple definition of cams'; /tmp/ccovlpaw.o:(.bss+0x8): first defined here /usr/bin/ld: jpeg_utils.lo:(.bss+0x4): multiple definition of cams'; /tmp/ccovlpaw.o:(.bss+0x8): first defined here
/usr/bin/ld: dynctrl.lo:(.bss+0x0): multiple definition of `cams'; /tmp/ccovlpaw.o:(.bss+0x8): first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:33: input_uvc.so] Error 1
make[1]: Leaving directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/input_uvc'
make: *** [Makefile:80: input_uvc.so] Error 2
please your help
The text was updated successfully, but these errors were encountered:
Hello good, is it possible to migrate the code that can be used today? following the installation guide there are several commands that do not work.
I wanted to use the car and the memory was damaged and now I try to reinstall and it is impossible....
For Example:
##################################################################################################
pi@raspberrypi:~ $ sudo apt-get install python-smbus
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package python-smbus is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
###################################################################################################
pi@raspberrypi:~ $ sudo apt-get install libjpeg8-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libjpeg8-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libjpeg9-dev libjpeg62-turbo-dev
##################################################################################################
pi@raspberrypi:
/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer $ sudo make USE_LIBV4L2=true clean all*.so *.lomake -C plugins/input_uvc clean
make[1]: Entering directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/input_uvc'
rm -f *.a *.o core *
make[1]: Leaving directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/input_uvc'
make -C plugins/input_testpicture clean
make[1]: Entering directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/input_testpicture'
rm -f *.a *.o core *~ *.so *.lo
make[1]: Leaving directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/input_testpicture'
make -C plugins/output_file clean
make[1]: Entering directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/output_file'
rm -f *.a *.o core *~ *.so *.lo
make[1]: Leaving directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/output_file'
make -C plugins/output_http clean
make[1]: Entering directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/output_http'
rm -f *.a *.o core *~ *.so *.lo
make[1]: Leaving directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/output_http'
make -C plugins/output_udp clean
make[1]: Entering directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/output_udp'
rm -f *.a *.o core *~ *.so *.lo
make[1]: Leaving directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/output_udp'
make -C plugins/output_autofocus clean
make[1]: Entering directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/output_autofocus'
rm -f *.a *.o core *~ *.so *.lo
make[1]: Leaving directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/output_autofocus'
make -C plugins/input_gspcav1 clean
make[1]: Entering directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/input_gspcav1'
rm -f *.a *.o core *~ *.so *.lo
make[1]: Leaving directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/input_gspcav1'
make -C plugins/output_viewer clean
make[1]: Entering directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/output_viewer'
rm -f *.a *.o core *~ *.so *.lo
make[1]: Leaving directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/output_viewer'
make -C plugins/input_control clean
make[1]: Entering directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/input_control'
rm -f *.a *.o core *~ *.so *.lo
make[1]: Leaving directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/input_control'
make -C plugins/output_rtsp clean
make[1]: Entering directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/output_rtsp'
rm -f *.a *.o core *~ *.so *.lo
make[1]: Leaving directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/output_rtsp'
rm -f *.a *.o mjpg_streamer core *~ *.so *.lo
gcc -D'SVN_REV="Unversioned directory"' -O2 -DLINUX -D_GNU_SOURCE -Wall -c -o mjpg_streamer.o mjpg_streamer.c
gcc -D'SVN_REV="Unversioned directory"' -O2 -DLINUX -D_GNU_SOURCE -Wall -c -o utils.o utils.c
gcc -D'SVN_REV="Unversioned directory"' -O2 -DLINUX -D_GNU_SOURCE -Wall mjpg_streamer.o utils.o -lpthread -ldl -o mjpg_streamer
chmod 755 mjpg_streamer
make -C plugins/input_uvc USE_LIBV4L2=true all
make[1]: Entering directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/input_uvc'
gcc -c -O1 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -DUSE_LIBV4L2 -o v4l2uvc.lo v4l2uvc.c
v4l2uvc.c: In function ‘init_videoIn’:
v4l2uvc.c:88:23: warning: variable ‘currentHeight’ set but not used [-Wunused-but-set-variable]
88 | int currentWidth, currentHeight = 0;
| ^~~~~~~~~~~~~
v4l2uvc.c:88:9: warning: variable ‘currentWidth’ set but not used [-Wunused-but-set-variable]
88 | int currentWidth, currentHeight = 0;
| ^~~~~~~~~~~~
v4l2uvc.c:118:9: warning: ‘memcpy’ forming offset [64, 75] is out of the bounds [0, 64] of object ‘fmtdesc’ with type ‘struct v4l2_fmtdesc’ [-Warray-bounds]
118 | memcpy(&pglobal->in[id].in_formats[pglobal->in[id].formatCount], &fmtdesc, sizeof(input_format));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
v4l2uvc.c:99:29: note: ‘fmtdesc’ declared here
99 | struct v4l2_fmtdesc fmtdesc;
| ^~~~~~~
gcc -c -O1 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -DUSE_LIBV4L2 -o jpeg_utils.lo jpeg_utils.c
gcc -c -O1 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -DUSE_LIBV4L2 -o dynctrl.lo dynctrl.c
gcc -O1 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -DUSE_LIBV4L2 -o input_uvc.so input_uvc.c v4l2uvc.lo jpeg_utils.lo dynctrl.lo -lv4l2 -ljpeg
/usr/bin/ld: v4l2uvc.lo:(.bss+0x0): multiple definition of
cams'; /tmp/ccVEpHFR.o:(.bss+0x8): first defined here /usr/bin/ld: jpeg_utils.lo:(.bss+0x4): multiple definition of
cams'; /tmp/ccVEpHFR.o:(.bss+0x8): first defined here/usr/bin/ld: dynctrl.lo:(.bss+0x0): multiple definition of `cams'; /tmp/ccVEpHFR.o:(.bss+0x8): first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:33: input_uvc.so] Error 1
make[1]: Leaving directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/input_uvc'
make: *** [Makefile:76: input_uvc.so] Error 2
################################################################################################
pi@raspberrypi:~/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer $ sudo make DESTDIR=/usr install
make -C plugins/input_uvc all
make[1]: Entering directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/input_uvc'
gcc -O1 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o input_uvc.so input_uvc.c v4l2uvc.lo jpeg_utils.lo dynctrl.lo -ljpeg
/usr/bin/ld: v4l2uvc.lo:(.bss+0x0): multiple definition of
cams'; /tmp/ccovlpaw.o:(.bss+0x8): first defined here /usr/bin/ld: jpeg_utils.lo:(.bss+0x4): multiple definition of
cams'; /tmp/ccovlpaw.o:(.bss+0x8): first defined here/usr/bin/ld: dynctrl.lo:(.bss+0x0): multiple definition of `cams'; /tmp/ccovlpaw.o:(.bss+0x8): first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:33: input_uvc.so] Error 1
make[1]: Leaving directory '/home/pi/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/mjpg-streamer/mjpg-streamer/plugins/input_uvc'
make: *** [Makefile:80: input_uvc.so] Error 2
please your help
The text was updated successfully, but these errors were encountered: