<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:09:50 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-544] Can&apos;t compile with MinGW-w64</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-544</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;I can&apos;t compile mongo-c-driver 1.1.0 with MinGW w64.&lt;/p&gt;

&lt;p&gt;Steps to reproduce :&lt;/p&gt;

&lt;p&gt;1. Open a MSYS shell&lt;br/&gt;
2. Set the environment (for OpenSSL support)&lt;/p&gt;

&lt;p&gt;export CFLAGS=&quot;-IC:/Libs/amd64/libopenssl/include&quot;&lt;br/&gt;
export LDFLAGS=&quot;-LC:/Libs/amd64/libopenssl/lib&quot;&lt;/p&gt;

&lt;p&gt;3. Run configure and make&lt;/p&gt;

&lt;p&gt;./configure --prefix=C:/Libs/amd64/libmongo&lt;br/&gt;
make&lt;/p&gt;

&lt;p&gt;The error:&lt;/p&gt;

&lt;p&gt;Making all in src/libbson&lt;br/&gt;
make&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;: Entering directory `/c/mongo-c-driver-1.1.0/src/libbson&apos;&lt;br/&gt;
make&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;: Nothing to be done for `all&apos;.&lt;br/&gt;
make&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;: Leaving directory `/c/mongo-c-driver-1.1.0/src/libbson&apos;&lt;br/&gt;
make&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;: Entering directory `/c/mongo-c-driver-1.1.0&apos;&lt;br/&gt;
  CCLD     libmongoc-priv.la&lt;br/&gt;
libtool:   error: can&apos;t build i686-pc-mingw32 shared library unless -no-undefined is specified&lt;br/&gt;
make&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;libmongoc-priv.la&amp;#93;&lt;/span&gt; Error 1&lt;br/&gt;
make&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;: Leaving directory `/c/mongo-c-driver-1.1.0&apos;&lt;br/&gt;
make: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;all-recursive&amp;#93;&lt;/span&gt; Error 1&lt;/p&gt;</description>
                <environment>Windows 7, MinGW w64</environment>
        <key id="186333">CDRIVER-544</key>
            <summary>Can&apos;t compile with MinGW-w64</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</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="mira.carey@mongodb.com">Mira Carey</assignee>
                                    <reporter username="markand">Demelier David</reporter>
                        <labels>
                    </labels>
                <created>Thu, 26 Feb 2015 07:54:57 +0000</created>
                <updated>Fri, 13 Jan 2017 19:21:50 +0000</updated>
                            <resolved>Tue, 10 Mar 2015 19:24:26 +0000</resolved>
                                    <version>1.1.0</version>
                                    <fixVersion>1.1.2</fixVersion>
                                    <component>mingw</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="838780" author="markand" created="Fri, 27 Feb 2015 09:35:01 +0000"  >&lt;p&gt;Thank you very much for your quick answer!&lt;/p&gt;

&lt;p&gt;Just tested it this morning and it compiled fine under both 32-bit and 64-bit &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;.&lt;/p&gt;</comment>
                            <comment id="838357" author="jason.carey" created="Thu, 26 Feb 2015 20:35:15 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;Thanks for trying this out, I hadn&apos;t tested the mingw configuration in a while.&lt;/p&gt;

&lt;p&gt;I&apos;ve pushed a new master branch for libbson and libmongoc that fixes the build system problem you saw, as well as an unrelated bug that would have popped up eventually.&lt;/p&gt;

&lt;p&gt;One caveat: There also appear to be a number of warnings I haven&apos;t worked out how I want to quiet yet, but I think I&apos;ve covered all the actual errors floating around.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Jason&lt;/p&gt;</comment>
                    </comments>
                    <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|hrf7h3:</customfieldvalue>

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