Dafang-Hacks / Main

138 stars 63 forks source link

Building v4l2rtspserver-master fails #47

Closed Yannik closed 4 years ago

Yannik commented 4 years ago

Hi @nik0, I'm trying to build the rtsp server like this:

cd v4l2rtspserver-master
./compile.sh

This fails with the following error:


-- Configuring done
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
V4L2WRAPPER_LIBRARY

How should this be fixed?

nik0 commented 4 years ago

Try compiling v4l2wrapper in the same folder There is a compile.sh script

Yannik commented 4 years ago

Thanks. I think there should be a check in compile.sh if this has been built.

Now, while building v4l2wrapper, I first got this error:


/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/v4l2wrapper/../../toolchain/bin/mips-linux-gnu-gcc -c -o src/V4l2MmapDevice.o src/V4l2MmapDevice.cpp -W -Wall -pthread -g -pipe -muclibc -I inc -DHAVE_LOG4CPP -I /usr/include
cc1plus: warning: include location "/usr/include" is unsafe for cross-compilation [-Wpoison-system-directories]
In file included from /usr/include/features.h:474:0,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from src/V4l2MmapDevice.cpp:12:
/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
compilation terminated.
make: *** [Makefile:18: src/V4l2MmapDevice.o] Error 1

That was fixable by installing the glibc-devel.i686 package.

Now I'm getting lots of other errors:

/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/v4l2wrapper/../../toolchain/bin/mips-linux-gnu-gcc -c -o src/V4l2MmapDevice.o src/V4l2MmapDevice.cpp -W -Wall -pthread -g -pipe -muclibc -I inc -DHAVE_LOG4CPP -I /usr/include
cc1plus: warning: include location "/usr/include" is unsafe for cross-compilation [-Wpoison-system-directories]
In file included from /usr/include/wchar.h:30:0,
                 from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/cwchar:46,
                 from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/postypes.h:42,
                 from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/char_traits.h:42,
                 from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/string:42,
                 from /usr/include/log4cpp/Appender.hh:14,
                 from /usr/include/log4cpp/Category.hh:14,
                 from inc/logger.h:16,
                 from src/V4l2MmapDevice.cpp:23:
/usr/include/bits/floatn.h:74:70: error: unable to emulate 'TC'
/usr/include/bits/floatn.h:86:9: error: '__float128' does not name a type
In file included from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/cwchar:46:0,
                 from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/postypes.h:42,
                 from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/char_traits.h:42,
                 from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/string:42,
                 from /usr/include/log4cpp/Appender.hh:14,
                 from /usr/include/log4cpp/Category.hh:14,
                 from inc/logger.h:16,
                 from src/V4l2MmapDevice.cpp:23:
/usr/include/wchar.h:406:8: error: '_Float128' does not name a type
/usr/include/wchar.h:523:8: error: '_Float128' does not name a type
In file included from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:43:0,
                 from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/basic_ios.h:39,
                 from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/ios:45,
                 from /usr/include/log4cpp/CategoryStream.hh:15,
                 from /usr/include/log4cpp/Category.hh:17,
                 from inc/logger.h:16,
                 from src/V4l2MmapDevice.cpp:23:
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_base.h:47:19: error: '__ctype_touplow_t' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_base.h:51:13: error: '__ctype_mask_t' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_base.h:52:18: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_base.h:53:18: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_base.h:54:18: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_base.h:55:18: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_base.h:56:18: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_base.h:57:18: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_base.h:58:18: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_base.h:59:18: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_base.h:60:18: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_base.h:61:18: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_base.h:62:18: error: 'mask' does not name a type
In file included from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/basic_ios.h:39:0,
                 from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/ios:45,
                 from /usr/include/log4cpp/CategoryStream.hh:15,
                 from /usr/include/log4cpp/Category.hh:17,
                 from inc/logger.h:16,
                 from src/V4l2MmapDevice.cpp:23:
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:164:10: error: 'mask' has not been declared
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:181:56: error: 'mask' has not been declared
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:197:7: error: expected ';' at end of member declaration
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:197:20: error: expected ')' before '__m'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:213:7: error: expected ';' at end of member declaration
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:213:21: error: expected ')' before '__m'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:373:13: error: 'mask' has not been declared
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:393:6: error: 'mask' has not been declared
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:411:18: error: 'do_scan_is' declared as a 'virtual' field
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:411:7: error: expected ';' at end of member declaration
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:411:23: error: expected ')' before '__m'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:430:19: error: 'do_scan_not' declared as a 'virtual' field
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:430:7: error: expected ';' at end of member declaration
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:430:24: error: expected ')' before '__m'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:687:7: error: '__to_type' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:688:7: error: '__to_type' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:689:13: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:713:19: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:726:38: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:739:10: error: 'mask' has not been declared
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:754:46: error: 'mask' has not been declared
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:768:15: error: 'scan_is' declared as an 'inline' field
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:768:7: error: expected ';' at end of member declaration
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:768:20: error: expected ')' before '__m'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:782:16: error: 'scan_not' declared as an 'inline' field
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:782:7: error: expected ';' at end of member declaration
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:782:21: error: expected ')' before '__m'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:975:13: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:980:20: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:1194:7: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:1225:33: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:1245:13: error: 'mask' has not been declared
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:1264:59: error: 'mask' has not been declared
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:1282:18: error: 'do_scan_is' declared as a 'virtual' field
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:1282:7: error: expected ';' at end of member declaration
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:1282:23: error: expected ')' before '__m'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:1300:19: error: 'do_scan_not' declared as a 'virtual' field
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:1300:7: error: expected ';' at end of member declaration
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:1300:24: error: expected ')' before '__m'
In file included from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:1513:0,
                 from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/basic_ios.h:39,
                 from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/ios:45,
                 from /usr/include/log4cpp/CategoryStream.hh:15,
                 from /usr/include/log4cpp/Category.hh:17,
                 from inc/logger.h:16,
                 from src/V4l2MmapDevice.cpp:23:
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:43:6: error: 'bool std::ctype<char>::is' is not a static member of 'class std::ctype<char>'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:43:6: error: 'mask' was not declared in this scope
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:43:16: error: expected primary-expression before 'char'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:43:24: error: expression list treated as compound expression in initializer [-fpermissive]
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:43:26: error: expected ',' or ';' before 'const'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:48:45: error: 'mask' has not been declared
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h: In member function 'const char* std::ctype<char>::is(const char*, const char*, int*) const':
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:51:18: error: '_M_table' was not declared in this scope
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h: At global scope:
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:57:11: error: 'const char* std::ctype<char>::scan_is' is not a static member of 'class std::ctype<char>'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:57:11: error: 'mask' was not declared in this scope
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:57:21: error: expected primary-expression before 'const'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:57:40: error: expected primary-expression before 'const'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:57:58: error: expression list treated as compound expression in initializer [-fpermissive]
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:57:60: error: expected ',' or ';' before 'const'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:67:12: error: 'const char* std::ctype<char>::scan_not' is not a static member of 'class std::ctype<char>'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:67:12: error: 'mask' was not declared in this scope
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:67:22: error: expected primary-expression before 'const'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:67:41: error: expected primary-expression before 'const'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:67:59: error: expression list treated as compound expression in initializer [-fpermissive]
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:67:61: error: expected ',' or ';' before 'const'
In file included from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/basic_ios.h:39:0,
                 from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/ios:45,
                 from /usr/include/log4cpp/CategoryStream.hh:15,
                 from /usr/include/log4cpp/Category.hh:17,
                 from inc/logger.h:16,
                 from src/V4l2MmapDevice.cpp:23:
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h: In function 'bool std::isspace(_CharT, const std::locale&)':
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:2530:50: error: 'space' is not a member of 'std::ctype_base'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h: In function 'bool std::isprint(_CharT, const std::locale&)':
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:2536:50: error: 'print' is not a member of 'std::ctype_base'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h: In function 'bool std::iscntrl(_CharT, const std::locale&)':
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:2542:50: error: 'cntrl' is not a member of 'std::ctype_base'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h: In function 'bool std::isupper(_CharT, const std::locale&)':
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:2548:50: error: 'upper' is not a member of 'std::ctype_base'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h: In function 'bool std::islower(_CharT, const std::locale&)':
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:2554:50: error: 'lower' is not a member of 'std::ctype_base'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h: In function 'bool std::isalpha(_CharT, const std::locale&)':
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:2560:50: error: 'alpha' is not a member of 'std::ctype_base'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h: In function 'bool std::isdigit(_CharT, const std::locale&)':
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:2566:50: error: 'digit' is not a member of 'std::ctype_base'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h: In function 'bool std::ispunct(_CharT, const std::locale&)':
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:2572:50: error: 'punct' is not a member of 'std::ctype_base'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h: In function 'bool std::isxdigit(_CharT, const std::locale&)':
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:2578:50: error: 'xdigit' is not a member of 'std::ctype_base'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h: In function 'bool std::isalnum(_CharT, const std::locale&)':
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:2584:50: error: 'alnum' is not a member of 'std::ctype_base'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h: In function 'bool std::isgraph(_CharT, const std::locale&)':
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:2590:50: error: 'graph' is not a member of 'std::ctype_base'
In file included from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/istream:873:0,
                 from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/sstream:39,
                 from /usr/include/log4cpp/CategoryStream.hh:17,
                 from /usr/include/log4cpp/Category.hh:17,
                 from inc/logger.h:16,
                 from src/V4l2MmapDevice.cpp:23:
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/istream.tcc: In constructor 'std::basic_istream<_CharT, _Traits>::sentry::sentry(std::basic_istream<_CharT, _Traits>&, bool)':
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/istream.tcc:64:19: error: 'space' is not a member of 'std::ctype_base'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/istream.tcc: In function 'std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT2*)':
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/istream.tcc:985:20: error: 'space' is not a member of 'std::ctype_base'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/istream.tcc: In function 'std::basic_istream<_CharT, _Traits>& std::ws(std::basic_istream<_CharT, _Traits>&)':
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/istream.tcc:1031:18: error: 'space' is not a member of 'std::ctype_base'
make: *** [Makefile:18: src/V4l2MmapDevice.o] Error 1

Can you give me a hint on how to fix this?

nik0 commented 4 years ago

When I compile I don't have "-I /usr/include" in my compilation:

/src/Main/v4l2rtspserver-master/v4l2wrapper/../../toolchain/bin/mips-linux-gnu-gcc -c -o src/V4l2MmapDevice.o src/V4l2MmapDevice.cpp -W -Wall -pthread -g -pipe -muclibc -I inc
/src/Main/v4l2rtspserver-master/v4l2wrapper/../../toolchain/bin/mips-linux-gnu-gcc -c -o src/V4l2Capture.o src/V4l2Capture.cpp -W -Wall -pthread -g -pipe -muclibc -I inc
/src/Main/v4l2rtspserver-master/v4l2wrapper/../../toolchain/bin/mips-linux-gnu-gcc -c -o src/V4l2Device.o src/V4l2Device.cpp -W -Wall -pthread -g -pipe -muclibc -I inc
/src/Main/v4l2rtspserver-master/v4l2wrapper/../../toolchain/bin/mips-linux-gnu-gcc -c -o src/V4l2Output.o src/V4l2Output.cpp -W -Wall -pthread -g -pipe -muclibc -I inc
/src/Main/v4l2rtspserver-master/v4l2wrapper/../../toolchain/bin/mips-linux-gnu-gcc -c -o src/logger.o src/logger.cpp -W -Wall -pthread -g -pipe -muclibc -I inc
/src/Main/v4l2rtspserver-master/v4l2wrapper/../../toolchain/bin/mips-linux-gnu-ar rcs libv4l2wrapper.a src/V4l2MmapDevice.o src/V4l2Capture.o src/V4l2Device.o src/V4l2Output.o src/logger.o

Do you have set some compilation variables ?

nik0 commented 4 years ago

I just noticed that I left a printf that doesn't compile file src/V4l2Capture.cpp

size_t V4l2Capture::read(char* buffer, size_t bufferSize) { printf("V4l2Capture read\n"); return m_device->readInternal(buffer, bufferSize); } Just remove it

Yannik commented 4 years ago

I just noticed that I left a printf that doesn't compile file src/V4l2Capture.cpp

size_t V4l2Capture::read(char* buffer, size_t bufferSize) { printf("V4l2Capture read\n"); return m_device->readInternal(buffer, bufferSize); } Just remove it

Removing the printf didn't fix the compilation errors.

Do you have set some compilation variables ?

I have not. I simply used the compile.sh script.

nik0 commented 4 years ago

What is the result of "env | grep incude" ?

Yannik commented 4 years ago

What is the result of "env | grep incude" ?

Nothing

nik0 commented 4 years ago

I realized that this wrapper library is compiled with the binary (not need to call v4l2wrapper/compile.sh)

running git submodule init && git submodule update && make -C v4l2wrapper CC=/src/Main/toolchain/bin/mips-linux-gnu-gcc CFLAGS_EXTRA=--sysroot= && cp v4l2wrapper/libv4l2wrapper.a . && make -C v4l2wrapper clean 2>&1 make: Entering directory '/src/Main/v4l2rtspserver-master/v4l2wrapper' make: Nothing to be done for 'all'. make: Leaving directory '/src/Main/v4l2rtspserver-master/v4l2wrapper' make: Entering directory '/src/Main/v4l2rtspserver-master/v4l2wrapper' make: Leaving directory '/src/Main/v4l2rtspserver-master/v4l2wrapper'

nik0 commented 4 years ago

What is the version of cmake you are using?

cmake --version cmake version 3.10.2

Yannik commented 4 years ago

cmake version 3.17.0

nik0 commented 4 years ago

What about adding debug traces on cmake in compile.sh (the master one)

cmake -DCMAKE_TOOLCHAIN_FILE="./dafang.toolchain" -DCMAKE_INSTALL_PREFIX=./_install --debug-output && make VERBOSE=1 -j4 install

Yannik commented 4 years ago
Running with debug output on.
CMake Warning:
  No source or binary directory provided.  Both will be assumed to be the
  same as the current working directory, but note that this warning will
  become a fatal error in future CMake releases.

-- The C compiler identification is GNU 4.7.2
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake
                [2] /usr/share/cmake/Modules/CMakeDetermineCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CMakeDetermineCXXCompiler.cmake:68 (mark_as_advanced):
  Policy CMP0102 is not set: The variable named "CMAKE_CXX_COMPILER" is not
  in the cache.  This results in an empty cache entry which is no longer
  created when policy CMP0102 is set to NEW.  Run "cmake --help-policy
  CMP0102" for policy details.  Use the cmake_policy command to set the
  policy and suppress this warning.
Call Stack (most recent call first):
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [2] /usr/share/cmake/Modules/CMakeDetermineCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- The CXX compiler identification is GNU 4.7.2
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake
                [2] /usr/share/cmake/Modules/CMakeDetermineCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Check for working C compiler: /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/mips-linux-gnu-gcc
   Called from: [3] /usr/share/cmake/Modules/CMakeTestCompilerCommon.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:44 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:44 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Check for working C compiler: /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/mips-linux-gnu-gcc - works
   Called from: [3] /usr/share/cmake/Modules/CMakeTestCompilerCommon.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Detecting C compiler ABI info
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:48 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ABI)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:48 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ABI)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Detecting C compiler ABI info - done
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Detecting C compile features
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Detecting C compile features - done
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Check for working CXX compiler: /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../toolchain/bin/mips-linux-gnu-g++
   Called from: [3] /usr/share/cmake/Modules/CMakeTestCompilerCommon.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:37 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:37 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Check for working CXX compiler: /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../toolchain/bin/mips-linux-gnu-g++ - works
   Called from: [3] /usr/share/cmake/Modules/CMakeTestCompilerCommon.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Detecting CXX compiler ABI info
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:48 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:67 (CMAKE_DETERMINE_COMPILER_ABI)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:48 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:67 (CMAKE_DETERMINE_COMPILER_ABI)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Detecting CXX compiler ABI info - done
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Detecting CXX compile features
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:33 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:87 (_record_compiler_features)
  /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake:124 (_record_compiler_features_cxx)
  /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake:56 (cmake_record_cxx_compile_features)
  /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:70 (CMAKE_DETERMINE_COMPILE_FEATURES)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [6] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [5] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [4] /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake
                [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:33 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:87 (_record_compiler_features)
  /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake:124 (_record_compiler_features_cxx)
  /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake:56 (cmake_record_cxx_compile_features)
  /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:70 (CMAKE_DETERMINE_COMPILE_FEATURES)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [6] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [5] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [4] /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake
                [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Detecting CXX compile features - done
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Installing v4l2wrapper
   Called from: [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
running git submodule init && git submodule update && make -C v4l2wrapper CC=/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/mips-linux-gnu-gcc CFLAGS_EXTRA=--sysroot= && cp v4l2wrapper/libv4l2wrapper.a . && make -C v4l2wrapper clean 2>&1
fatal: bad config line 22 in file /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/.gitmodules
-- v4l2wrapper built in V4L2WRAPPER_LIBRARY=V4L2WRAPPER_LIBRARY-NOTFOUND
   Called from: [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Looking for pthread.h
   Called from: [3] /usr/share/cmake/Modules/CheckIncludeFile.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CheckIncludeFile.cmake:93 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindThreads.cmake:142 (CHECK_INCLUDE_FILE)
  CMakeLists.txt:36 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [3] /usr/share/cmake/Modules/CheckIncludeFile.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CheckIncludeFile.cmake:93 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindThreads.cmake:142 (CHECK_INCLUDE_FILE)
  CMakeLists.txt:36 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [3] /usr/share/cmake/Modules/CheckIncludeFile.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Looking for pthread.h - found
   Called from: [3] /usr/share/cmake/Modules/CheckIncludeFile.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
   Called from: [3] /usr/share/cmake/Modules/CheckCSourceCompiles.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CheckCSourceCompiles.cmake:109 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindThreads.cmake:159 (CHECK_C_SOURCE_COMPILES)
  CMakeLists.txt:36 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [3] /usr/share/cmake/Modules/CheckCSourceCompiles.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CheckCSourceCompiles.cmake:109 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindThreads.cmake:159 (CHECK_C_SOURCE_COMPILES)
  CMakeLists.txt:36 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [3] /usr/share/cmake/Modules/CheckCSourceCompiles.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
   Called from: [3] /usr/share/cmake/Modules/CheckCSourceCompiles.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Found Threads: TRUE  
   Called from: [4] /usr/share/cmake/Modules/FindPackageMessage.cmake
                [3] /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at CMakeLists.txt:50 (target_link_libraries):
  Policy CMP0023 is not set: Plain and keyword target_link_libraries
  signatures cannot be mixed.  Run "cmake --help-policy CMP0023" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  The keyword signature for target_link_libraries has already been used with
  the target "v4l2rtspserver-master".  All uses of target_link_libraries with
  a target should be either all-keyword or all-plain.

  The uses of the keyword signature are here:

   * CMakeLists.txt:32 (target_link_libraries)

This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at CMakeLists.txt:86 (target_link_libraries):
  Policy CMP0023 is not set: Plain and keyword target_link_libraries
  signatures cannot be mixed.  Run "cmake --help-policy CMP0023" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  The plain signature for target_link_libraries has already been used with
  the target "v4l2rtspserver-master".  All uses of target_link_libraries with
  a target should be either all-keyword or all-plain.

  The uses of the plain signature are here:

   * CMakeLists.txt:50 (target_link_libraries)
   * CMakeLists.txt:54 (target_link_libraries)

This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Configuring done
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
V4L2WRAPPER_LIBRARY
    linked by target "v4l2rtspserver-master" in directory /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master

CMake Warning (dev) in CMakeLists.txt:
  Policy CMP0065 is not set: Do not add flags to export symbols from
  executables without the ENABLE_EXPORTS target property.  Run "cmake
  --help-policy CMP0065" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  For compatibility with older versions of CMake, additional flags may be
  added to export symbols on all executables regardless of their
  ENABLE_EXPORTS property.
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Generating /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master
   Called from: [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
nik0 commented 4 years ago

Can you try to have cmake 3.10? You have an error "CMP0102" and https://cmake.org/cmake/help/git-stage/policy/CMP0102.html mentions "In CMake 3.16 and below ..."

Yannik commented 4 years ago

I was able to downgrade to cmake version 3.14.5. Still the same error:

Running with debug output on.
CMake Warning:
  No source or binary directory provided.  Both will be assumed to be the
  same as the current working directory, but note that this warning will
  become a fatal error in future CMake releases.

-- The C compiler identification is GNU 4.7.2
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake
                [2] /usr/share/cmake/Modules/CMakeDetermineCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- The CXX compiler identification is GNU 4.7.2
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake
                [2] /usr/share/cmake/Modules/CMakeDetermineCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Check for working C compiler: /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/mips-linux-gnu-gcc
   Called from: [3] /usr/share/cmake/Modules/CMakeTestCompilerCommon.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:44 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:44 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Check for working C compiler: /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/mips-linux-gnu-gcc -- works
   Called from: [3] /usr/share/cmake/Modules/CMakeTestCompilerCommon.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Detecting C compiler ABI info
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:45 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ABI)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:45 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ABI)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Detecting C compiler ABI info - done
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Detecting C compile features
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:33 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:74 (_record_compiler_features)
  /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake:68 (_record_compiler_features_c)
  /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake:16 (cmake_record_c_compile_features)
  /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:77 (CMAKE_DETERMINE_COMPILE_FEATURES)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [6] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [5] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [4] /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake
                [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:33 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:74 (_record_compiler_features)
  /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake:68 (_record_compiler_features_c)
  /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake:16 (cmake_record_c_compile_features)
  /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:77 (CMAKE_DETERMINE_COMPILE_FEATURES)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [6] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [5] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [4] /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake
                [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:33 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:74 (_record_compiler_features)
  /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake:71 (_record_compiler_features_c)
  /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake:16 (cmake_record_c_compile_features)
  /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:77 (CMAKE_DETERMINE_COMPILE_FEATURES)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [6] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [5] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [4] /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake
                [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:33 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:74 (_record_compiler_features)
  /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake:71 (_record_compiler_features_c)
  /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake:16 (cmake_record_c_compile_features)
  /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:77 (CMAKE_DETERMINE_COMPILE_FEATURES)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [6] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [5] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [4] /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake
                [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:33 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:74 (_record_compiler_features)
  /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake:74 (_record_compiler_features_c)
  /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake:16 (cmake_record_c_compile_features)
  /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:77 (CMAKE_DETERMINE_COMPILE_FEATURES)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [6] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [5] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [4] /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake
                [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:33 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:74 (_record_compiler_features)
  /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake:74 (_record_compiler_features_c)
  /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake:16 (cmake_record_c_compile_features)
  /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:77 (CMAKE_DETERMINE_COMPILE_FEATURES)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [6] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [5] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [4] /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake
                [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Detecting C compile features - done
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Check for working CXX compiler: /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../toolchain/bin/mips-linux-gnu-g++
   Called from: [3] /usr/share/cmake/Modules/CMakeTestCompilerCommon.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:37 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:37 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Check for working CXX compiler: /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../toolchain/bin/mips-linux-gnu-g++ -- works
   Called from: [3] /usr/share/cmake/Modules/CMakeTestCompilerCommon.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Detecting CXX compiler ABI info
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:45 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:67 (CMAKE_DETERMINE_COMPILER_ABI)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:45 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:67 (CMAKE_DETERMINE_COMPILER_ABI)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Detecting CXX compiler ABI info - done
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Detecting CXX compile features
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:33 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:79 (_record_compiler_features)
  /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake:91 (_record_compiler_features_cxx)
  /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake:56 (cmake_record_cxx_compile_features)
  /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:70 (CMAKE_DETERMINE_COMPILE_FEATURES)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [6] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [5] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [4] /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake
                [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:33 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:79 (_record_compiler_features)
  /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake:91 (_record_compiler_features_cxx)
  /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake:56 (cmake_record_cxx_compile_features)
  /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:70 (CMAKE_DETERMINE_COMPILE_FEATURES)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [6] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [5] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [4] /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake
                [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:33 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:79 (_record_compiler_features)
  /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake:94 (_record_compiler_features_cxx)
  /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake:56 (cmake_record_cxx_compile_features)
  /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:70 (CMAKE_DETERMINE_COMPILE_FEATURES)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [6] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [5] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [4] /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake
                [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:33 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:79 (_record_compiler_features)
  /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake:94 (_record_compiler_features_cxx)
  /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake:56 (cmake_record_cxx_compile_features)
  /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:70 (CMAKE_DETERMINE_COMPILE_FEATURES)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [6] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [5] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [4] /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake
                [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Detecting CXX compile features - done
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Installing v4l2wrapper
   Called from: [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
running git submodule init && git submodule update && make -C v4l2wrapper CC=/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/mips-linux-gnu-gcc CFLAGS_EXTRA=--sysroot= && cp v4l2wrapper/libv4l2wrapper.a . && make -C v4l2wrapper clean 2>&1
fatal: bad config line 22 in file /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/.gitmodules
-- v4l2wrapper built in V4L2WRAPPER_LIBRARY=V4L2WRAPPER_LIBRARY-NOTFOUND
   Called from: [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Looking for pthread.h
   Called from: [3] /usr/share/cmake/Modules/CheckIncludeFile.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CheckIncludeFile.cmake:93 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindThreads.cmake:105 (CHECK_INCLUDE_FILE)
  CMakeLists.txt:36 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [3] /usr/share/cmake/Modules/CheckIncludeFile.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CheckIncludeFile.cmake:93 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindThreads.cmake:105 (CHECK_INCLUDE_FILE)
  CMakeLists.txt:36 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [3] /usr/share/cmake/Modules/CheckIncludeFile.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Looking for pthread.h - found
   Called from: [3] /usr/share/cmake/Modules/CheckIncludeFile.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Looking for pthread_create
   Called from: [4] /usr/share/cmake/Modules/CheckSymbolExists.cmake
                [3] /usr/share/cmake/Modules/CheckSymbolExists.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CheckSymbolExists.cmake:100 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/CheckSymbolExists.cmake:57 (__CHECK_SYMBOL_EXISTS_IMPL)
  /usr/share/cmake/Modules/FindThreads.cmake:118 (CHECK_SYMBOL_EXISTS)
  CMakeLists.txt:36 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [4] /usr/share/cmake/Modules/CheckSymbolExists.cmake
                [3] /usr/share/cmake/Modules/CheckSymbolExists.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CheckSymbolExists.cmake:100 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/CheckSymbolExists.cmake:57 (__CHECK_SYMBOL_EXISTS_IMPL)
  /usr/share/cmake/Modules/FindThreads.cmake:118 (CHECK_SYMBOL_EXISTS)
  CMakeLists.txt:36 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [4] /usr/share/cmake/Modules/CheckSymbolExists.cmake
                [3] /usr/share/cmake/Modules/CheckSymbolExists.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Looking for pthread_create - found
   Called from: [4] /usr/share/cmake/Modules/CheckSymbolExists.cmake
                [3] /usr/share/cmake/Modules/CheckSymbolExists.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Found Threads: TRUE  
   Called from: [4] /usr/share/cmake/Modules/FindPackageMessage.cmake
                [3] /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at CMakeLists.txt:50 (target_link_libraries):
  Policy CMP0023 is not set: Plain and keyword target_link_libraries
  signatures cannot be mixed.  Run "cmake --help-policy CMP0023" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  The keyword signature for target_link_libraries has already been used with
  the target "v4l2rtspserver-master".  All uses of target_link_libraries with
  a target should be either all-keyword or all-plain.

  The uses of the keyword signature are here:

   * CMakeLists.txt:32 (target_link_libraries)

This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at CMakeLists.txt:86 (target_link_libraries):
  Policy CMP0023 is not set: Plain and keyword target_link_libraries
  signatures cannot be mixed.  Run "cmake --help-policy CMP0023" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  The plain signature for target_link_libraries has already been used with
  the target "v4l2rtspserver-master".  All uses of target_link_libraries with
  a target should be either all-keyword or all-plain.

  The uses of the plain signature are here:

   * CMakeLists.txt:50 (target_link_libraries)
   * CMakeLists.txt:54 (target_link_libraries)

This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
V4L2WRAPPER_LIBRARY
    linked by target "v4l2rtspserver-master" in directory /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master

-- Configuring incomplete, errors occurred!
See also "/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeFiles/CMakeOutput.log".
nik0 commented 4 years ago

OK I tried with cmake 3.17 and it is working on my side ...

nik0 commented 4 years ago

There is something strange in your logs: fatal: bad config line 22 in file /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/.gitmodules

Yannik commented 4 years ago

There is something strange in your logs: fatal: bad config line 22 in file /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/.gitmodules

Ok, fixed this. However, this does not fix the error:

Running with debug output on.
CMake Warning:
  No source or binary directory provided.  Both will be assumed to be the
  same as the current working directory, but note that this warning will
  become a fatal error in future CMake releases.

-- The C compiler identification is GNU 4.7.2
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake
                [2] /usr/share/cmake/Modules/CMakeDetermineCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- The CXX compiler identification is GNU 4.7.2
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake
                [2] /usr/share/cmake/Modules/CMakeDetermineCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Check for working C compiler: /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/mips-linux-gnu-gcc
   Called from: [3] /usr/share/cmake/Modules/CMakeTestCompilerCommon.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:44 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:44 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Check for working C compiler: /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/mips-linux-gnu-gcc -- works
   Called from: [3] /usr/share/cmake/Modules/CMakeTestCompilerCommon.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Detecting C compiler ABI info
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:45 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ABI)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:45 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ABI)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Detecting C compiler ABI info - done
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Detecting C compile features
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:33 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:74 (_record_compiler_features)
  /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake:68 (_record_compiler_features_c)
  /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake:16 (cmake_record_c_compile_features)
  /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:77 (CMAKE_DETERMINE_COMPILE_FEATURES)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [6] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [5] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [4] /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake
                [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:33 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:74 (_record_compiler_features)
  /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake:68 (_record_compiler_features_c)
  /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake:16 (cmake_record_c_compile_features)
  /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:77 (CMAKE_DETERMINE_COMPILE_FEATURES)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [6] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [5] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [4] /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake
                [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:33 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:74 (_record_compiler_features)
  /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake:71 (_record_compiler_features_c)
  /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake:16 (cmake_record_c_compile_features)
  /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:77 (CMAKE_DETERMINE_COMPILE_FEATURES)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [6] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [5] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [4] /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake
                [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:33 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:74 (_record_compiler_features)
  /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake:71 (_record_compiler_features_c)
  /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake:16 (cmake_record_c_compile_features)
  /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:77 (CMAKE_DETERMINE_COMPILE_FEATURES)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [6] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [5] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [4] /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake
                [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:33 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:74 (_record_compiler_features)
  /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake:74 (_record_compiler_features_c)
  /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake:16 (cmake_record_c_compile_features)
  /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:77 (CMAKE_DETERMINE_COMPILE_FEATURES)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [6] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [5] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [4] /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake
                [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:33 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:74 (_record_compiler_features)
  /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake:74 (_record_compiler_features_c)
  /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake:16 (cmake_record_c_compile_features)
  /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:77 (CMAKE_DETERMINE_COMPILE_FEATURES)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [6] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [5] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [4] /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake
                [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Detecting C compile features - done
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Check for working CXX compiler: /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../toolchain/bin/mips-linux-gnu-g++
   Called from: [3] /usr/share/cmake/Modules/CMakeTestCompilerCommon.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:37 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:37 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Check for working CXX compiler: /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../toolchain/bin/mips-linux-gnu-g++ -- works
   Called from: [3] /usr/share/cmake/Modules/CMakeTestCompilerCommon.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Detecting CXX compiler ABI info
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:45 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:67 (CMAKE_DETERMINE_COMPILER_ABI)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:45 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:67 (CMAKE_DETERMINE_COMPILER_ABI)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Detecting CXX compiler ABI info - done
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Detecting CXX compile features
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:33 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:79 (_record_compiler_features)
  /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake:91 (_record_compiler_features_cxx)
  /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake:56 (cmake_record_cxx_compile_features)
  /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:70 (CMAKE_DETERMINE_COMPILE_FEATURES)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [6] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [5] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [4] /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake
                [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:33 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:79 (_record_compiler_features)
  /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake:91 (_record_compiler_features_cxx)
  /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake:56 (cmake_record_cxx_compile_features)
  /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:70 (CMAKE_DETERMINE_COMPILE_FEATURES)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [6] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [5] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [4] /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake
                [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:33 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:79 (_record_compiler_features)
  /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake:94 (_record_compiler_features_cxx)
  /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake:56 (cmake_record_cxx_compile_features)
  /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:70 (CMAKE_DETERMINE_COMPILE_FEATURES)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [6] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [5] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [4] /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake
                [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:33 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:79 (_record_compiler_features)
  /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake:94 (_record_compiler_features_cxx)
  /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake:56 (cmake_record_cxx_compile_features)
  /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:70 (CMAKE_DETERMINE_COMPILE_FEATURES)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [6] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [5] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [4] /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake
                [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Detecting CXX compile features - done
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Installing v4l2wrapper
   Called from: [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
running git submodule init && git submodule update && make -C v4l2wrapper CC=/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/mips-linux-gnu-gcc CFLAGS_EXTRA=--sysroot= && cp v4l2wrapper/libv4l2wrapper.a . && make -C v4l2wrapper clean 2>&1
make: Entering directory '/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/v4l2wrapper'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/mips-linux-gnu-gcc -c -o src/V4l2MmapDevice.o src/V4l2MmapDevice.cpp -W -Wall -pthread -g -pipe -muclibc -I inc -DHAVE_LOG4CPP -I /usr/include
cc1plus: warning: include location "/usr/include" is unsafe for cross-compilation [-Wpoison-system-directories]
In file included from /usr/include/wchar.h:30:0,
                 from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/cwchar:46,
                 from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/postypes.h:42,
                 from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/char_traits.h:42,
                 from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/string:42,
                 from /usr/include/log4cpp/Appender.hh:14,
                 from /usr/include/log4cpp/Category.hh:14,
                 from inc/logger.h:16,
                 from src/V4l2MmapDevice.cpp:23:
/usr/include/bits/floatn.h:74:70: error: unable to emulate 'TC'
/usr/include/bits/floatn.h:86:9: error: '__float128' does not name a type
In file included from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/cwchar:46:0,
                 from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/postypes.h:42,
                 from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/char_traits.h:42,
                 from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/string:42,
                 from /usr/include/log4cpp/Appender.hh:14,
                 from /usr/include/log4cpp/Category.hh:14,
                 from inc/logger.h:16,
                 from src/V4l2MmapDevice.cpp:23:
/usr/include/wchar.h:406:8: error: '_Float128' does not name a type
/usr/include/wchar.h:523:8: error: '_Float128' does not name a type
In file included from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:43:0,
                 from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/basic_ios.h:39,
                 from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/ios:45,
                 from /usr/include/log4cpp/CategoryStream.hh:15,
                 from /usr/include/log4cpp/Category.hh:17,
                 from inc/logger.h:16,
                 from src/V4l2MmapDevice.cpp:23:
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_base.h:47:19: error: '__ctype_touplow_t' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_base.h:51:13: error: '__ctype_mask_t' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_base.h:52:18: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_base.h:53:18: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_base.h:54:18: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_base.h:55:18: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_base.h:56:18: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_base.h:57:18: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_base.h:58:18: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_base.h:59:18: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_base.h:60:18: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_base.h:61:18: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_base.h:62:18: error: 'mask' does not name a type
In file included from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/basic_ios.h:39:0,
                 from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/ios:45,
                 from /usr/include/log4cpp/CategoryStream.hh:15,
                 from /usr/include/log4cpp/Category.hh:17,
                 from inc/logger.h:16,
                 from src/V4l2MmapDevice.cpp:23:
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:164:10: error: 'mask' has not been declared
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:181:56: error: 'mask' has not been declared
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:197:7: error: expected ';' at end of member declaration
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:197:20: error: expected ')' before '__m'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:213:7: error: expected ';' at end of member declaration
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:213:21: error: expected ')' before '__m'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:373:13: error: 'mask' has not been declared
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:393:6: error: 'mask' has not been declared
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:411:18: error: 'do_scan_is' declared as a 'virtual' field
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:411:7: error: expected ';' at end of member declaration
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:411:23: error: expected ')' before '__m'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:430:19: error: 'do_scan_not' declared as a 'virtual' field
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:430:7: error: expected ';' at end of member declaration
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:430:24: error: expected ')' before '__m'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:687:7: error: '__to_type' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:688:7: error: '__to_type' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:689:13: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:713:19: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:726:38: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:739:10: error: 'mask' has not been declared
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:754:46: error: 'mask' has not been declared
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:768:15: error: 'scan_is' declared as an 'inline' field
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:768:7: error: expected ';' at end of member declaration
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:768:20: error: expected ')' before '__m'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:782:16: error: 'scan_not' declared as an 'inline' field
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:782:7: error: expected ';' at end of member declaration
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:782:21: error: expected ')' before '__m'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:975:13: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:980:20: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:1194:7: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:1225:33: error: 'mask' does not name a type
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:1245:13: error: 'mask' has not been declared
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:1264:59: error: 'mask' has not been declared
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:1282:18: error: 'do_scan_is' declared as a 'virtual' field
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:1282:7: error: expected ';' at end of member declaration
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:1282:23: error: expected ')' before '__m'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:1300:19: error: 'do_scan_not' declared as a 'virtual' field
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:1300:7: error: expected ';' at end of member declaration
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:1300:24: error: expected ')' before '__m'
In file included from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:1513:0,
                 from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/basic_ios.h:39,
                 from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/ios:45,
                 from /usr/include/log4cpp/CategoryStream.hh:15,
                 from /usr/include/log4cpp/Category.hh:17,
                 from inc/logger.h:16,
                 from src/V4l2MmapDevice.cpp:23:
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:43:6: error: 'bool std::ctype<char>::is' is not a static member of 'class std::ctype<char>'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:43:6: error: 'mask' was not declared in this scope
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:43:16: error: expected primary-expression before 'char'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:43:24: error: expression list treated as compound expression in initializer [-fpermissive]
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:43:26: error: expected ',' or ';' before 'const'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:48:45: error: 'mask' has not been declared
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h: In member function 'const char* std::ctype<char>::is(const char*, const char*, int*) const':
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:51:18: error: '_M_table' was not declared in this scope
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h: At global scope:
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:57:11: error: 'const char* std::ctype<char>::scan_is' is not a static member of 'class std::ctype<char>'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:57:11: error: 'mask' was not declared in this scope
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:57:21: error: expected primary-expression before 'const'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:57:40: error: expected primary-expression before 'const'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:57:58: error: expression list treated as compound expression in initializer [-fpermissive]
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:57:60: error: expected ',' or ';' before 'const'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:67:12: error: 'const char* std::ctype<char>::scan_not' is not a static member of 'class std::ctype<char>'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:67:12: error: 'mask' was not declared in this scope
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:67:22: error: expected primary-expression before 'const'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:67:41: error: expected primary-expression before 'const'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:67:59: error: expression list treated as compound expression in initializer [-fpermissive]
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/mips-linux-gnu/uclibc/bits/ctype_inline.h:67:61: error: expected ',' or ';' before 'const'
In file included from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/basic_ios.h:39:0,
                 from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/ios:45,
                 from /usr/include/log4cpp/CategoryStream.hh:15,
                 from /usr/include/log4cpp/Category.hh:17,
                 from inc/logger.h:16,
                 from src/V4l2MmapDevice.cpp:23:
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h: In function 'bool std::isspace(_CharT, const std::locale&)':
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:2530:50: error: 'space' is not a member of 'std::ctype_base'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h: In function 'bool std::isprint(_CharT, const std::locale&)':
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:2536:50: error: 'print' is not a member of 'std::ctype_base'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h: In function 'bool std::iscntrl(_CharT, const std::locale&)':
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:2542:50: error: 'cntrl' is not a member of 'std::ctype_base'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h: In function 'bool std::isupper(_CharT, const std::locale&)':
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:2548:50: error: 'upper' is not a member of 'std::ctype_base'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h: In function 'bool std::islower(_CharT, const std::locale&)':
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:2554:50: error: 'lower' is not a member of 'std::ctype_base'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h: In function 'bool std::isalpha(_CharT, const std::locale&)':
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:2560:50: error: 'alpha' is not a member of 'std::ctype_base'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h: In function 'bool std::isdigit(_CharT, const std::locale&)':
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:2566:50: error: 'digit' is not a member of 'std::ctype_base'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h: In function 'bool std::ispunct(_CharT, const std::locale&)':
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:2572:50: error: 'punct' is not a member of 'std::ctype_base'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h: In function 'bool std::isxdigit(_CharT, const std::locale&)':
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:2578:50: error: 'xdigit' is not a member of 'std::ctype_base'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h: In function 'bool std::isalnum(_CharT, const std::locale&)':
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:2584:50: error: 'alnum' is not a member of 'std::ctype_base'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h: In function 'bool std::isgraph(_CharT, const std::locale&)':
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/locale_facets.h:2590:50: error: 'graph' is not a member of 'std::ctype_base'
In file included from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/istream:873:0,
                 from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/sstream:39,
                 from /usr/include/log4cpp/CategoryStream.hh:17,
                 from /usr/include/log4cpp/Category.hh:17,
                 from inc/logger.h:16,
                 from src/V4l2MmapDevice.cpp:23:
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/istream.tcc: In constructor 'std::basic_istream<_CharT, _Traits>::sentry::sentry(std::basic_istream<_CharT, _Traits>&, bool)':
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/istream.tcc:64:19: error: 'space' is not a member of 'std::ctype_base'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/istream.tcc: In function 'std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT2*)':
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/istream.tcc:985:20: error: 'space' is not a member of 'std::ctype_base'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/istream.tcc: In function 'std::basic_istream<_CharT, _Traits>& std::ws(std::basic_istream<_CharT, _Traits>&)':
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.2/../../../../mips-linux-gnu/include/c++/4.7.2/bits/istream.tcc:1031:18: error: 'space' is not a member of 'std::ctype_base'
make: *** [Makefile:18: src/V4l2MmapDevice.o] Error 1
make: Leaving directory '/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/v4l2wrapper'
-- v4l2wrapper built in V4L2WRAPPER_LIBRARY=V4L2WRAPPER_LIBRARY-NOTFOUND
   Called from: [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Looking for pthread.h
   Called from: [3] /usr/share/cmake/Modules/CheckIncludeFile.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CheckIncludeFile.cmake:93 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindThreads.cmake:105 (CHECK_INCLUDE_FILE)
  CMakeLists.txt:36 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [3] /usr/share/cmake/Modules/CheckIncludeFile.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CheckIncludeFile.cmake:93 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindThreads.cmake:105 (CHECK_INCLUDE_FILE)
  CMakeLists.txt:36 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [3] /usr/share/cmake/Modules/CheckIncludeFile.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Looking for pthread.h - found
   Called from: [3] /usr/share/cmake/Modules/CheckIncludeFile.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Looking for pthread_create
   Called from: [4] /usr/share/cmake/Modules/CheckSymbolExists.cmake
                [3] /usr/share/cmake/Modules/CheckSymbolExists.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CheckSymbolExists.cmake:100 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/CheckSymbolExists.cmake:57 (__CHECK_SYMBOL_EXISTS_IMPL)
  /usr/share/cmake/Modules/FindThreads.cmake:118 (CHECK_SYMBOL_EXISTS)
  CMakeLists.txt:36 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [4] /usr/share/cmake/Modules/CheckSymbolExists.cmake
                [3] /usr/share/cmake/Modules/CheckSymbolExists.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CheckSymbolExists.cmake:100 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/CheckSymbolExists.cmake:57 (__CHECK_SYMBOL_EXISTS_IMPL)
  /usr/share/cmake/Modules/FindThreads.cmake:118 (CHECK_SYMBOL_EXISTS)
  CMakeLists.txt:36 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [4] /usr/share/cmake/Modules/CheckSymbolExists.cmake
                [3] /usr/share/cmake/Modules/CheckSymbolExists.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Looking for pthread_create - found
   Called from: [4] /usr/share/cmake/Modules/CheckSymbolExists.cmake
                [3] /usr/share/cmake/Modules/CheckSymbolExists.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Found Threads: TRUE  
   Called from: [4] /usr/share/cmake/Modules/FindPackageMessage.cmake
                [3] /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at CMakeLists.txt:50 (target_link_libraries):
  Policy CMP0023 is not set: Plain and keyword target_link_libraries
  signatures cannot be mixed.  Run "cmake --help-policy CMP0023" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  The keyword signature for target_link_libraries has already been used with
  the target "v4l2rtspserver-master".  All uses of target_link_libraries with
  a target should be either all-keyword or all-plain.

  The uses of the keyword signature are here:

   * CMakeLists.txt:32 (target_link_libraries)

This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at CMakeLists.txt:86 (target_link_libraries):
  Policy CMP0023 is not set: Plain and keyword target_link_libraries
  signatures cannot be mixed.  Run "cmake --help-policy CMP0023" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  The plain signature for target_link_libraries has already been used with
  the target "v4l2rtspserver-master".  All uses of target_link_libraries with
  a target should be either all-keyword or all-plain.

  The uses of the plain signature are here:

   * CMakeLists.txt:50 (target_link_libraries)
   * CMakeLists.txt:54 (target_link_libraries)

This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
V4L2WRAPPER_LIBRARY
    linked by target "v4l2rtspserver-master" in directory /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master

-- Configuring incomplete, errors occurred!
See also "/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeFiles/CMakeOutput.log".
Yannik commented 4 years ago

@nik0

In file v4l2wrapper/inc/logger.h:


#ifdef HAVE_LOG4CPP
#include "log4cpp/Category.hh"
#include "log4cpp/FileAppender.hh"
#include "log4cpp/PatternLayout.hh"

Is this ifdef true or false on your system?

nik0 commented 4 years ago

I think I get it: In v4l2wrapper/Makefile you have this:

ifneq ($(wildcard $(SYSROOT)$(PREFIX)/include/log4cpp/Category.hh),)
CFLAGS += -DHAVE_LOG4CPP -I $(SYSROOT)$(PREFIX)/include
endif

And I $(SYSROOT)$(PREFIX)/include make -i /usr/lib and it is bad Try removing log4cpp

I pretty sure I don't have it

Yannik commented 4 years ago

I can't remove log4cpp, it's required by gqrx which I use.

What about fixing the makefile?

nik0 commented 4 years ago

Yes fix the makefile !!

Yannik commented 4 years ago

Done: https://github.com/Dafang-Hacks/Main/pull/49

Yannik commented 4 years ago

Now I get a new error:

Running with debug output on.
CMake Warning:
  No source or binary directory provided.  Both will be assumed to be the
  same as the current working directory, but note that this warning will
  become a fatal error in future CMake releases.

-- The C compiler identification is GNU 4.7.2
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake
                [2] /usr/share/cmake/Modules/CMakeDetermineCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- The CXX compiler identification is GNU 4.7.2
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake
                [2] /usr/share/cmake/Modules/CMakeDetermineCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Check for working C compiler: /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/mips-linux-gnu-gcc
   Called from: [3] /usr/share/cmake/Modules/CMakeTestCompilerCommon.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:44 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:44 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Check for working C compiler: /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/mips-linux-gnu-gcc -- works
   Called from: [3] /usr/share/cmake/Modules/CMakeTestCompilerCommon.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Detecting C compiler ABI info
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:45 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ABI)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:45 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ABI)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Detecting C compiler ABI info - done
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Detecting C compile features
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:33 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:74 (_record_compiler_features)
  /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake:68 (_record_compiler_features_c)
  /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake:16 (cmake_record_c_compile_features)
  /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:77 (CMAKE_DETERMINE_COMPILE_FEATURES)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [6] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [5] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [4] /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake
                [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:33 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:74 (_record_compiler_features)
  /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake:68 (_record_compiler_features_c)
  /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake:16 (cmake_record_c_compile_features)
  /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:77 (CMAKE_DETERMINE_COMPILE_FEATURES)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [6] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [5] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [4] /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake
                [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:33 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:74 (_record_compiler_features)
  /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake:71 (_record_compiler_features_c)
  /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake:16 (cmake_record_c_compile_features)
  /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:77 (CMAKE_DETERMINE_COMPILE_FEATURES)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [6] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [5] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [4] /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake
                [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:33 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:74 (_record_compiler_features)
  /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake:71 (_record_compiler_features_c)
  /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake:16 (cmake_record_c_compile_features)
  /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:77 (CMAKE_DETERMINE_COMPILE_FEATURES)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [6] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [5] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [4] /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake
                [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:33 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:74 (_record_compiler_features)
  /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake:74 (_record_compiler_features_c)
  /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake:16 (cmake_record_c_compile_features)
  /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:77 (CMAKE_DETERMINE_COMPILE_FEATURES)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [6] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [5] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [4] /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake
                [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:33 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:74 (_record_compiler_features)
  /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake:74 (_record_compiler_features_c)
  /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake:16 (cmake_record_c_compile_features)
  /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:77 (CMAKE_DETERMINE_COMPILE_FEATURES)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [6] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [5] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [4] /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake
                [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Detecting C compile features - done
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Check for working CXX compiler: /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../toolchain/bin/mips-linux-gnu-g++
   Called from: [3] /usr/share/cmake/Modules/CMakeTestCompilerCommon.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:37 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:37 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Check for working CXX compiler: /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../toolchain/bin/mips-linux-gnu-g++ -- works
   Called from: [3] /usr/share/cmake/Modules/CMakeTestCompilerCommon.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Detecting CXX compiler ABI info
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:45 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:67 (CMAKE_DETERMINE_COMPILER_ABI)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:45 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:67 (CMAKE_DETERMINE_COMPILER_ABI)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Detecting CXX compiler ABI info - done
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Detecting CXX compile features
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:33 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:79 (_record_compiler_features)
  /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake:91 (_record_compiler_features_cxx)
  /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake:56 (cmake_record_cxx_compile_features)
  /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:70 (CMAKE_DETERMINE_COMPILE_FEATURES)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [6] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [5] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [4] /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake
                [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:33 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:79 (_record_compiler_features)
  /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake:91 (_record_compiler_features_cxx)
  /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake:56 (cmake_record_cxx_compile_features)
  /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:70 (CMAKE_DETERMINE_COMPILE_FEATURES)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [6] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [5] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [4] /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake
                [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:33 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:79 (_record_compiler_features)
  /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake:94 (_record_compiler_features_cxx)
  /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake:56 (cmake_record_cxx_compile_features)
  /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:70 (CMAKE_DETERMINE_COMPILE_FEATURES)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [6] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [5] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [4] /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake
                [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:33 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Internal/FeatureTesting.cmake:79 (_record_compiler_features)
  /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake:94 (_record_compiler_features_cxx)
  /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake:56 (cmake_record_cxx_compile_features)
  /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:70 (CMAKE_DETERMINE_COMPILE_FEATURES)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [6] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [5] /usr/share/cmake/Modules/Internal/FeatureTesting.cmake
                [4] /usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake
                [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Detecting CXX compile features - done
   Called from: [3] /usr/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake
                [2] /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Installing v4l2wrapper
   Called from: [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
running git submodule init && git submodule update && make -C v4l2wrapper CC=/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/mips-linux-gnu-gcc CFLAGS_EXTRA=--sysroot= && cp v4l2wrapper/libv4l2wrapper.a . && make -C v4l2wrapper clean 2>&1
make: Entering directory '/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/v4l2wrapper'
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/mips-linux-gnu-gcc -c -o src/V4l2MmapDevice.o src/V4l2MmapDevice.cpp -W -Wall -pthread -g -pipe -muclibc -I inc
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/mips-linux-gnu-gcc -c -o src/V4l2Capture.o src/V4l2Capture.cpp -W -Wall -pthread -g -pipe -muclibc -I inc
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/mips-linux-gnu-gcc -c -o src/V4l2Device.o src/V4l2Device.cpp -W -Wall -pthread -g -pipe -muclibc -I inc
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/mips-linux-gnu-gcc -c -o src/V4l2Output.o src/V4l2Output.cpp -W -Wall -pthread -g -pipe -muclibc -I inc
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/mips-linux-gnu-gcc -c -o src/logger.o src/logger.cpp -W -Wall -pthread -g -pipe -muclibc -I inc
ar rcs libv4l2wrapper.a src/V4l2MmapDevice.o src/V4l2Capture.o src/V4l2Device.o src/V4l2Output.o src/logger.o
make: Leaving directory '/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/v4l2wrapper'
make: Entering directory '/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/v4l2wrapper'
make: Leaving directory '/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/v4l2wrapper'
-- v4l2wrapper built in V4L2WRAPPER_LIBRARY=/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/libv4l2wrapper.a
   Called from: [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Looking for pthread.h
   Called from: [3] /usr/share/cmake/Modules/CheckIncludeFile.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CheckIncludeFile.cmake:93 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindThreads.cmake:105 (CHECK_INCLUDE_FILE)
  CMakeLists.txt:36 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [3] /usr/share/cmake/Modules/CheckIncludeFile.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CheckIncludeFile.cmake:93 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindThreads.cmake:105 (CHECK_INCLUDE_FILE)
  CMakeLists.txt:36 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [3] /usr/share/cmake/Modules/CheckIncludeFile.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Looking for pthread.h - found
   Called from: [3] /usr/share/cmake/Modules/CheckIncludeFile.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Looking for pthread_create
   Called from: [4] /usr/share/cmake/Modules/CheckSymbolExists.cmake
                [3] /usr/share/cmake/Modules/CheckSymbolExists.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CheckSymbolExists.cmake:100 (try_compile):
  Policy CMP0066 is not set: Honor per-config flags in try_compile()
  source-file signature.  Run "cmake --help-policy CMP0066" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
  test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/CheckSymbolExists.cmake:57 (__CHECK_SYMBOL_EXISTS_IMPL)
  /usr/share/cmake/Modules/FindThreads.cmake:118 (CHECK_SYMBOL_EXISTS)
  CMakeLists.txt:36 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [4] /usr/share/cmake/Modules/CheckSymbolExists.cmake
                [3] /usr/share/cmake/Modules/CheckSymbolExists.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake/Modules/CheckSymbolExists.cmake:100 (try_compile):
  Policy CMP0056 is not set: Honor link flags in try_compile() source-file
  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, try_compile is not honoring
  caller link flags (e.g.  CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/CheckSymbolExists.cmake:57 (__CHECK_SYMBOL_EXISTS_IMPL)
  /usr/share/cmake/Modules/FindThreads.cmake:118 (CHECK_SYMBOL_EXISTS)
  CMakeLists.txt:36 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [4] /usr/share/cmake/Modules/CheckSymbolExists.cmake
                [3] /usr/share/cmake/Modules/CheckSymbolExists.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Looking for pthread_create - found
   Called from: [4] /usr/share/cmake/Modules/CheckSymbolExists.cmake
                [3] /usr/share/cmake/Modules/CheckSymbolExists.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Found Threads: TRUE  
   Called from: [4] /usr/share/cmake/Modules/FindPackageMessage.cmake
                [3] /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake
                [2] /usr/share/cmake/Modules/FindThreads.cmake
                [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at CMakeLists.txt:50 (target_link_libraries):
  Policy CMP0023 is not set: Plain and keyword target_link_libraries
  signatures cannot be mixed.  Run "cmake --help-policy CMP0023" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  The keyword signature for target_link_libraries has already been used with
  the target "v4l2rtspserver-master".  All uses of target_link_libraries with
  a target should be either all-keyword or all-plain.

  The uses of the keyword signature are here:

   * CMakeLists.txt:32 (target_link_libraries)

This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
CMake Warning (dev) at CMakeLists.txt:86 (target_link_libraries):
  Policy CMP0023 is not set: Plain and keyword target_link_libraries
  signatures cannot be mixed.  Run "cmake --help-policy CMP0023" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  The plain signature for target_link_libraries has already been used with
  the target "v4l2rtspserver-master".  All uses of target_link_libraries with
  a target should be either all-keyword or all-plain.

  The uses of the plain signature are here:

   * CMakeLists.txt:50 (target_link_libraries)
   * CMakeLists.txt:54 (target_link_libraries)

This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Configuring done
CMake Warning (dev) in CMakeLists.txt:
  Policy CMP0065 is not set: Do not add flags to export symbols from
  executables without the ENABLE_EXPORTS target property.  Run "cmake
  --help-policy CMP0065" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  For compatibility with older versions of CMake, additional flags may be
  added to export symbols on all executables regardless of their
  ENABLE_EXPORTS property.
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Generating /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master
   Called from: [1] /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeLists.txt
-- Generating done
-- Build files have been written to: /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master
/usr/bin/cmake -S/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master -B/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeFiles /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master'
make -f CMakeFiles/filter.dir/build.make CMakeFiles/filter.dir/depend
make -f CMakeFiles/sharedmem.dir/build.make CMakeFiles/sharedmem.dir/depend
make[2]: Entering directory '/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master'
make[2]: Entering directory '/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master'
cd /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeFiles/filter.dir/DependInfo.cmake --color=
cd /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeFiles/sharedmem.dir/DependInfo.cmake --color=
Dependee "/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeFiles/sharedmem.dir/DependInfo.cmake" is newer than depender "/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeFiles/sharedmem.dir/depend.internal".
Dependee "/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeFiles/filter.dir/DependInfo.cmake" is newer than depender "/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeFiles/filter.dir/depend.internal".
Dependee "/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeFiles/filter.dir/depend.internal".
Dependee "/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeFiles/sharedmem.dir/depend.internal".
Scanning dependencies of target filter
Scanning dependencies of target sharedmem
make[2]: Leaving directory '/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master'
make -f CMakeFiles/sharedmem.dir/build.make CMakeFiles/sharedmem.dir/build
make[2]: Leaving directory '/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master'
make -f CMakeFiles/filter.dir/build.make CMakeFiles/filter.dir/build
make[2]: Entering directory '/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master'
make[2]: Entering directory '/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master'
[ 13%] Building C object CMakeFiles/filter.dir/filter/wave.c.o
[ 13%] Building CXX object CMakeFiles/sharedmem.dir/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-tools/sharedmem.cpp.o
[ 13%] Building C object CMakeFiles/filter.dir/filter/noise_remover.c.o
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/mips-linux-gnu-gcc  -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/inc -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/v4l2wrapper/inc -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../live555/liveMedia/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../v4l2rtspserver-tools -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/filter -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/groupsock/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/liveMedia/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/UsageEnvironment/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/BasicUsageEnvironment/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../_install/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/freetype2/freetype2/include  -Wall -g   -o CMakeFiles/filter.dir/filter/noise_remover.c.o   -c /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/filter/noise_remover.c
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../toolchain/bin/mips-linux-gnu-g++   -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/inc -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/v4l2wrapper/inc -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../live555/liveMedia/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../v4l2rtspserver-tools -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/filter -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/groupsock/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/liveMedia/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/UsageEnvironment/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/BasicUsageEnvironment/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../_install/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/freetype2/freetype2/include  -std=c++11 -Wall -O3 -g   -o CMakeFiles/sharedmem.dir/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-tools/sharedmem.cpp.o -c /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-tools/sharedmem.cpp
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/mips-linux-gnu-gcc  -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/inc -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/v4l2wrapper/inc -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../live555/liveMedia/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../v4l2rtspserver-tools -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/filter -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/groupsock/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/liveMedia/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/UsageEnvironment/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/BasicUsageEnvironment/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../_install/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/freetype2/freetype2/include  -Wall -g   -o CMakeFiles/filter.dir/filter/wave.c.o   -c /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/filter/wave.c
[ 18%] Building C object CMakeFiles/filter.dir/filter/g711super.c.o
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/mips-linux-gnu-gcc  -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/inc -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/v4l2wrapper/inc -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../live555/liveMedia/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../v4l2rtspserver-tools -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/filter -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/groupsock/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/liveMedia/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/UsageEnvironment/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/BasicUsageEnvironment/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../_install/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/freetype2/freetype2/include  -Wall -g   -o CMakeFiles/filter.dir/filter/g711super.c.o   -c /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/filter/g711super.c
[ 22%] Building C object CMakeFiles/filter.dir/filter/mylog.c.o
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/mips-linux-gnu-gcc  -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/inc -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/v4l2wrapper/inc -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../live555/liveMedia/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../v4l2rtspserver-tools -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/filter -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/groupsock/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/liveMedia/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/UsageEnvironment/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/BasicUsageEnvironment/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../_install/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/freetype2/freetype2/include  -Wall -g   -o CMakeFiles/filter.dir/filter/mylog.c.o   -c /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/filter/mylog.c
[ 27%] Linking C static library libfilter.a
/usr/bin/cmake -P CMakeFiles/filter.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/filter.dir/link.txt --verbose=1
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/mips-linux-gnu-ar qc libfilter.a  CMakeFiles/filter.dir/filter/g711super.c.o CMakeFiles/filter.dir/filter/noise_remover.c.o CMakeFiles/filter.dir/filter/wave.c.o CMakeFiles/filter.dir/filter/mylog.c.o
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/mips-linux-gnu-ranlib libfilter.a
make[2]: Leaving directory '/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master'
[ 31%] Linking CXX static library libsharedmem.a
/usr/bin/cmake -P CMakeFiles/sharedmem.dir/cmake_clean_target.cmake
[ 31%] Built target filter
/usr/bin/cmake -E cmake_link_script CMakeFiles/sharedmem.dir/link.txt --verbose=1
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/mips-linux-gnu-ar qc libsharedmem.a  CMakeFiles/sharedmem.dir/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-tools/sharedmem.cpp.o
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/toolchain/bin/mips-linux-gnu-ranlib libsharedmem.a
make[2]: Leaving directory '/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master'
[ 31%] Built target sharedmem
make -f CMakeFiles/v4l2rtspserver-master.dir/build.make CMakeFiles/v4l2rtspserver-master.dir/depend
make[2]: Entering directory '/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master'
cd /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeFiles/v4l2rtspserver-master.dir/DependInfo.cmake --color=
Dependee "/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeFiles/v4l2rtspserver-master.dir/DependInfo.cmake" is newer than depender "/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeFiles/v4l2rtspserver-master.dir/depend.internal".
Dependee "/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/CMakeFiles/v4l2rtspserver-master.dir/depend.internal".
Scanning dependencies of target v4l2rtspserver-master
make[2]: Leaving directory '/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master'
make -f CMakeFiles/v4l2rtspserver-master.dir/build.make CMakeFiles/v4l2rtspserver-master.dir/build
make[2]: Entering directory '/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master'
[ 40%] Building CXX object CMakeFiles/v4l2rtspserver-master.dir/src/ConfigReader.cpp.o
[ 40%] Building CXX object CMakeFiles/v4l2rtspserver-master.dir/src/DeviceSource.cpp.o
[ 45%] Building CXX object CMakeFiles/v4l2rtspserver-master.dir/src/H264_V4l2DeviceSource.cpp.o
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../toolchain/bin/mips-linux-gnu-g++   -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/inc -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/v4l2wrapper/inc -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../live555/liveMedia/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../v4l2rtspserver-tools -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/filter -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/groupsock/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/liveMedia/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/UsageEnvironment/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/BasicUsageEnvironment/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../_install/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/freetype2/freetype2/include  -std=c++11 -Wall -O3 -g   -o CMakeFiles/v4l2rtspserver-master.dir/src/ConfigReader.cpp.o -c /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/src/ConfigReader.cpp
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../toolchain/bin/mips-linux-gnu-g++   -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/inc -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/v4l2wrapper/inc -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../live555/liveMedia/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../v4l2rtspserver-tools -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/filter -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/groupsock/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/liveMedia/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/UsageEnvironment/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/BasicUsageEnvironment/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../_install/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/freetype2/freetype2/include  -std=c++11 -Wall -O3 -g   -o CMakeFiles/v4l2rtspserver-master.dir/src/DeviceSource.cpp.o -c /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/src/DeviceSource.cpp
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../toolchain/bin/mips-linux-gnu-g++   -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/inc -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/v4l2wrapper/inc -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../live555/liveMedia/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../v4l2rtspserver-tools -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/filter -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/groupsock/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/liveMedia/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/UsageEnvironment/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/BasicUsageEnvironment/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../_install/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/freetype2/freetype2/include  -std=c++11 -Wall -O3 -g   -o CMakeFiles/v4l2rtspserver-master.dir/src/H264_V4l2DeviceSource.cpp.o -c /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/src/H264_V4l2DeviceSource.cpp
[ 50%] Building CXX object CMakeFiles/v4l2rtspserver-master.dir/src/ALSACapture.cpp.o
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../toolchain/bin/mips-linux-gnu-g++   -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/inc -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/v4l2wrapper/inc -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../live555/liveMedia/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../v4l2rtspserver-tools -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/filter -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/groupsock/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/liveMedia/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/UsageEnvironment/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/BasicUsageEnvironment/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../_install/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/freetype2/freetype2/include  -std=c++11 -Wall -O3 -g   -o CMakeFiles/v4l2rtspserver-master.dir/src/ALSACapture.cpp.o -c /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/src/ALSACapture.cpp
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/src/H264_V4l2DeviceSource.cpp:15:21: fatal error: Base64.hh: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/v4l2rtspserver-master.dir/build.make:102: CMakeFiles/v4l2rtspserver-master.dir/src/H264_V4l2DeviceSource.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/src/DeviceSource.cpp:21:0:
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/inc/DeviceSource.h:22:24: fatal error: liveMedia.hh: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/v4l2rtspserver-master.dir/build.make:89: CMakeFiles/v4l2rtspserver-master.dir/src/DeviceSource.cpp.o] Error 1
In file included from /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/src/ALSACapture.cpp:14:0:
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/inc/ALSACapture.h:20:18: fatal error: opus.h: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/v4l2rtspserver-master.dir/build.make:63: CMakeFiles/v4l2rtspserver-master.dir/src/ALSACapture.cpp.o] Error 1
make[2]: Leaving directory '/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master'
make[1]: *** [CMakeFiles/Makefile2:74: CMakeFiles/v4l2rtspserver-master.dir/all] Error 2
make[1]: Leaving directory '/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master'
make: *** [Makefile:130: all] Error 2
nik0 commented 4 years ago

You need to compile modules (opus for instance)

Yannik commented 4 years ago

@nik0 Ok. I think this should be documented and/or checked before running.

Yannik commented 4 years ago

@nik0 New error:


[ 54%] Building CXX object CMakeFiles/v4l2rtspserver-master.dir/src/HTTPServer.cpp.o
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../toolchain/bin/mips-linux-gnu-g++   -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/inc -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/v4l2wrapper/inc -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../live555/liveMedia/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../v4l2rtspserver-tools -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/filter -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/groupsock/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/liveMedia/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/UsageEnvironment/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/live/live555/BasicUsageEnvironment/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../_install/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../Modules/freetype2/freetype2/include  -std=c++11 -Wall -O3 -g   -o CMakeFiles/v4l2rtspserver-master.dir/src/HTTPServer.cpp.o -c /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/src/HTTPServer.cpp
/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/src/HTTPServer.cpp:23:28: fatal error: TCPStreamSink.hh: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/v4l2rtspserver-master.dir/build.make:115: CMakeFiles/v4l2rtspserver-master.dir/src/HTTPServer.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master'
make[1]: *** [CMakeFiles/Makefile2:74: CMakeFiles/v4l2rtspserver-master.dir/all] Error 2
make[1]: Leaving directory '/home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master'
make: *** [Makefile:130: all] Error 2

I have compiled everything in the Modules directory, and also live.

nik0 commented 4 years ago

Do you have the folder: /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../live555/liveMedia/include ?

Do you have TCPStreamSink.hh in /home/yannik/projects/Xiaomi-Dafang-Hacks/Dafang-Hacks-Main/v4l2rtspserver-master/../live555/liveMedia/include ?

Yannik commented 4 years ago

No, there is no folder live555. There is a folder live, which contains the TCPStreamSink.hh file ( ./live/liveMedia/include/TCPStreamSink.hh)

nik0 commented 4 years ago

This is strange because in modules live555 is compiled in live/live555 folder Not anymore in “live”

Yannik commented 4 years ago

@nik0 I will try again from a fresh clone. In the meantime, #51 fixes an issue with cloning busybox module.

Yannik commented 4 years ago

@nik0

I can confirm this TCPStreamSink.hh error occurs on a fresh build:

Here's how you should be able to reproduce it:

git clone --depth=1 --recurse-submodules https://github.com/Dafang-Hacks/Main.git Hacks-Main-TEMP
cd Hacks-Main-TEMP
./compile_modules.sh
cd v4l2rtspserver-master
./compile.sh

That leads to the TCPStreamSink.hh: No such file or directory error.

nik0 commented 4 years ago

Got it ... live changed. This is the drawback of using the latest source code ...

Yannik commented 4 years ago

http://www.live555.com/liveMedia/public/changelog.txt:

2020.04.06:

  • Removed support for the classes “RTSPServerSupportingHTTPStreaming” and "TCPStreamSink”. These were being used (in the "LIVE555 Media Server") for streaming using "HTTP Live Streaming" (HLS). This was always a hack; it is better to use a dedicated HTTP server to serve HLS segments, rather than trying to implement a HTTP server (serving 'virtual HLS segments) within our own (primarily RTSP) server.

    If you are looking for HLS support, note that we provide a source-code demo application "testH264VideoToHLSSegments" that converts a (static) H.264 Elementary Stream file to HLS segments, and the "LIVE555 HLS Proxy", which proxies a live RTSP/RTP stream to HLS segments.

Yannik commented 4 years ago

We found out about this at the same time :D

Yannik commented 4 years ago

What shall we do now. Use older live? Or remove TCPStreamSink from our code?

nik0 commented 4 years ago

I will try to port https://github.com/mpromonet/v4l2rtspserver/ They already corrected it ...

Yannik commented 4 years ago

We could also use http://www.live555.com/liveMedia/#testProgs-hls and serve the m3u8 using lighttpd which we already ship. This actually seems more straightforward to me than porting a http server to v4l2.

nik0 commented 4 years ago

In the mean time you can use the source code here https://github.com/rgaufman/live555 It is working, even if it not the latest I don't know how to get old version of live555

nik0 commented 4 years ago

We could also use http://www.live555.com/liveMedia/#testProgs-hls and serve the m3u8 using lighttpd which we already ship. This actually seems more straightforward to me than porting a http server to v4l2.

OK will look into that direction too

Yannik commented 4 years ago

In the mean time you can use the source code here https://github.com/rgaufman/live555 It is working, even if it not the latest I don't know how to get old version of live555

https://ftp.uni-erlangen.de/gentoo/distfiles/live.2020.03.06.tar.gz This is the last version before TCPStreamSink removal.

Yannik commented 4 years ago

I am trying to build v4l2 with the 2020.03.06 version of live555 now. Now the build proceeds further, but I still get another error:

make[2]: *** No rule to make target '../_install/lib/libliveMedia.so', needed by 'v4l2rtspserver-master'.  Stop.
make[2]: *** Waiting for unfinished jobs....
[ 95%] Building CXX object CMakeFiles/v4l2rtspserver-master.dir/src/main.cpp.o
/home/yannik/projects/Xiaomi-Dafang-Hacks/Hacks-Main-TEMP/v4l2rtspserver-master/../toolchain/bin/mips-linux-gnu-g++   -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Hacks-Main-TEMP/v4l2rtspserver-master/inc -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Hacks-Main-TEMP/v4l2rtspserver-master/v4l2wrapper/inc -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Hacks-Main-TEMP/v4l2rtspserver-master/../live555/liveMedia/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Hacks-Main-TEMP/v4l2rtspserver-master/../v4l2rtspserver-tools -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Hacks-Main-TEMP/v4l2rtspserver-master/filter -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Hacks-Main-TEMP/v4l2rtspserver-master/../Modules/live/live555/groupsock/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Hacks-Main-TEMP/v4l2rtspserver-master/../Modules/live/live555/liveMedia/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Hacks-Main-TEMP/v4l2rtspserver-master/../Modules/live/live555/UsageEnvironment/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Hacks-Main-TEMP/v4l2rtspserver-master/../Modules/live/live555/BasicUsageEnvironment/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Hacks-Main-TEMP/v4l2rtspserver-master/../_install/include -I/home/yannik/projects/Xiaomi-Dafang-Hacks/Hacks-Main-TEMP/v4l2rtspserver-master/../Modules/freetype2/freetype2/include  -std=c++11 -Wall -O3 -g   -o CMakeFiles/v4l2rtspserver-master.dir/src/main.cpp.o -c /home/yannik/projects/Xiaomi-Dafang-Hacks/Hacks-Main-TEMP/v4l2rtspserver-master/src/main.cpp
make[2]: Leaving directory '/home/yannik/projects/Xiaomi-Dafang-Hacks/Hacks-Main-TEMP/v4l2rtspserver-master'
make[1]: *** [CMakeFiles/Makefile2:74: CMakeFiles/v4l2rtspserver-master.dir/all] Error 2
make[1]: Leaving directory '/home/yannik/projects/Xiaomi-Dafang-Hacks/Hacks-Main-TEMP/v4l2rtspserver-master'
make: *** [Makefile:130: all] Error 2
Yannik commented 4 years ago

This is the reason why libliveMedia.so fails to compile:

mips-linux-gnu-gcc: error: /home/yannik/projects/Xiaomi-Dafang-Hacks/Hacks-Main-TEMP/_install/lib/libssl.a: No such file or directory
mips-linux-gnu-gcc: error: /home/yannik/projects/Xiaomi-Dafang-Hacks/Hacks-Main-TEMP/_install/lib/libcrypto.a: No such file or directory
mips-linux-gnu-gcc: error: /home/yannik/projects/Xiaomi-Dafang-Hacks/Hacks-Main-TEMP/_install/lib/libtls.a: No such file or directory
make[1]: *** [Makefile:118: libliveMedia.so] Error 1

Should these be generated by libressl?

Yannik commented 4 years ago

Ok, I found libressl compilation also fails:

configure.ac:32: error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
configure: WARNING: unrecognized options: --with-pic
configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target 'install'.  Stop.
Yannik commented 4 years ago

That was fixable by installing the libtool package. I think we should have a README which lists build dependencies like this...

nik0 commented 4 years ago

There are informtation on the main page: https://github.com/Dafang-Hacks/Main sudo apt install build-essential git gcc-mips-linux-gnu autoconf autoconf libtool libtool cmake ftp-upload u-boot

nik0 commented 4 years ago

At the end you will need to copy Dafang system libs: cp ../../Xiaomi-Dafang-Hacks/firmware_mod/lib/libalog.so ../_install/lib/libalog.so cp ../../Xiaomi-Dafang-Hacks/firmware_mod/lib/libimp.so ../_install/lib/ cp ../../Xiaomi-Dafang-Hacks/firmware_mod/lib/libsysutils.so ../_install/lib/

I forgot to push them

Yannik commented 4 years ago

Ok, just ran into this error. Thanks!

For my own reference: cp ../../firmware_mod/lib/libalog.so ../_install/lib/libalog.so cp ../../firmware_mod/lib/libimp.so ../_install/lib/ cp ../../firmware_mod/lib/libsysutils.so ../_install/lib/

nik0 commented 4 years ago

Hopefully it is the last one ... Sorry about that ... I get back to this project only a few days ago ...

Yannik commented 4 years ago

@nik0 Unfortunately not the last... Now it's missing ../_install/lib/libfreetype.a

nik0 commented 4 years ago

again another dependancy to compile Modules/freetype2/