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

Lunohod

Проверенные
  • Постов

    134
  • Зарегистрирован

  • Посещение

  • Победитель дней

    1

Сообщения, опубликованные Lunohod

  1. да вот еще 

    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
     

     

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

    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
     

  3. вот еще одна ошибка вылетела когда компилировал 

     

    obj/inter.o: In function `yaml_invalid_warning(char const*, YAML::Node&, std::string&)': /root/rathena/src/char/inter.cpp:842: undefined reference to `YAML::Emitter::Emitter()' /root/rathena/src/char/inter.cpp:843: undefined reference to `YAML::operator<<(YAML::Emitter&, YAML::Node const&)' /root/rathena/src/char/inter.cpp:845: undefined reference to `YAML::Emitter::c_str() const' /root/rathena/src/char/inter.cpp:845: undefined reference to `YAML::Emitter::~Emitter()' /root/rathena/src/char/inter.cpp:845: undefined reference to `YAML::Emitter::~Emitter()' obj/inter.o: In function `inter_config_readConf()': /root/rathena/src/char/inter.cpp:861: undefined reference to `YAML::LoadFile(std::string const&)' obj/inter.o: In function `YAML::detail::node_ref::begin()': /usr/include/yaml-cpp/node/detail/node_ref.h:41: undefined reference to `YAML::detail::node_data::begin()' obj/inter.o: In function `YAML::detail::node_ref::end()': /usr/include/yaml-cpp/node/detail/node_ref.h:44: undefined reference to `YAML::detail::node_data::end()' obj/inter.o: In function `YAML::detail::memory_holder::create_node()': /usr/include/yaml-cpp/node/detail/memory.h:30: undefined reference to `YAML::detail::memory::create_node()' obj/inter.o: In function `YAML::detail::node_ref::set_null()': /usr/include/yaml-cpp/node/detail/node_ref.h:34: undefined reference to `YAML::detail::node_data::set_null()' obj/inter.o: In function `YAML::Node::AssignNode(YAML::Node const&)': /usr/include/yaml-cpp/node/impl.h:270: undefined reference to `YAML::detail::memory_holder::merge(YAML::detail::memory_holder&)' obj/inter.o: In function `YAML::detail::node_ref::mark_defined()': /usr/include/yaml-cpp/node/detail/node_ref.h:29: undefined reference to `YAML::detail::node_data::mark_defined()' /usr/include/yaml-cpp/node/detail/node_ref.h:29: undefined reference to `YAML::detail::node_data::mark_defined()' /usr/include/yaml-cpp/node/detail/node_ref.h:29: undefined reference to `YAML::detail::node_data::mark_defined()' /usr/include/yaml-cpp/node/detail/node_ref.h:29: undefined reference to `YAML::detail::node_data::mark_defined()' /usr/include/yaml-cpp/node/detail/node_ref.h:29: undefined reference to `YAML::detail::node_data::mark_defined()' obj/inter.o: In function `YAML::detail::memory_holder::create_node()': /usr/include/yaml-cpp/node/detail/memory.h:30: undefined reference to `YAML::detail::memory::create_node()' obj/inter.o: In function `YAML::detail::node_ref::set_null()': /usr/include/yaml-cpp/node/detail/node_ref.h:34: undefined reference to `YAML::detail::node_data::set_null()' obj/inter.o: In function `YAML::detail::memory_holder::create_node()': /usr/include/yaml-cpp/node/detail/memory.h:30: undefined reference to `YAML::detail::memory::create_node()' obj/inter.o: In function `YAML::detail::node_ref::set_scalar(std::string const&)': /usr/include/yaml-cpp/node/detail/node_ref.h:35: undefined reference to `YAML::detail::node_data::set_scalar(std::string const&)' obj/inter.o: In function `convert_to_node<std::basic_string<char> >': /usr/include/yaml-cpp/node/detail/impl.h:162: undefined reference to `YAML::detail::memory_holder::merge(YAML::detail::memory_holder&)' obj/inter.o: In function `YAML::detail::memory_holder::create_node()': /usr/include/yaml-cpp/node/detail/memory.h:30: undefined reference to `YAML::detail::memory::create_node()' obj/inter.o: In function `YAML::detail::node& YAML::detail::node_data::get<std::string>(std::string const&, boost::shared_ptr<YAML::detail::memory_holder>)': /usr/include/yaml-cpp/node/detail/impl.h:102: undefined reference to `YAML::detail::node_data::insert_map_pair(YAML::detail::node&, YAML::detail::node&)' /usr/include/yaml-cpp/node/detail/impl.h:89: undefined reference to `YAML::detail::node_data::convert_to_map(boost::shared_ptr<YAML::detail::memory_holder>)' obj/inter.o: In function `YAML::detail::memory_holder::create_node()': /usr/include/yaml-cpp/node/detail/memory.h:30: undefined reference to `YAML::detail::memory::create_node()' obj/inter.o: In function `YAML::detail::node_ref::set_null()': /usr/include/yaml-cpp/node/detail/node_ref.h:34: undefined reference to `YAML::detail::node_data::set_null()' obj/inter.o: In function `YAML::detail::memory_holder::create_node()': /usr/include/yaml-cpp/node/detail/memory.h:30: undefined reference to `YAML::detail::memory::create_node()' obj/inter.o: In function `YAML::detail::node_ref::set_null()': /usr/include/yaml-cpp/node/detail/node_ref.h:34: undefined reference to `YAML::detail::node_data::set_null()' obj/inter.o: In function `YAML::detail::memory_holder::create_node()': /usr/include/yaml-cpp/node/detail/memory.h:30: undefined reference to `YAML::detail::memory::create_node()' obj/inter.o: In function `YAML::detail::node_ref::set_null()': /usr/include/yaml-cpp/node/detail/node_ref.h:34: undefined reference to `YAML::detail::node_data::set_null()' obj/inter.o: In function `YAML::detail::memory_holder::create_node()': /usr/include/yaml-cpp/node/detail/memory.h:30: undefined reference to `YAML::detail::memory::create_node()' obj/inter.o: In function `YAML::detail::node_ref::set_null()': /usr/include/yaml-cpp/node/detail/node_ref.h:34: undefined reference to `YAML::detail::node_data::set_null()' obj/inter.o: In function `YAML::detail::memory_holder::create_node()': /usr/include/yaml-cpp/node/detail/memory.h:30: undefined reference to `YAML::detail::memory::create_node()' obj/inter.o: In function `YAML::detail::node_ref::set_null()': /usr/include/yaml-cpp/node/detail/node_ref.h:34: undefined reference to `YAML::detail::node_data::set_null()' obj/inter.o: In function `YAML::detail::memory_holder::create_node()': /usr/include/yaml-cpp/node/detail/memory.h:30: undefined reference to `YAML::detail::memory::create_node()' obj/inter.o: In function `YAML::detail::node_ref::set_null()': /usr/include/yaml-cpp/node/detail/node_ref.h:34: undefined reference to `YAML::detail::node_data::set_null()' collect2: error: ld returned 1 exit status

  4. Доброго времени суток ребята нашел старый свой сервер давно его держал  на ГуглДиске короче поставил на хост все дела и тут бац начал компиляцию и такая вот ошибка кто может помочь ..... Будет с меня лайкосик вам )

     

    g++: internal compiler error: Killed (program cc1plus)
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <http://bugzilla.redhat.com/bugzilla> for instructions.
    make[1]: *** [obj/inter.o] Error 4
    make[1]: Leaving directory `/root/rathena/src/char'
    make: *** [char] Error 2
     

  5. всем приветик Злюки вопросик как добавить в итем дб вещь которую я хочу в дальнейшем использовать в донате  и добавить ее на сайт что бы отображалась картинка вещи 

     

    короче  нажимаю на вещи которую добавил на сайт ид ее итд и она не отображается  

    2019-08-20 (9).png

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