i received below error when try to run "make". Any idea
dp@ubuntuserver:~/miio/videoP2Proxy$ sudo ./autogen.sh **Warning**: I am going to runconfigure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.
processing .
Running aclocal ...
Running autoheader...
Running automake --foreign ...
configure.ac:13: installing './compile'
configure.ac:5: installing './config.guess'
configure.ac:5: installing './config.sub'
configure.ac:9: installing './install-sh'
configure.ac:9: installing './missing'
Makefile.am: installing './depcomp'
Running autoconf ...
Running ./configure ...
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for JSON_C... yes
checking for LIVE555... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
Now type make' to compile. dp@ubuntuserver:~/miio/videoP2Proxy$ sudo make make all-am make[1]: Entering directory '/home/dp/miio/videoP2Proxy' CC main.o CC av.o CC avframe.o CC client.o CC iotc.o CXX rtsp.o rtsp.cxx: In function ‘void* min(void*)’: rtsp.cxx:65:34: warning: control reaches end of non-void function [-Wreturn-type] 65 | env->taskScheduler().doEventLoop(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ CXXLD videop2proxy make[1]: Leaving directory '/home/dp/miio/videoP2Proxy'
Hello,
i received below error when try to run "make". Any idea
dp@ubuntuserver:~/miio/videoP2Proxy$ sudo ./autogen.sh **Warning**: I am going to run
configure' with no arguments. If you wish to pass any to it, please specify them on the `./autogen.sh' command line.processing . Running aclocal ... Running autoheader... Running automake --foreign ... configure.ac:13: installing './compile' configure.ac:5: installing './config.guess' configure.ac:5: installing './config.sub' configure.ac:9: installing './install-sh' configure.ac:9: installing './missing' Makefile.am: installing './depcomp' Running autoconf ... Running ./configure ... checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for JSON_C... yes checking for LIVE555... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands Now type
make' to compile. dp@ubuntuserver:~/miio/videoP2Proxy$ sudo make make all-am make[1]: Entering directory '/home/dp/miio/videoP2Proxy' CC main.o CC av.o CC avframe.o CC client.o CC iotc.o CXX rtsp.o rtsp.cxx: In function ‘void* min(void*)’: rtsp.cxx:65:34: warning: control reaches end of non-void function [-Wreturn-type] 65 | env->taskScheduler().doEventLoop(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ CXXLD videop2proxy make[1]: Leaving directory '/home/dp/miio/videoP2Proxy'