<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:15:59 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-2674] Errors on mongo-c-driver-0.8 on make</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-2674</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;We require to have driver version 0.8 in our projects but while installing it there are errors coming in env.c file as below. Please let me know how can we fix this?&lt;/p&gt;

&lt;p&gt;cc -o src/env.os -c -std=c99 -pedantic -O3 -Wall -ggdb -D_POSIX_SOURCE -DMONGO_HAVE_STDINT -fPIC -DMONGO_DLL_BUILD src/env.c&lt;br/&gt;
src/env.c: In function &#8216;mongo_env_socket_connect&#8217;:&lt;br/&gt;
src/env.c:318:21: error: storage size of &#8216;ai_hints&#8217; isn&#8217;t known&lt;br/&gt;
 struct addrinfo ai_hints;&lt;br/&gt;
 ^&lt;br/&gt;
src/env.c:339:14: warning: implicit declaration of function &#8216;getaddrinfo&#8217; &lt;span class=&quot;error&quot;&gt;&amp;#91;-Wimplicit-function-declaration&amp;#93;&lt;/span&gt;&lt;br/&gt;
 status = getaddrinfo( host, port_str, &amp;amp;ai_hints, &amp;amp;ai_list );&lt;br/&gt;
 ^&lt;br/&gt;
src/env.c:341:51: warning: implicit declaration of function &#8216;gai_strerror&#8217; &lt;span class=&quot;error&quot;&gt;&amp;#91;-Wimplicit-function-declaration&amp;#93;&lt;/span&gt;&lt;br/&gt;
 bson_errprintf( &quot;getaddrinfo failed: %s&quot;, gai_strerror( status ) );&lt;br/&gt;
 ^&lt;br/&gt;
src/env.c:346:60: error: dereferencing pointer to incomplete type &#8216;struct addrinfo&#8217;&lt;br/&gt;
 for ( ai_ptr = ai_list; ai_ptr != NULL; ai_ptr = ai_ptr-&amp;gt;ai_next ) {&lt;br/&gt;
 ^&lt;br/&gt;
src/env.c:379:5: warning: implicit declaration of function &#8216;freeaddrinfo&#8217; &lt;span class=&quot;error&quot;&gt;&amp;#91;-Wimplicit-function-declaration&amp;#93;&lt;/span&gt;&lt;br/&gt;
 freeaddrinfo( ai_list );&lt;br/&gt;
 ^&lt;br/&gt;
src/env.c:318:21: warning: unused variable &#8216;ai_hints&#8217; &lt;span class=&quot;error&quot;&gt;&amp;#91;-Wunused-variable&amp;#93;&lt;/span&gt;&lt;br/&gt;
 struct addrinfo ai_hints;&lt;br/&gt;
 ^&lt;br/&gt;
Makefile:216: recipe for target &apos;src/env.os&apos; failed&lt;br/&gt;
make: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;src/env.os&amp;#93;&lt;/span&gt; Error 1&lt;/p&gt;</description>
                <environment>Ubuntu 16.04 Debian</environment>
        <key id="551130">CDRIVER-2674</key>
            <summary>Errors on mongo-c-driver-0.8 on make</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.mongodb.org/images/icons/priorities/blocker.svg">Blocker - P1</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="jesse@mongodb.com">A. Jesse Jiryu Davis</assignee>
                                    <reporter username="devang1">Ankit</reporter>
                        <labels>
                    </labels>
                <created>Wed, 30 May 2018 13:09:29 +0000</created>
                <updated>Wed, 30 May 2018 14:46:39 +0000</updated>
                            <resolved>Wed, 30 May 2018 14:46:39 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1904611" author="jesse" created="Wed, 30 May 2018 14:46:28 +0000"  >&lt;p&gt;Hi, version 0.8 hasn&apos;t been supported for several years. Please upgrade to the latest MongoDB C Driver which is version 1.10.0. The latest driver requires CMake to build, please see the installation instructions here:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://mongoc.org/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://mongoc.org/&lt;/a&gt;&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|htq8on:</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>