<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic error: size of array ‘altStackMem’ is not an integral constant-express in Tools</title>
    <link>https://community.cisco.com/t5/tools/error-size-of-array-altstackmem-is-not-an-integral-constant/m-p/4555761#M1490</link>
    <description>&lt;P&gt;I get an error when trying to build core/ydk from source:&lt;/P&gt;&lt;PRE&gt;$ git clone https://github.com/CiscoDevNet/ydk-cpp.git

$ cd ydk-cpp

ydk-cpp]$ cd core/ydk

ydk]$ mkdir build &amp;amp;&amp;amp; cd build

build]$ cmake ..
-- The C compiler identification is GNU 11.2.1
-- The CXX compiler identification is GNU 11.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /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: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.12")
Set libyang plugin installation directory to: lib/libyang
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/rpmbuild/ydk-cpp/core/ydk/build

build]$ make&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error happens in tests, catch.hpp *size of array ‘altStackMem’ is not an integral constant-expression*:&lt;/P&gt;&lt;PRE&gt;[ 99%] Building CXX object tests/CMakeFiles/ydk_core_test.dir/main.cpp.o
In file included from /usr/include/signal.h:328,
                 from /home/rpmbuild/ydk-cpp/core/ydk/src/catch.hpp:6230,
                 from /home/rpmbuild/ydk-cpp/core/ydk/tests/main.cpp:5:
/home/rpmbuild/ydk-cpp/core/ydk/src/catch.hpp:6253:33: error: size of array ‘altStackMem’ is not an integral constant-expression
 6253 |         static char altStackMem[SIGSTKSZ];
      |                                 ^~~~~~~~
/home/rpmbuild/ydk-cpp/core/ydk/src/catch.hpp:6304:45: error: size of array ‘altStackMem’ is not an integral constant-expression
 6304 |     char FatalConditionHandler::altStackMem[SIGSTKSZ] = {};
      |                                             ^~~~~~~~
make[2]: *** [tests/CMakeFiles/ydk_core_test.dir/build.make:174: tests/CMakeFiles/ydk_core_test.dir/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:288: tests/CMakeFiles/ydk_core_test.dir/all] Error 2
make: *** [Makefile:166: all] Error 2&lt;/PRE&gt;&lt;P&gt;This issue was fixes in Fedora:&lt;/P&gt;&lt;P&gt;&lt;A href="https://src.fedoraproject.org/rpms/catch1/c/059104ba87494c0b5ebe16844ec190f253e51cac?branch=rawhide" target="_blank" rel="noopener"&gt;https://src.fedoraproject.org/rpms/catch1/c/059104ba87494c0b5ebe16844ec190f253e51cac?branch=rawhide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to fix this by using catch from the distribution, instead of the one bundled with ydk-cpp - this is the patch:&lt;/P&gt;&lt;PRE&gt;From 2040dc047892965306870828d9952ec351bc488b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Harald=20Jens=C3=A5s?= &amp;lt;hjensas@redhat.com&amp;gt;
Date: Sat, 19 Feb 2022 06:59:19 +0100
Subject: [PATCH 1/1] Fix non-constant SIGSTKSZ

Use catch from the distribution instead of the local copy.
---
 core/ydk/tests/bgptest.cpp                  | 2 +-
 core/ydk/tests/core_test.cpp                | 2 +-
 core/ydk/tests/main.cpp.in                  | 2 +-
 core/ydk/tests/test_capabilities_parser.cpp | 2 +-
 core/ydk/tests/test_codec.cpp               | 2 +-
 core/ydk/tests/test_entity.cpp              | 2 +-
 core/ydk/tests/test_value.cpp               | 2 +-
 core/ydk/tests/test_value_list.cpp          | 2 +-
 9 files changed, 9 insertions(+), 9 deletions(-)


diff --git a/core/ydk/tests/bgptest.cpp b/core/ydk/tests/bgptest.cpp
index 2889e365..256aec41 100644
--- a/core/ydk/tests/bgptest.cpp
+++ b/core/ydk/tests/bgptest.cpp
@@ -24,7 +24,7 @@
 #include &amp;lt;iostream&amp;gt;
 #include "../src/path_api.hpp"
 #include "config.hpp"
-#include "catch.hpp"
+#include &amp;lt;catch/catch.hpp&amp;gt;
 #include "mock_data.hpp"
 
 const char* m = "\
diff --git a/core/ydk/tests/core_test.cpp b/core/ydk/tests/core_test.cpp
index d5d18f72..11e3fa7d 100644
--- a/core/ydk/tests/core_test.cpp
+++ b/core/ydk/tests/core_test.cpp
@@ -26,7 +26,7 @@
 #include "../src/path_api.hpp"
 #include "../src/path/path_private.hpp"
 #include "config.hpp"
-#include "catch.hpp"
+#include &amp;lt;catch/catch.hpp&amp;gt;
 #include "common_utilities.hpp"
 
 TEST_CASE( "test_segmentalize"  )
diff --git a/core/ydk/tests/main.cpp.in b/core/ydk/tests/main.cpp.in
index 9230e719..ee65abb2 100644
--- a/core/ydk/tests/main.cpp.in
+++ b/core/ydk/tests/main.cpp.in
@@ -2,7 +2,7 @@
 #include &amp;lt;spdlog/spdlog.h&amp;gt;
 
 #define CATCH_CONFIG_RUNNER
-#include "catch.hpp"
+#include &amp;lt;catch/catch.hpp&amp;gt;
 
 const char* TEST_HOME = "@CMAKE_SOURCE_DIR@/tests/models";
 
diff --git a/core/ydk/tests/test_capabilities_parser.cpp b/core/ydk/tests/test_capabilities_parser.cpp
index 93322125..7c969fe0 100644
--- a/core/ydk/tests/test_capabilities_parser.cpp
+++ b/core/ydk/tests/test_capabilities_parser.cpp
@@ -29,7 +29,7 @@
 #include "../src/ietf_parser.hpp"
 #include "../src/path_api.hpp"
 #include "../src/opendaylight_parser.hpp"
-#include "catch.hpp"
+#include &amp;lt;catch/catch.hpp&amp;gt;
 
 using namespace ydk;
 using namespace std;
diff --git a/core/ydk/tests/test_codec.cpp b/core/ydk/tests/test_codec.cpp
index 733d786f..f2ca624d 100644
--- a/core/ydk/tests/test_codec.cpp
+++ b/core/ydk/tests/test_codec.cpp
@@ -27,7 +27,7 @@
 
 #include &amp;lt;iostream&amp;gt;
 
-#include "catch.hpp"
+#include &amp;lt;catch/catch.hpp&amp;gt;
 #include "config.hpp"
 #include "mock_data.hpp"
 
diff --git a/core/ydk/tests/test_entity.cpp b/core/ydk/tests/test_entity.cpp
index 08baf76f..a41d7eb1 100644
--- a/core/ydk/tests/test_entity.cpp
+++ b/core/ydk/tests/test_entity.cpp
@@ -27,7 +27,7 @@
 
 #include "../src/types.hpp"
 #include "../src/entity_util.hpp"
-#include "catch.hpp"
+#include &amp;lt;catch/catch.hpp&amp;gt;
 #include &amp;lt;iostream&amp;gt;
 
 using namespace ydk;
diff --git a/core/ydk/tests/test_value.cpp b/core/ydk/tests/test_value.cpp
index 3bb03f32..ea78e905 100644
--- a/core/ydk/tests/test_value.cpp
+++ b/core/ydk/tests/test_value.cpp
@@ -1,6 +1,6 @@
 #include "../src/types.hpp"
 #include "../src/errors.hpp"
-#include "catch.hpp"
+#include &amp;lt;catch/catch.hpp&amp;gt;
 #include &amp;lt;spdlog/spdlog.h&amp;gt;
 
 #include &amp;lt;iostream&amp;gt;
diff --git a/core/ydk/tests/test_value_list.cpp b/core/ydk/tests/test_value_list.cpp
index 2648d804..db7e13d4 100644
--- a/core/ydk/tests/test_value_list.cpp
+++ b/core/ydk/tests/test_value_list.cpp
@@ -1,7 +1,7 @@
 
 #include "../src/types.hpp"
 #include "../src/errors.hpp"
-#include "catch.hpp"
+#include &amp;lt;catch/catch.hpp&amp;gt;
 #include &amp;lt;iostream&amp;gt;
 
 using namespace ydk;
-- 
2.35.1&lt;/PRE&gt;</description>
    <pubDate>Sat, 19 Feb 2022 06:59:19 GMT</pubDate>
    <dc:creator>hjensas</dc:creator>
    <dc:date>2022-02-19T06:59:19Z</dc:date>
    <item>
      <title>error: size of array ‘altStackMem’ is not an integral constant-express</title>
      <link>https://community.cisco.com/t5/tools/error-size-of-array-altstackmem-is-not-an-integral-constant/m-p/4555761#M1490</link>
      <description>&lt;P&gt;I get an error when trying to build core/ydk from source:&lt;/P&gt;&lt;PRE&gt;$ git clone https://github.com/CiscoDevNet/ydk-cpp.git

$ cd ydk-cpp

ydk-cpp]$ cd core/ydk

ydk]$ mkdir build &amp;amp;&amp;amp; cd build

build]$ cmake ..
-- The C compiler identification is GNU 11.2.1
-- The CXX compiler identification is GNU 11.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /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: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.12")
Set libyang plugin installation directory to: lib/libyang
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/rpmbuild/ydk-cpp/core/ydk/build

build]$ make&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error happens in tests, catch.hpp *size of array ‘altStackMem’ is not an integral constant-expression*:&lt;/P&gt;&lt;PRE&gt;[ 99%] Building CXX object tests/CMakeFiles/ydk_core_test.dir/main.cpp.o
In file included from /usr/include/signal.h:328,
                 from /home/rpmbuild/ydk-cpp/core/ydk/src/catch.hpp:6230,
                 from /home/rpmbuild/ydk-cpp/core/ydk/tests/main.cpp:5:
/home/rpmbuild/ydk-cpp/core/ydk/src/catch.hpp:6253:33: error: size of array ‘altStackMem’ is not an integral constant-expression
 6253 |         static char altStackMem[SIGSTKSZ];
      |                                 ^~~~~~~~
/home/rpmbuild/ydk-cpp/core/ydk/src/catch.hpp:6304:45: error: size of array ‘altStackMem’ is not an integral constant-expression
 6304 |     char FatalConditionHandler::altStackMem[SIGSTKSZ] = {};
      |                                             ^~~~~~~~
make[2]: *** [tests/CMakeFiles/ydk_core_test.dir/build.make:174: tests/CMakeFiles/ydk_core_test.dir/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:288: tests/CMakeFiles/ydk_core_test.dir/all] Error 2
make: *** [Makefile:166: all] Error 2&lt;/PRE&gt;&lt;P&gt;This issue was fixes in Fedora:&lt;/P&gt;&lt;P&gt;&lt;A href="https://src.fedoraproject.org/rpms/catch1/c/059104ba87494c0b5ebe16844ec190f253e51cac?branch=rawhide" target="_blank" rel="noopener"&gt;https://src.fedoraproject.org/rpms/catch1/c/059104ba87494c0b5ebe16844ec190f253e51cac?branch=rawhide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to fix this by using catch from the distribution, instead of the one bundled with ydk-cpp - this is the patch:&lt;/P&gt;&lt;PRE&gt;From 2040dc047892965306870828d9952ec351bc488b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Harald=20Jens=C3=A5s?= &amp;lt;hjensas@redhat.com&amp;gt;
Date: Sat, 19 Feb 2022 06:59:19 +0100
Subject: [PATCH 1/1] Fix non-constant SIGSTKSZ

Use catch from the distribution instead of the local copy.
---
 core/ydk/tests/bgptest.cpp                  | 2 +-
 core/ydk/tests/core_test.cpp                | 2 +-
 core/ydk/tests/main.cpp.in                  | 2 +-
 core/ydk/tests/test_capabilities_parser.cpp | 2 +-
 core/ydk/tests/test_codec.cpp               | 2 +-
 core/ydk/tests/test_entity.cpp              | 2 +-
 core/ydk/tests/test_value.cpp               | 2 +-
 core/ydk/tests/test_value_list.cpp          | 2 +-
 9 files changed, 9 insertions(+), 9 deletions(-)


diff --git a/core/ydk/tests/bgptest.cpp b/core/ydk/tests/bgptest.cpp
index 2889e365..256aec41 100644
--- a/core/ydk/tests/bgptest.cpp
+++ b/core/ydk/tests/bgptest.cpp
@@ -24,7 +24,7 @@
 #include &amp;lt;iostream&amp;gt;
 #include "../src/path_api.hpp"
 #include "config.hpp"
-#include "catch.hpp"
+#include &amp;lt;catch/catch.hpp&amp;gt;
 #include "mock_data.hpp"
 
 const char* m = "\
diff --git a/core/ydk/tests/core_test.cpp b/core/ydk/tests/core_test.cpp
index d5d18f72..11e3fa7d 100644
--- a/core/ydk/tests/core_test.cpp
+++ b/core/ydk/tests/core_test.cpp
@@ -26,7 +26,7 @@
 #include "../src/path_api.hpp"
 #include "../src/path/path_private.hpp"
 #include "config.hpp"
-#include "catch.hpp"
+#include &amp;lt;catch/catch.hpp&amp;gt;
 #include "common_utilities.hpp"
 
 TEST_CASE( "test_segmentalize"  )
diff --git a/core/ydk/tests/main.cpp.in b/core/ydk/tests/main.cpp.in
index 9230e719..ee65abb2 100644
--- a/core/ydk/tests/main.cpp.in
+++ b/core/ydk/tests/main.cpp.in
@@ -2,7 +2,7 @@
 #include &amp;lt;spdlog/spdlog.h&amp;gt;
 
 #define CATCH_CONFIG_RUNNER
-#include "catch.hpp"
+#include &amp;lt;catch/catch.hpp&amp;gt;
 
 const char* TEST_HOME = "@CMAKE_SOURCE_DIR@/tests/models";
 
diff --git a/core/ydk/tests/test_capabilities_parser.cpp b/core/ydk/tests/test_capabilities_parser.cpp
index 93322125..7c969fe0 100644
--- a/core/ydk/tests/test_capabilities_parser.cpp
+++ b/core/ydk/tests/test_capabilities_parser.cpp
@@ -29,7 +29,7 @@
 #include "../src/ietf_parser.hpp"
 #include "../src/path_api.hpp"
 #include "../src/opendaylight_parser.hpp"
-#include "catch.hpp"
+#include &amp;lt;catch/catch.hpp&amp;gt;
 
 using namespace ydk;
 using namespace std;
diff --git a/core/ydk/tests/test_codec.cpp b/core/ydk/tests/test_codec.cpp
index 733d786f..f2ca624d 100644
--- a/core/ydk/tests/test_codec.cpp
+++ b/core/ydk/tests/test_codec.cpp
@@ -27,7 +27,7 @@
 
 #include &amp;lt;iostream&amp;gt;
 
-#include "catch.hpp"
+#include &amp;lt;catch/catch.hpp&amp;gt;
 #include "config.hpp"
 #include "mock_data.hpp"
 
diff --git a/core/ydk/tests/test_entity.cpp b/core/ydk/tests/test_entity.cpp
index 08baf76f..a41d7eb1 100644
--- a/core/ydk/tests/test_entity.cpp
+++ b/core/ydk/tests/test_entity.cpp
@@ -27,7 +27,7 @@
 
 #include "../src/types.hpp"
 #include "../src/entity_util.hpp"
-#include "catch.hpp"
+#include &amp;lt;catch/catch.hpp&amp;gt;
 #include &amp;lt;iostream&amp;gt;
 
 using namespace ydk;
diff --git a/core/ydk/tests/test_value.cpp b/core/ydk/tests/test_value.cpp
index 3bb03f32..ea78e905 100644
--- a/core/ydk/tests/test_value.cpp
+++ b/core/ydk/tests/test_value.cpp
@@ -1,6 +1,6 @@
 #include "../src/types.hpp"
 #include "../src/errors.hpp"
-#include "catch.hpp"
+#include &amp;lt;catch/catch.hpp&amp;gt;
 #include &amp;lt;spdlog/spdlog.h&amp;gt;
 
 #include &amp;lt;iostream&amp;gt;
diff --git a/core/ydk/tests/test_value_list.cpp b/core/ydk/tests/test_value_list.cpp
index 2648d804..db7e13d4 100644
--- a/core/ydk/tests/test_value_list.cpp
+++ b/core/ydk/tests/test_value_list.cpp
@@ -1,7 +1,7 @@
 
 #include "../src/types.hpp"
 #include "../src/errors.hpp"
-#include "catch.hpp"
+#include &amp;lt;catch/catch.hpp&amp;gt;
 #include &amp;lt;iostream&amp;gt;
 
 using namespace ydk;
-- 
2.35.1&lt;/PRE&gt;</description>
      <pubDate>Sat, 19 Feb 2022 06:59:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/error-size-of-array-altstackmem-is-not-an-integral-constant/m-p/4555761#M1490</guid>
      <dc:creator>hjensas</dc:creator>
      <dc:date>2022-02-19T06:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: error: size of array ‘altStackMem’ is not an integral constant-exp</title>
      <link>https://community.cisco.com/t5/tools/error-size-of-array-altstackmem-is-not-an-integral-constant/m-p/4555961#M1491</link>
      <description>&lt;P&gt;Could you please describe your platform, I mean Linux distribution, version etc.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Yan&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Feb 2022 17:22:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/error-size-of-array-altstackmem-is-not-an-integral-constant/m-p/4555961#M1491</guid>
      <dc:creator>ygorelik</dc:creator>
      <dc:date>2022-02-19T17:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: error: size of array ‘altStackMem’ is not an integral constant-exp</title>
      <link>https://community.cisco.com/t5/tools/error-size-of-array-altstackmem-is-not-an-integral-constant/m-p/4556328#M1492</link>
      <description>&lt;P&gt;Hi Yan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running Fedora release 35 (Thirty Five), I understand from the readme on &lt;A href="https://github.com/CiscoDevNet/ydk-cpp" target="_self"&gt;https://github.com/CiscoDevNet/ydk-cpp&lt;/A&gt; that this is potentially not a supported release. I tried using the RPM package from Cisco artifactory (&lt;A title="libydk-0.8.5-1.x86_64.rpm" href="https://devhub.cisco.com/artifactory/rpm-ydk/0.8.5/libydk-0.8.5-1.x86_64.rpm" target="_self"&gt;libydk-0.8.5-1.x86_64.rpm&lt;/A&gt;) but this did not work, so I went down the route of creating my own RPM spec file to get the core library compiled and linked against the system libraries.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is some information from the system, kernel version and package versions for the dependencies listed here &lt;A href="https://github.com/CiscoDevNet/ydk-cpp#centos-7x-fedora-based" target="_self"&gt;https://github.com/CiscoDevNet/ydk-cpp#centos-7x-fedora-based&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$ uname -a
Linux hypervisor.lab.example.com 5.16.8-200.fc35.x86_64 #1 SMP PREEMPT Tue Feb 8 20:58:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
&lt;BR /&gt;$ rpm -q catch1-devel
catch1-devel-1.12.2-9.fc35.x86_64&lt;BR /&gt;&lt;BR /&gt;$ rpm -q libxml2-devel libxslt-devel libssh-devel libtool gcc-c++ pcre-devel cmake python3-devel&lt;BR /&gt;libxml2-devel-2.9.12-6.fc35.x86_64&lt;BR /&gt;libxslt-devel-1.1.34-6.fc35.x86_64&lt;BR /&gt;libssh-devel-0.9.6-1.fc35.x86_64&lt;BR /&gt;libtool-2.4.6-42.fc35.x86_64&lt;BR /&gt;gcc-c++-11.2.1-9.fc35.x86_64&lt;BR /&gt;pcre-devel-8.45-1.fc35.x86_64&lt;BR /&gt;cmake-3.22.2-1.fc35.x86_64&lt;BR /&gt;python3-devel-3.10.2-1.fc35.x86_64&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another thing I notice while building an RPM package for Fedora 35 is that libydk is statically linked. Is there a reason for this?&lt;/P&gt;&lt;P&gt;Static libraries should be packaged in a separate -static package, and is discouraged in packaging guidelines, see: &lt;A href="https://docs.fedoraproject.org/en-US/packaging-guidelines/#packaging-static-libraries" target="_blank"&gt;https://docs.fedoraproject.org/en-US/packaging-guidelines/#packaging-static-libraries&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I decided to put a patch in my RPM for this as well. I guess I'll find out if this cause problems later ...&lt;/P&gt;&lt;LI-CODE lang="c"&gt;From a7d4c5d85e7357001ca026668585290c5342a657 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Harald=20Jens=C3=A5s?= &amp;lt;hjensas@redhat.com&amp;gt;
Date: Mon, 21 Feb 2022 15:40:40 +0100
Subject: [PATCH 1/1] Build libydk as shared instead of static

---
 core/ydk/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/ydk/CMakeLists.txt b/core/ydk/CMakeLists.txt
index 51ee415c..785ea114 100644
--- a/core/ydk/CMakeLists.txt
+++ b/core/ydk/CMakeLists.txt
@@ -450,7 +450,7 @@ include_directories(
 
 set(CMAKE_POSITION_INDEPENDENT_CODE ON)
 
-add_library(ydk STATIC ${libydk_src} ${libnetconf_inc_objs} ${libyang_inc_objs})
+add_library(ydk SHARED ${libydk_src} ${libnetconf_inc_objs} ${libyang_inc_objs})
 
 target_link_libraries(ydk
     ${LIBXML2_LIBRARIES}
-- 
2.35.1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Harald&lt;/P&gt;</description>
      <pubDate>Mon, 21 Feb 2022 15:10:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/error-size-of-array-altstackmem-is-not-an-integral-constant/m-p/4556328#M1492</guid>
      <dc:creator>hjensas</dc:creator>
      <dc:date>2022-02-21T15:10:06Z</dc:date>
    </item>
  </channel>
</rss>

