Doris 5 error during installation
Problem Description:
Doris in Doris 5_ Error when executing make in the core folder: BK_ messages.hh:214:26 error: invalid conversion from ‘char’ to ‘const char*’ [fpermissive]
strcat(name_, ‘\ 0’);// terminate id
Solution:
Find Doris_ BK in the core folder_ Message.hh file, comment out line 214 strcat (name, '\ 0');
, add name_[ 9] = '\0';
It should be changed as follows:
211 if (strlen(id)>=10)
212 {
213 strncpy(name_,id,9);
# strcat(name_,'\0');
214 name_[9] = '\0':
215 }
216 else
217 {
Read More:
- Docker Run ‘echo core > /proc/sys/kernel/core_pattern‘ Error
- [Solved] sed -i error: sed: -e expression #1, char 44: invalid reference \1 on `s’ command’s RHS
- [Solved] Linux C++ warning: ISO C++ forbids converting a string constant to ‘char*‘ [-Wwrite-strings]
- Nginx error: nginx: [error] invalid PID number ““ in “/run/nginx.pid“
- [Solved] ubuntu Run jupyter Error: print(‘Error in generated code:‘, file=sys.stderr) SyntaxError: invalid syntax
- [Solved] catkin_make Error: pkg_resources.DistributionNotFound: pyparsing
- Ubuntu20.04 install the ROS noetic version in catkin_Problems in make compilation
- [Solved] Linux Kernel Compile Error: make menuconfig‘ requires the ncurses libraries
- ERROR conda.core.link:_execute(699): An error occurred while installing package ‘‘Rolling back trans
- [Solved] Error during installation of nginx: Make: * * * [build] error 2
- [Solved] Jetson Nano catkin_make Error: internal compiler error
- Make update-api Error: ckati failed with: signal: killed
- ERROR: Invalid subnet : invalid CIDR address: [How to Fix]
- [Solved] catkin_make error: CMake Error at CMakeLists.txt:1:
- [Solved] make menuconfig Error: recipe for target ‘menuconfig‘ failed
- [Solved] Except CvBridgeError,e:SyntaxError:invalid syntax
- Gamit Run Error: grep SP file :bad year 2021 [How to Solve]
- How to Solve Roscore Run error [Install ROS]
- [Solved] Yum Install Software Error: Invalid configuration value: failovermethod=priority…
- [Soled] MTPuTTY error: unable to run putty the system cannot find the specified file