Skip to content

AF_LOCAL does not exist on Solaris #4328

Closed

Description

@dago

When building the latest curl 7.66.0 on Solaris 10 the build fails with

gmake[2]: Entering directory '/home/dam/mgar/pkg/curl/trunk/work/solaris10-sparc/build-isa-sparcv8plus-features-minimal/curl-7.66.0/lib'
  CC       libcurl_la-asyn-thread.lo
"asyn-thread.c", line 248: undefined symbol: AF_LOCAL
cc: acomp failed for asyn-thread.c

This is because AF_LOCAL does not exist on Solaris. As a suggested workaround AF_UNIX could be used.

Activity

  1. dago commented on Sep 11, 2019

    @dago
    ContributorAuthor

    I wonder why this did not pop up on the continuous build environment.

  2. bagder commented on Sep 11, 2019

    @bagder
    Member

    why this did not pop up on the continuous build environment

    That's indeed a mystery!

    So does it work for you if we simply use AF_UNIX there instead?

  3. added a commit that references this issue on Sep 11, 2019
    99bbe06
  4. dago commented on Sep 12, 2019

    @dago
    ContributorAuthor

    Yes, this seems to work and the compilation and testsuite passes.

  5. bagder commented on Sep 12, 2019

    @bagder
    Member

    Thanks!

  6. locked as resolved and limited conversation to collaborators on Dec 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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