Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
~/mjpg-streamer/mjpg-streamer-experimental# make clean all
make -C plugins/input_uvc clean
make[1]: Entering directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/input_uvc'
rm -f *.a *.o core *~ *.so *.lo
make[1]: Leaving directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/input_uvc'
make -C plugins/input_testpicture clean
make[1]: Entering directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/input_testpicture'
rm -f *.a *.o core *~ *.so *.lo
make[1]: Leaving directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/input_testpicture'
make -C plugins/output_file clean
make[1]: Entering directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/output_file'
rm -f *.a *.o core *~ *.so *.lo
make[1]: Leaving directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/output_file'
make -C plugins/output_http clean
make[1]: Entering directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/output_http'
rm -f *.a *.o core *~ *.so *.lo
make[1]: Leaving directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/output_http'
make -C plugins/output_udp clean
make[1]: Entering directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/output_udp'
rm -f *.a *.o core *~ *.so *.lo
make[1]: Leaving directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/output_udp'
make -C plugins/output_autofocus clean
make[1]: Entering directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/output_autofocus'
rm -f *.a *.o core *~ *.so *.lo
make[1]: Leaving directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/output_autofocus'
make -C plugins/output_viewer clean
make[1]: Entering directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/output_viewer'
rm -f *.a *.o core *~ *.so *.lo
make[1]: Leaving directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/output_viewer'
make -C plugins/output_rtsp clean
make[1]: Entering directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/output_rtsp'
rm -f *.a *.o core *~ *.so *.lo
make[1]: Leaving directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/output_rtsp'
make -C plugins/input_http clean
make[1]: Entering directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/input_http'
rm -f *.a *.o core *~ *.so *.lo
make[1]: Leaving directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/input_http'
rm -f *.a *.o mjpg_streamer core *~ *.so *.lo
rm -f -r plugins/input_raspicam/build/*
echo "This folder is where the plugin gets built" > plugins/input_raspicam/build/Readme.md
gcc -D'SVN_REV="Unversioned directory"' -DLINUX -D_GNU_SOURCE -Wall -g -Wuninitialized -c -o mjpg_streamer.o mjpg_streamer.c
gcc -D'SVN_REV="Unversioned directory"' -DLINUX -D_GNU_SOURCE -Wall -g -Wuninitialized -c -o utils.o utils.c
gcc -D'SVN_REV="Unversioned directory"' -DLINUX -D_GNU_SOURCE -Wall -g -Wuninitialized mjpg_streamer.o utils.o -lpthread -ldl -o mjpg_streamer
chmod 755 mjpg_streamer
make -C plugins/input_uvc all
make[1]: Entering directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/input_uvc'
gcc -c -O1 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o v4l2uvc.lo v4l2uvc.c
gcc -c -O1 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o jpeg_utils.lo jpeg_utils.c
gcc -c -O1 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o dynctrl.lo dynctrl.c
gcc -O1 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o input_uvc.so input_uvc.c v4l2uvc.lo jpeg_utils.lo dynctrl.lo -ljpeg
make[1]: Leaving directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/input_uvc'
cp plugins/input_uvc/input_uvc.so .
make -C plugins/output_file all
make[1]: Entering directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/output_file'
gcc -O2 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -DDEBUG -g -o output_file.so output_file.c
make[1]: Leaving directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/output_file'
cp plugins/output_file/output_file.so .
make -C plugins/output_http all
make[1]: Entering directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/output_http'
gcc -c -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -Wuninitialized -o httpd.lo httpd.c
gcc -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -Wuninitialized -o output_http.so output_http.c httpd.lo
make[1]: Leaving directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/output_http'
cp plugins/output_http/output_http.so .
make -C plugins/output_rtsp all
make[1]: Entering directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/output_rtsp'
gcc -O2 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -DDEBUG -o output_rtsp.so output_rtsp.c
make[1]: Leaving directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/output_rtsp'
cp plugins/output_rtsp/output_rtsp.so .
cd plugins/input_raspicam/build; cmake ..
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: /root/mjpg-streamer/mjpg-streamer-experimental/plugins/input_raspicam/build
make -C plugins/input_raspicam/build
make[1]: Entering directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/input_raspicam/build'
make[2]: Entering directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/input_raspicam/build'
make[3]: Entering directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/input_raspicam/build'
Scanning dependencies of target input_raspicam
make[3]: Leaving directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/input_raspicam/build'
make[3]: Entering directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/input_raspicam/build'
[100%] Building C object CMakeFiles/input_raspicam.dir/input_raspicam.c.o
/root/mjpg-streamer/mjpg-streamer-experimental/plugins/input_raspicam/input_raspicam.c:44:22: fatal error: bcm_host.h: No such file or directory
#include "bcm_host.h"
^
compilation terminated.
CMakeFiles/input_raspicam.dir/build.make:54: recipe for target 'CMakeFiles/input_raspicam.dir/input_raspicam.c.o' failed
make[3]: *** [CMakeFiles/input_raspicam.dir/input_raspicam.c.o] Error 1
make[3]: Leaving directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/input_raspicam/build'
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/input_raspicam.dir/all' failed
make[2]: *** [CMakeFiles/input_raspicam.dir/all] Error 2
make[2]: Leaving directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/input_raspicam/build'
Makefile:76: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/root/mjpg-streamer/mjpg-streamer-experimental/plugins/input_raspicam/build'
Makefile:133: recipe for target 'input_raspicam.so' failed
make: *** [input_raspicam.so] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.