<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:14:06 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CDRIVER-2079] Link error due to undefined reference to `assert&apos;</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-2079</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;I&apos;m not sure what changed in my system, because about two months ago, I built the C driver from source without problems. &lt;/p&gt;

&lt;p&gt;But after a pull and/or a fresh clone of the master branch, and several versions checked out, using cmake build, I get the following error:&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;libmongoc-1.0.so.1.7.0-dev: undefined reference to `assert&apos;&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;collect2: error: ld returned 1 exit status&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;There were some files with the following warning:&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;warning: implicit declaration of function &#8216;assert&#8217; [-Wimplicit-function-declaration]&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;


&lt;p&gt;Solution, if this is really an issue, is to include &lt;tt&gt;&amp;lt;assert.h&amp;gt;&lt;/tt&gt; in the affected files. &lt;a href=&quot;https://github.com/beta-robots/mongo-c-driver/commit/8e1b6eca70010ed8c9ed5fec2fe4ef3639b11520&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;This commit&lt;/a&gt; in facts shows the diff that works for me.&lt;/p&gt;

&lt;p&gt;Btw, I&apos;m building libbson from source as well.&lt;/p&gt;

&lt;p&gt;Best&lt;/p&gt;</description>
                <environment>Ubuntu 16.04, Desktop</environment>
        <key id="362275">CDRIVER-2079</key>
            <summary>Link error due to undefined reference to `assert&apos;</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="5" iconUrl="https://jira.mongodb.org/images/icons/priorities/trivial.svg">Trivial - P5</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="bjori">Hannes Magnusson</assignee>
                                    <reporter username="carlos@beta-robots.com">Carlos Rosales Gallegos</reporter>
                        <labels>
                    </labels>
                <created>Tue, 7 Mar 2017 20:50:30 +0000</created>
                <updated>Thu, 6 Apr 2023 21:34:21 +0000</updated>
                            <resolved>Tue, 14 Mar 2017 21:11:51 +0000</resolved>
                                                    <fixVersion>1.7.0</fixVersion>
                                    <component>Build</component>
                    <component>errors</component>
                    <component>libmongoc</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1524032" author="bjori" created="Tue, 14 Mar 2017 21:11:51 +0000"  >&lt;p&gt;thanks for confirming!&lt;/p&gt;</comment>
                            <comment id="1523997" author="carlos@beta-robots.com" created="Tue, 14 Mar 2017 20:52:21 +0000"  >&lt;p&gt;Whops, I can&apos;t close it or mark it as resolved, first time in JIRA&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;</comment>
                            <comment id="1523993" author="carlos@beta-robots.com" created="Tue, 14 Mar 2017 20:50:30 +0000"  >&lt;p&gt;Yes, the compilation works perfectly now, issue solved in `master`, thanks!&lt;/p&gt;

&lt;p&gt;Closing it.&lt;/p&gt;</comment>
                            <comment id="1523714" author="bjori" created="Tue, 14 Mar 2017 16:34:54 +0000"  >&lt;p&gt;Can you try current master?&lt;br/&gt;
I had related un-committed changes a while ago that I pushed yesterday, see &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2005&quot; title=&quot;release-compile task on Evergreen Windows variants builds debug version of driver&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2005&quot;&gt;&lt;del&gt;CDRIVER-2005&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1520967" author="jesse" created="Fri, 10 Mar 2017 14:20:16 +0000"  >&lt;p&gt;Thanks for the report and the diff, we&apos;ll handle this in the next release.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="349958">CDRIVER-2005</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hswcef:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>