Skip to content

in6addr_any missing from HPE NonStop NSE #2146

Closed
@rsbeckerca

Description

@rsbeckerca

I found a compile problem in the test suite for curl 7.57.0 (may be old as this is the first time we're trying to build with IPv6 enabled. I have a patch for this that I can provide in a pull request if desired, although the in6.h and in6addr_any may be distinct issues making the patch not entirely perfect.

I did this

When building curl on NSK-TANDEM-NSE, the definition in6addr_any is not found in in.h. In addition, IPv6 is defined in in6.h on this platform, which did not seem to be an issue for the main curl build.

    struct sockaddr_in6  sa6;
                         ^
"/home/git/curl/tests/server/server_sockaddr.h", line 34: error(163):
          incomplete type is not allowed


      me.sa6.sin6_addr = in6addr_any;
                         ^
"/home/git/curl/tests/server/rtspd.c", line 1321: error(114): identifier
          "in6addr_any" is undefined

I expected the following

Clean compile - rather obviously.

curl/libcurl version

7.57.0 (nse-tandem-nsk) libcurl/7.57.0 OpenSSL/1.0.2m zlib/1.2.8
Release-Date: [unreleased]
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: NTLM NTLM_WB SSL libz TLS-SRP UnixSockets HTTPS-proxy

operating system

HPE NonStop J06.20

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions