Перейти к содержанию

ошибка на виртуальной машине


Рекомендуемые сообщения

доброго дня вот столкнулся с такой ошибкой  может кто что знает вроде все делал по гайдам  но вышло что вышло 

sql.c: In function ‘Sql_P_BindSqlDataType’:
sql.c:542:19: error: ‘my_bool’ undeclared (first use in this function); did you mean ‘bool’?
  542 |  bind->is_null = (my_bool*)out_is_null;
      |                   ^~~~~~~
      |                   bool
sql.c:542:19: note: each undeclared identifier is reported only once for each function it appears in
sql.c:542:27: error: expected expression before ‘)’ token
  542 |  bind->is_null = (my_bool*)out_is_null;
      |                           ^
sql.c: In function ‘SqlStmt_NextRow’:
sql.c:871:3: error: unknown type name ‘my_bool’; did you mean ‘bool’?
  871 |   my_bool truncated;
      |   ^~~~~~~
      |   bool
sql.c:884:18: warning: assignment to ‘_Bool *’ from incompatible pointer type ‘int *’ [-Wincompatible-pointer-types]
  884 |    column->error = &truncated;
      |                  ^
make[1]: *** [Makefile:71: obj/sql.o] Error 1
make[1]: Leaving directory '/root/rathena/src/common'
make: *** [Makefile:42: common] Error 2
 

Изменено пользователем Lunohod
Ссылка на комментарий
Поделиться на другие сайты

да вот еще 

checking for g++... g++
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 g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
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 we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking for ar... /usr/bin/ar
checking whether byte ordering is bigendian... no
checking whether gcc produces 32bit code... no
checking whether gcc supports __thread specifier (TLS)... yes
checking whether gcc supports -ffat-lto-objects... yes
checking whether gcc supports -flto -fuse-linker-plugin... yes
checking whether gcc supports -Wno-unused-parameter... yes
checking whether gcc can actually use -Wno-unused-parameter... not needed but enabled
checking whether gcc supports -Wempty-body... yes
checking whether gcc supports -Wno-switch... yes
checking whether gcc supports -Wno-missing-field-initializers... yes
checking whether compiler is clang... no
checking whether gcc supports -Wno-maybe-uninitialized... yes
checking whether gcc supports -Wno-clobbered... yes
checking whether gcc supports -Wshadow... yes
checking whether gcc can efficiently use -Wshadow... yes
checking whether gcc supports -fPIC... yes
checking how to make shared objects... not supported
configure: compiler is unable to generate shared objects, disabled plugins (optional)
checking whether gcc supports -fno-strict-aliasing... yes
checking for setrlimit... yes
checking for strnlen... yes
checking for uselocale... yes
checking for newlocale... yes
checking for freelocale... yes
checking for xlocale.h... no
checking for library containing inflateEnd... -lz
checking for zlib.h... yes
checking for library containing sqrt... none required
checking for library containing clock_gettime... none required
checking whether CLOCK_MONOTONIC is supported and works... yes
checking for library containing pthread_create... -lpthread
checking for library containing pthread_sigmask... none required
checking for library containing pthread_attr_init... none required
checking for library containing pthread_attr_setstacksize... none required
checking for library containing pthread_attr_destroy... none required
checking for library containing pthread_cancel... none required
checking for library containing pthread_join... none required
checking for mysql_config... /usr/bin/mysql_config
checking for mysql_init in -lmysqlclient... yes
checking mysql.h usability... yes
checking mysql.h presence... yes
checking for mysql.h... yes
checking MySQL library (required)... yes (8.0.26)
checking for library containing pcre_study... -lpcre
checking PCRE library (optional)... yes (8.39)
checking host OS... Linux
checking for MinGW... no
configure: Configure finish
 

 

Ссылка на комментарий
Поделиться на другие сайты

×
×
  • Создать...
Яндекс.Метрика