Closed
Description
Description'
Please ensure that you maintain the markdown structure.
Please describe the issue you encountered here.
'
Make sure to maintain the markdown structure.
- SRS version:
3.0-b4
- The log for SRS is as follows:
make[1]: Entering directory "/home/ak88/Documents/srs-3.0-b4/trunk Build the srs(simple rtmp server) over ST(state-threads) make -f objs/Makefile srsmake[2]: Entering directory "/home/ak88/Documents/srs-3.0-b4/trunk g++ -c -ansi -Wall -g -O0 \ -Isrc/kernel -Isrc/core -Iobjs \ -o objs/src/kernel/srs_kernel_utility.o src/kernel/srs_kernel_utility.cppsrc/kernel/srs_kernel_utility.cpp:128:43: error: invalid conversion from 'int (*)(timeval*, void*) throw ()' {aka 'int (*)(timeval*, void*)'} to '_srs_gettimeofday_t' {aka 'int (*)(timeval*, timezone*)'}' [-fpermissive]128 | _srs_gettimeofday_t _srs_gettimeofday = ::gettimeofday;
| ~~^~~~~~~~~~~~
| |
| int ()(timeval, void*) throw () {aka int ()(timeval, void*)}make[2]: *** [objs/Makefile:77: objs/src/kernel/srs_kernel_utility.o] Error 1 make[2]: Leaving directory '/home/ak88/Documents/srs-3.0-b4/trunk' make[1]: *** [Makefile:75: server] Error 2 make[1]: Leaving directory '/home/ak88/Documents/srs-3.0-b4/trunk' make: *** [Makefile:10: default] Error 21. The configuration of SRS is as follows (Config):./configure --full --use-sys-ssl && make
**Replay**> How to replay the bug?
Ubuntu 20.04
GCC 9.3.0
TRANS_BY_GPT3