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 {