Boost C++ Libraries: Ticket #12516: Missing boost::serialization::array_wrapper in built serialization binary https://svn.boost.org/trac10/ticket/12516 <p> When building code that links against libboost_serialization with the intel compiler I receive a link error saying </p> <pre class="wiki">undefined reference to `boost::serialization::array_wrapper&lt;unsigned long&gt; const boost::serialization::make_array&lt;unsigned long&gt;(unsigned long*, unsigned long) </pre><p> This bug is affecting also Boost MPI, that exploits Boost Serialization.<br /> The bug is not present into Boost 1.59.0. I've not tried Boost 1.62.0.<br /> <br /> Some more details:<br /> <br /> <strong>OS:</strong> CentOS6<br /> <strong>Compiler:</strong><br /> Intel 16, over gcc 4.9.2 (tried building with both -std=c++11 or -std=c++14).<br /> Tried also with Intel 13, over gcc 4.8.5 (-std=c++11) and the issue is the same. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12516 Trac 1.4.3 Robert Ramey Tue, 01 Nov 2016 22:00:15 GMT <link>https://svn.boost.org/trac10/ticket/12516#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12516#comment:1</guid> <description> <p> how about a small example which provokes the error </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Robert Ramey</dc:creator> <pubDate>Wed, 02 Nov 2016 19:26:07 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/12516#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12516#comment:2</guid> <description> <p> never mind - I see that the intel test on the test matrix is failing for this very reason. Better yet, I know what's causing it. I'll try to fix this soon. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Robert Ramey</dc:creator> <pubDate>Wed, 02 Nov 2016 22:42:01 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/12516#comment:3 https://svn.boost.org/trac10/ticket/12516#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> I've checked in a changed to the develop branch which I believe will address this </p> Ticket michele.de.stefano@… Thu, 03 Nov 2016 07:13:35 GMT <link>https://svn.boost.org/trac10/ticket/12516#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12516#comment:4</guid> <description> <p> Thanks Robert.<br /> <br /> I'm sorry but I was having this issue on proprietary code and I would have to write another source reproducing the error for being able to share it with you. I did not have the time to do this yesterday.<br /> <br /> I'm glad you managed to find the cause of the issue on your own anyway.<br /> <br /> Thanks again.<br /> Best regards.<br /> <br /> Michele De Stefano </p> </description> <category>Ticket</category> </item> <item> <author>Chuckles <coder.chuckles@…></author> <pubDate>Wed, 11 Jan 2017 20:46:16 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/12516#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12516#comment:5</guid> <description> <p> Has this fix been included in 1.63.0? I do not see it in the release notes and still experience a serialization error with 1.63.0. Thank you. </p> </description> <category>Ticket</category> </item> <item> <author>Charlie <coder.chuckles@…></author> <pubDate>Tue, 24 Jan 2017 22:46:40 GMT</pubDate> <title>status, version, milestone changed; resolution deleted https://svn.boost.org/trac10/ticket/12516#comment:6 https://svn.boost.org/trac10/ticket/12516#comment:6 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>version</strong> <span class="trac-field-old">Boost 1.61.0</span> → <span class="trac-field-new">Boost 1.63.0</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.63.0</span> → <span class="trac-field-new">To Be Determined</span> </li> </ul> <p> Has this fix been included in 1.63.0? I do not see it in the release notes and still experience a serialization error with 1.63.0. Thank you. </p> Ticket Robert Ramey Fri, 03 Feb 2017 23:41:52 GMT <link>https://svn.boost.org/trac10/ticket/12516#comment:7 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12516#comment:7</guid> <description> <p> I believe that this is fixed now in the develop branch. Should be in the next boost release. Feel free to check the develop branch and report back. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Mon, 13 Feb 2017 18:42:59 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/12516#comment:8 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12516#comment:8</guid> <description> <p> I can confirm that I get this error in Boost 1.63.0 as well as 1.62.0. </p> <p> 1.60.0 seems to be fine. </p> </description> <category>Ticket</category> </item> <item> <author>maxime.boissonneault@…</author> <pubDate>Mon, 13 Feb 2017 18:43:26 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/12516#comment:9 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12516#comment:9</guid> <description> <p> Should have signed my comment... </p> </description> <category>Ticket</category> </item> <item> <author>jason.tong@…</author> <pubDate>Wed, 19 Apr 2017 22:05:20 GMT</pubDate> <title>version changed https://svn.boost.org/trac10/ticket/12516#comment:10 https://svn.boost.org/trac10/ticket/12516#comment:10 <ul> <li><strong>version</strong> <span class="trac-field-old">Boost 1.63.0</span> → <span class="trac-field-new">Boost Development Trunk</span> </li> </ul> <p> Hello everyone: </p> <p> I can also confirm that this error exists while compiling with gcc493 using the boost code from the git develop branch. </p> <p> boost/numeric/ublas/storage.hpp:494:18: error: 'make_array' is not a member of 'boost::serialization' </p> <blockquote> <p> ar &amp; serialization::make_array(data_, s); </p> </blockquote> <p> Thanks </p> Ticket benjamin.bihler@… Thu, 20 Apr 2017 14:05:03 GMT <link>https://svn.boost.org/trac10/ticket/12516#comment:11 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12516#comment:11</guid> <description> <p> I am using odeint and I have tried switching from Boost 1.63.0 to Boost 1.64.0. My previously compilable code now doesn't compile anymore when using MinGW-w64 with g++ 5.2.0. The compilation error reads: </p> <p> In file included from D:\boost_1_64_0/boost/numeric/ublas/vector.hpp:21:0, </p> <blockquote> <p> from D:\boost_1_64_0/boost/numeric/odeint/util/ublas_wrapper.hpp:23, from D:\boost_1_64_0/boost/numeric/odeint.hpp:25, from ..\src/Geodesics/GeodesicSolver.h:20, from ..\src\Geodesics\<a class="missing wiki">BoundaryConditions</a>\<a class="missing wiki">WireStopCondition</a>.cpp:12: </p> </blockquote> <p> D:\boost_1_64_0/boost/numeric/ublas/storage.hpp: In member function 'void boost::numeric::ublas::unbounded_array&lt;T, ALLOC&gt;::serialize(Archive&amp;, unsigned int)': D:\boost_1_64_0/boost/numeric/ublas/storage.hpp:299:18: error: 'make_array' is not a member of 'boost::serialization' </p> <blockquote> <p> ar &amp; serialization::make_array(data_, s); </p> </blockquote> </description> <category>Ticket</category> </item> <item> <author>bb@…</author> <pubDate>Sat, 22 Apr 2017 10:57:07 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/12516#comment:12 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12516#comment:12</guid> <description> <p> Just to add to this, using Boost 1.64.0, Apple's clang-800.0.42.1 (Apple LLVM version 8.0.0, x86_64-apple-darwin15.6.0) reports: </p> <p> …/numeric/ublas/storage.hpp:299:33: No member named 'make_array' in namespace 'boost::serialization' …/numeric/ublas/storage.hpp:494:33: No member named 'make_array' in namespace 'boost::serialization' …/numeric/ublas/matrix.hpp:5977:33: No member named 'make_array' in namespace 'boost::serialization' </p> <p> The "include stack": …In file included from …/numeric/odeint/stepper/runge_kutta_dopri5.hpp:28: #include &lt;boost/numeric/odeint/stepper/runge_kutta_dopri5.hpp&gt; #include &lt;boost/numeric/odeint/algebra/algebra_dispatcher.hpp&gt; #include &lt;boost/numeric/ublas/vector.hpp&gt; #include &lt;boost/numeric/ublas/storage.hpp&gt; </p> <p> The whole code still compiles fine using Boost 1.63.0 </p> <p> If there are other things I can report or analyze to be of any help, please let me know! </p> <p> Best regards, BB </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Fri, 05 May 2017 19:32:29 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/12516#comment:13 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12516#comment:13</guid> <description> <p> I also see the error in numeric/ublas/storage.hpp on Linux, GCC 4.8.2. No problems with 1.63. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Wed, 10 May 2017 20:56:08 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/12516#comment:14 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12516#comment:14</guid> <description> <p> I confirm that the error in storage.hpp still exists in 1.64.0 and can be reproduced on GCC 4.8.5 on Linux Mint 17 </p> </description> <category>Ticket</category> </item> <item> <author>dmitry.rojkov@…</author> <pubDate>Mon, 15 May 2017 11:40:49 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/12516#comment:15 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12516#comment:15</guid> <description> <p> This is the fix missing in the v1.64 release for the "'make_array' is not a member of 'boost::serialization'" error </p> <p> <a class="ext-link" href="https://github.com/boostorg/serialization/commit/1d86261581230e2dc5d617a9b16287d326f3e229"><span class="icon">​</span>https://github.com/boostorg/serialization/commit/1d86261581230e2dc5d617a9b16287d326f3e229</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Mon, 15 May 2017 14:32:05 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/12516#comment:16 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12516#comment:16</guid> <description> <p> This seems to work: there are no compilation error anymore (while the functionality of the executable code still seems to be the same). Thank you! </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Thu, 01 Jun 2017 05:31:50 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/12516#comment:17 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12516#comment:17</guid> <description> <p> No compilation error for me either. Thanks! </p> </description> <category>Ticket</category> </item> </channel> </rss>