kostya / lexbor

Fast HTML5 Parser with CSS selectors. This is successor of myhtml and expected to be faster and use less memory.
MIT License
95 stars 14 forks source link

lexbor build error on crystal 1.1.1 and crystal 1.2.2 #16

Closed pateljoel closed 2 years ago

pateljoel commented 2 years ago

hi, currently using crystal for a project and using lexbor, I get this error just by running crystal build src/router.cr -o router

ld: warning: ignoring file  /Users/jptl/Desktop/router/lib/lexbor/src/lexbor/../ext/lexbor-c/build/liblexbor_static.a, building for macOS-x86_64 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20 0x20 0x20 0x20 0x20 )
Undefined symbols for architecture x86_64:
  "_lxb_css_parser_create", referenced from:
      _*Lexbor::CssFilter#initialize<String>:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_css_parser_destroy", referenced from:
      _*Lexbor::CssFilter#free:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_css_parser_init", referenced from:
      _*Lexbor::CssFilter#initialize<String>:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_css_selector_list_destroy_memory", referenced from:
      _*Lexbor::CssFilter#free:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_css_selectors_parse", referenced from:
      _*Lexbor::CssFilter#initialize<String>:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_dom_attr_local_name_noi", referenced from:
      _*Lexbor::Node#attribute_name<Pointer(Void)>:Slice(UInt8) in L-exbor5858N-ode.o
  "_lxb_dom_attr_value_noi", referenced from:
      _*Lexbor::Node#attribute_value<Pointer(Void)>:(Slice(UInt8) | Nil) in L-exbor5858N-ode.o
  "_lxb_dom_element_first_attribute_noi", referenced from:
      _*Lexbor::Node#attributes:Hash(String, String) in L-exbor5858N-ode.o
  "_lxb_dom_element_next_attribute_noi", referenced from:
      _*Lexbor::Node#attributes:Hash(String, String) in L-exbor5858N-ode.o
  "_lxb_dom_node_first_child_noi", referenced from:
      _*Lexbor::Node#child:(Lexbor::Node | Nil) in L-exbor5858N-ode.o
  "_lxb_dom_node_next_noi", referenced from:
      _*Lexbor::Node#next:(Lexbor::Node | Nil) in L-exbor5858N-ode.o
  "_lxb_dom_node_parent_noi", referenced from:
      _*Lexbor::Node#parent:(Lexbor::Node | Nil) in L-exbor5858N-ode.o
  "_lxb_dom_node_tag_id_noi", referenced from:
      _*Lexbor::Node#tag_id:Lexbor::Lib::TagIdT in L-exbor5858N-ode.o
  "_lxb_dom_node_text_content", referenced from:
      _*Lexbor::Node#tag_text_slice:Slice(UInt8) in L-exbor5858N-ode.o
  "_lxb_html_document_create", referenced from:
      _*Lexbor::Parser#initialize:Bool in L-exbor5858P-arser.o
  "_lxb_html_document_destroy", referenced from:
      _*Lexbor::Parser#finalize:Nil in L-exbor5858P-arser.o
  "_lxb_html_document_parse", referenced from:
      _*Lexbor::Parser#parse<Slice(UInt8)>:Lexbor::Parser in L-exbor5858P-arser.o
  "_lxb_selectors_create", referenced from:
      _*Lexbor::CssFilter#initialize<String>:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_selectors_destroy", referenced from:
      _*Lexbor::CssFilter#free:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_selectors_find", referenced from:
      _*Lexbor::CssFilter#search_from<Lexbor::Node>:Lexbor::Iterator::Collection in L-exbor5858C-ssF-ilter.o
  "_lxb_selectors_init", referenced from:
      _*Lexbor::CssFilter#initialize<String>:Nil in L-exbor5858C-ssF-ilter.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Error: execution of command failed with code: 1: `cc "${@}" -o /Users/jptl/Desktop/router  -rdynamic -L/opt/crystal/embedded/lib  /Users/jptl/Desktop/router/lib/lexbor/src/lexbor/../ext/lexbor-c/build/liblexbor_static.a -lz `command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libssl || printf %s '-lssl -lcrypto'` `command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libcrypto || printf %s '-lcrypto'` -lpcre -lgc -lpthread -L/usr/local/Cellar/libevent/2.1.12/lib -levent -liconv -ldl

i am on macos big sur, i also tried this on the latest crystal but it still doesn't work.

kostya commented 2 years ago

probably not related to crystal, but lexbor-c not compiled. try:

https://github.com/kostya/lexbor.git
cd lexbor
make

and show output

pateljoel commented 2 years ago

here's the output:

cd src/ext && make package
git clone https://github.com/lexbor/lexbor.git ./lexbor-c
Cloning into './lexbor-c'...
remote: Enumerating objects: 6239, done.
remote: Counting objects: 100% (825/825), done.
remote: Compressing objects: 100% (532/532), done.
remote: Total 6239 (delta 408), reused 544 (delta 226), pack-reused 5414
Receiving objects: 100% (6239/6239), 4.44 MiB | 1.86 MiB/s, done.
Resolving deltas: 100% (4249/4249), done.
cd lexbor-c && git reset --hard fcff658c77199b81623178e5ab6be17d0d4e24c8
HEAD is now at fcff658 Merge pull request #125 from diracsbracket/casting
cd ./lexbor-c && mkdir -p build && sed '/GNUInstallDirs/d' ./CMakeLists.txt > ./CMakeLists.tmp.txt && mv ./CMakeLists.tmp.txt ./CMakeLists.txt && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release && make lexbor_static -j 4
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

-- Project name: lexbor
-- Build without Threads
-- Lexbor version: 2.1.0
-- The C compiler identification is AppleClang 13.0.0.13000029
-- The CXX compiler identification is AppleClang 13.0.0.13000029
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for ceil
-- Looking for ceil - found
-- Append module: core (1.4.0)
-- Append module: css (0.3.0)
-- Append module: dom (1.4.0)
-- Append module: encoding (2.0.1)
-- Append module: html (2.2.0)
-- Append module: ns (1.2.0)
-- Append module: selectors (0.1.0)
-- Append module: tag (1.2.0)
-- Append module: utils (0.3.0)
-- CFLAGS:  -O2 -Wall -pedantic -pipe -std=c99 -fPIC
-- CXXFLAGS:  -O2 
-- Feature ASAN: disable
-- Feature Fuzzer: disable
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/jptl/Desktop/router/lexbor/src/ext/lexbor-c/build
[  0%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/array.c.o
[  2%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/array_obj.c.o
[  2%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/avl.c.o
[  2%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/bst.c.o
[  2%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/conv.c.o
[  2%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/bst_map.c.o
[  4%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/diyfp.c.o
[  4%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/dobject.c.o
[  4%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/dtoa.c.o
[  4%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/hash.c.o
[  4%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/in.c.o
[  6%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/mem.c.o
[  6%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/mraw.c.o
[  6%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/plog.c.o
[  6%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/print.c.o
[  8%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/serialize.c.o
[  8%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/shs.c.o
[  8%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/str.c.o
[ 10%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/strtod.c.o
[ 10%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/utils.c.o
[ 10%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/ports/posix/lexbor/core/fs.c.o
[ 10%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/ports/posix/lexbor/core/memory.c.o
[ 12%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/ports/posix/lexbor/core/perf.c.o
[ 12%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/css/log.c.o
[ 12%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/css/parser.c.o
[ 12%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/css/selectors/pseudo.c.o
[ 14%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/css/selectors/pseudo_state.c.o
[ 14%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/css/selectors/selector.c.o
[ 14%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/css/selectors/selectors.c.o
[ 14%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/css/selectors/state.c.o
[ 16%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/css/syntax/anb.c.o
[ 16%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/css/syntax/parser.c.o
[ 16%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/css/syntax/state.c.o
[ 18%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/css/syntax/syntax.c.o
[ 18%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/css/syntax/token.c.o
[ 18%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/css/syntax/tokenizer.c.o
[ 18%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/css/syntax/tokenizer/error.c.o
[ 20%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/dom/collection.c.o
[ 20%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/dom/exception.c.o
[ 20%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/dom/interface.c.o
[ 20%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/dom/interfaces/attr.c.o
[ 22%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/dom/interfaces/cdata_section.c.o
[ 22%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/dom/interfaces/character_data.c.o
[ 22%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/dom/interfaces/comment.c.o
[ 22%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/dom/interfaces/document.c.o
[ 24%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/dom/interfaces/document_fragment.c.o
[ 24%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/dom/interfaces/document_type.c.o
[ 24%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/dom/interfaces/element.c.o
[ 26%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/dom/interfaces/event_target.c.o
[ 26%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/dom/interfaces/node.c.o
[ 26%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/dom/interfaces/processing_instruction.c.o
[ 26%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/dom/interfaces/shadow_root.c.o
[ 28%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/dom/interfaces/text.c.o
[ 28%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/encoding/big5.c.o
[ 28%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/encoding/decode.c.o
[ 28%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/encoding/encode.c.o
[ 30%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/encoding/encoding.c.o
[ 30%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/encoding/euc_kr.c.o
[ 30%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/encoding/gb18030.c.o
[ 30%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/encoding/iso_2022_jp_katakana.c.o
[ 32%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/encoding/jis0208.c.o
[ 32%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/encoding/jis0212.c.o
[ 32%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/encoding/range.c.o
[ 34%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/encoding/res.c.o
[ 34%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/encoding/single.c.o
[ 34%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/encoding.c.o
[ 34%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interface.c.o
[ 36%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/anchor_element.c.o
[ 36%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/area_element.c.o
[ 36%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/audio_element.c.o
[ 36%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/base_element.c.o
[ 38%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/body_element.c.o
[ 38%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/br_element.c.o
[ 38%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/button_element.c.o
[ 40%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/d_list_element.c.o
[ 40%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/canvas_element.c.o
[ 40%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/data_element.c.o
[ 40%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/data_list_element.c.o
[ 42%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/details_element.c.o
[ 42%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/dialog_element.c.o
[ 42%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/directory_element.c.o
[ 42%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/div_element.c.o
[ 44%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/document.c.o
[ 44%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/embed_element.c.o
[ 44%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/element.c.o
[ 44%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/field_set_element.c.o
[ 46%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/font_element.c.o
[ 46%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/form_element.c.o
[ 46%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/frame_element.c.o
[ 46%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/frame_set_element.c.o
[ 48%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/head_element.c.o
[ 48%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/heading_element.c.o
[ 48%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/hr_element.c.o
[ 50%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/html_element.c.o
[ 50%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/iframe_element.c.o
[ 50%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/input_element.c.o
[ 50%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/image_element.c.o
[ 52%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/label_element.c.o
[ 52%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/legend_element.c.o
[ 52%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/li_element.c.o
[ 52%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/link_element.c.o
[ 54%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/map_element.c.o
[ 54%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/media_element.c.o
[ 54%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/marquee_element.c.o
[ 54%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/menu_element.c.o
[ 56%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/meta_element.c.o
[ 56%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/meter_element.c.o
[ 56%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/o_list_element.c.o
[ 56%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/mod_element.c.o
[ 58%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/object_element.c.o
[ 60%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/opt_group_element.c.o
[ 60%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/option_element.c.o
[ 60%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/output_element.c.o
[ 60%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/paragraph_element.c.o
[ 62%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/param_element.c.o
[ 62%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/pre_element.c.o
[ 62%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/picture_element.c.o
[ 62%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/progress_element.c.o
[ 62%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/quote_element.c.o
[ 62%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/script_element.c.o
[ 64%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/select_element.c.o
[ 64%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/slot_element.c.o
[ 64%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/source_element.c.o
[ 64%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/span_element.c.o
[ 66%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/style_element.c.o
[ 66%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/table_caption_element.c.o
[ 66%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/table_element.c.o
[ 66%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/table_cell_element.c.o
[ 68%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/table_col_element.c.o
[ 68%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/table_row_element.c.o
[ 68%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/table_section_element.c.o
[ 70%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/text_area_element.c.o
[ 70%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/template_element.c.o
[ 70%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/time_element.c.o
[ 70%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/u_list_element.c.o
[ 70%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/title_element.c.o
[ 72%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/track_element.c.o
[ 72%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/unknown_element.c.o
[ 72%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/video_element.c.o
[ 74%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/window.c.o
[ 74%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/node.c.o
[ 74%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/parser.c.o
[ 76%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/serialize.c.o
[ 76%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/token.c.o
[ 76%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/token_attr.c.o
[ 76%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tokenizer.c.o
[ 76%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tokenizer/state.c.o
[ 78%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tokenizer/error.c.o
[ 78%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tokenizer/state_comment.c.o
[ 78%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tokenizer/state_doctype.c.o
[ 80%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tokenizer/state_rawtext.c.o
[ 80%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tokenizer/state_rcdata.c.o
[ 80%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tokenizer/state_script.c.o
[ 80%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree.c.o
[ 82%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/active_formatting.c.o
[ 82%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/error.c.o
[ 82%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/after_after_body.c.o
[ 84%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/after_after_frameset.c.o
[ 84%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/after_body.c.o
[ 84%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/after_frameset.c.o
[ 86%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/after_head.c.o
[ 86%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/before_head.c.o
[ 86%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/before_html.c.o
[ 86%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/foreign_content.c.o
[ 86%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/in_body.c.o
[ 88%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/in_caption.c.o
[ 88%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/in_cell.c.o
[ 88%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/in_column_group.c.o
[ 88%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/in_frameset.c.o
[ 90%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/in_head.c.o
[ 90%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/in_head_noscript.c.o
[ 90%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/in_row.c.o
[ 92%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/in_select.c.o
[ 92%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/in_select_in_table.c.o
[ 92%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/in_table.c.o
[ 92%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/in_table_body.c.o
[ 94%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/in_template.c.o
[ 94%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/in_table_text.c.o
[ 94%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/initial.c.o
[ 94%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/text.c.o
[ 96%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/open_elements.c.o
[ 96%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/template_insertion.c.o
[ 96%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/ns/ns.c.o
[ 96%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/selectors/selectors.c.o
[ 98%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/tag/tag.c.o
[ 98%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/utils/http.c.o
[ 98%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/utils/warc.c.o
[100%] Linking C static library liblexbor_static.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: liblexbor_static.a(perf.c.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: liblexbor_static.a(parser.c.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: liblexbor_static.a(template_insertion.c.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: liblexbor_static.a(perf.c.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: liblexbor_static.a(parser.c.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: liblexbor_static.a(template_insertion.c.o) has no symbols
[100%] Built target lexbor_static
kostya commented 2 years ago

and run crystal spec in that folder

pateljoel commented 2 years ago

here's the output:

ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(parser.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(selector.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(selectors.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(attr.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(document.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(node.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(encoding.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(document.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(encoding.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(node.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(serialize.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(token_attr.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(tokenizer.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(selectors.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(tag.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(array_obj.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(array.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(memory.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(dobject.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(hash.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(mraw.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(serialize.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(shs.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(str.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(log.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(state.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(pseudo_state.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(anb.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(token.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(tokenizer.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(cdata_section.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(character_data.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(document_fragment.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(interface.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(processing_instruction.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(encode.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(res.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(interface.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(parser.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(title_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(token.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(state.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(state_rawtext.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(state_rcdata.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(state_script.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(ns.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(bst.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(conv.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(mem.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(print.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(pseudo.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(state.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(comment.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(document_type.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(text.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(decode.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(big5.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(euc_kr.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(gb18030.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(jis0208.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(iso_2022_jp_katakana.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(range.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(single.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(anchor_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(area_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(audio_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(base_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(body_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(br_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(button_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(canvas_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(d_list_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(data_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(data_list_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(details_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(dialog_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(directory_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(div_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(embed_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(field_set_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(font_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(form_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(frame_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(frame_set_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(head_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(heading_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(hr_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(html_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(iframe_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(image_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(input_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(label_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(legend_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(li_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(link_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(map_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(marquee_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(menu_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(meta_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(meter_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(mod_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(o_list_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(object_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(opt_group_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(option_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(output_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(paragraph_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(param_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(picture_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(pre_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(progress_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(quote_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(script_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(select_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(slot_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(source_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(span_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(style_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(table_caption_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(table_cell_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(table_col_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(table_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(table_row_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(table_section_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(template_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(text_area_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(time_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(error.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(state_comment.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(state_doctype.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(track_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(tree.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(in_template.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(u_list_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(unknown_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(video_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(dtoa.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(strtod.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(syntax.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(error.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(jis0212.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(active_formatting.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(error.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(after_head.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(before_head.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(foreign_content.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(in_body.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(in_caption.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(in_cell.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(in_column_group.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(in_frameset.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(in_head.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(in_row.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(in_select.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(in_select_in_table.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(in_table.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(in_table_body.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(initial.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(text.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(open_elements.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(diyfp.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(after_body.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(after_frameset.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(before_html.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(in_head_noscript.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(in_table_text.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(after_after_body.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(after_after_frameset.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
.............................................................................................*............................................................................................................................................................................*..........................................................*................................................*..........*....

Pending:
  Lexbor::Utils::DetectEncoding find_encodings_in_meta assert
  Lexbor decode_html_entities
  Lexbor::Node self_closed?
  iterators left_iterator with another tree_options
  iterators collection iterator inspect

Finished in 622.18 milliseconds
390 examples, 0 failures, 0 errors, 5 pending
kostya commented 2 years ago

All specs passed, except warning all is ok. So it compiled ok. Probably you can try remove lib/ folder in your project and recompile shards. Also if still not work, you can also try copy this compiled file to your project src/ext/lexbor-c/build/liblexbor_static.a into similar path(in the lib/lexbor dir).

pateljoel commented 2 years ago

managed to solve problem. thanks