Skip to content
Snippets Groups Projects
  1. Apr 27, 2022
  2. Apr 25, 2022
  3. Apr 16, 2022
  4. Apr 13, 2022
  5. Mar 20, 2022
  6. Mar 06, 2022
  7. Feb 23, 2022
  8. Feb 22, 2022
  9. Feb 21, 2022
  10. Feb 13, 2022
  11. Feb 01, 2022
  12. Jan 26, 2022
  13. Jan 13, 2022
  14. Jan 10, 2022
  15. Jan 02, 2022
    • Tomáš Pecka's avatar
      cmake: Link alib2cli with CMAKE_DL_LIBS · 30422956
      Tomáš Pecka authored and Tomáš Pecka's avatar Tomáš Pecka committed
      OpenSuse Leap package builds fail with undefined reference to dlclose
      and dlopen. The -ldl link flag is missing (see the error below).
      Let's fix that by adding the ${CMAKE_DL_LIBS} link target [1] to
      alib2cli.
      
       /usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: CMakeFiles/alib2cli.dir/src/common/LibraryLoader.cpp.o: in function `cli::LibraryLoader::Library::unload()':
       /build/pkg/build/pkgs/opensuse-leap-15.3/algorithms-library-snapshot-0.0.0.r1277.gf2a2ccf62-1/rpmbuild/BUILD/algorithms-library-v0.0.0.r1277.gf2a2ccf62/alib2cli/src/common/LibraryLoader.h:44: undefined reference to `dlclose'
       /usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /build/pkg/build/pkgs/opensuse-leap-15.3/algorithms-library-snapshot-0.0.0.r1277.gf2a2ccf62-1/rpmbuild/BUILD/algorithms-library-v0.0.0.r1277.gf2a2ccf62/alib2cli/src/common/LibraryLoader.h:44: undefined reference to `dlclose'
       /usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: CMakeFiles/alib2cli.dir/src/common/LibraryLoader.cpp.o: in function `cli::LibraryLoader::Library::load()':
       /build/pkg/build/pkgs/opensuse-leap-15.3/algorithms-library-snapshot-0.0.0.r1277.gf2a2ccf62-1/rpmbuild/BUILD/algorithms-library-v0.0.0.r1277.gf2a2ccf62/alib2cli/src/common/LibraryLoader.h:37: undefined reference to `dlopen'
       /usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /build/pkg/build/pkgs/opensuse-leap-15.3/algorithms-library-snapshot-0.0.0.r1277.gf2a2ccf62-1/rpmbuild/BUILD/algorithms-library-v0.0.0.r1277.gf2a2ccf62/alib2cli/src/common/LibraryLoader.h:39: undefined reference to `dlerror'
       collect2: error: ld returned 1 exit status
       make[2]: *** [alib2cli/CMakeFiles/alib2cli.dir/build.make:500: alib2cli/libalib2cli.so.0.0.0] Error 1
       make[1]: *** [CMakeFiles/Makefile2:1017: alib2cli/CMakeFiles/alib2cli.dir/all] Error 2
       make[1]: *** Waiting for unfinished jobs....
       make: *** [Makefile:150: all] Error 2
      
      [1] https://cmake.org/cmake/help/latest/variable/CMAKE_DL_LIBS.html
      30422956
  16. Dec 20, 2021
  17. Dec 03, 2021
  18. Nov 27, 2021
  19. Nov 26, 2021
  20. Nov 23, 2021
  21. Nov 21, 2021
  22. Nov 20, 2021
    • Tomáš Pecka's avatar
      abstraction: Use optional<string> instead of string for docs in registry · 2b471285
      Tomáš Pecka authored
      While working on webui, I have noticed that exports from
      automata-library contain for many algorithms documentation set to
      string "Documentation not available.". I traced the problem back to this
      project.
      
      I do not think "Documentation not available" is itself a valid
      documentation of an algorithm so I decided to replace the std::string
      that is supposed to hold documentation of an overload with an
      std::optional<std::string>. The semantics should now be clearer.
      Unverified
      2b471285
  23. Oct 15, 2021
Loading