Skip to content

unknown symbol `if_nametoindex' #390

Description

@endgame

I'm having trouble using network-3.0.1.0 on Win10 Home 10.0.17134 Build 17134 on a student's machine.
I'm using Haskell Platform Core 8.2.2, and it fails with errors about "unknown symbol if_nametoindex".

It's possible that this is fixed in more recent versions of the Haskell Platform (more recent MinGW/MSYS?), but we are currently stuck with 8.2.2 for this iteration of the course (matching the installed GHC on lab machines).

Activity

  1. eborden commented on Mar 7, 2019

    @eborden
    Collaborator

    This has been documented elsewhere
    haskell/haskell-platform#318 (comment)
    #361

    I am currently working on test coverage here:
    https://github.com/haskell/network/tree/eborden/add-loopback-tests-for-if-index

    We will either add the necessary windows handling or disable this function for windows environments.

  2. eborden commented on Mar 9, 2019

    @eborden
    Collaborator

    This has been fixed on master and will go out in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions