Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unknown symbol `if_nametoindex' #390

Closed
endgame opened this issue Mar 7, 2019 · 2 comments
Closed

unknown symbol `if_nametoindex' #390

endgame opened this issue Mar 7, 2019 · 2 comments
Assignees
Labels

Comments

@endgame
Copy link
Contributor

endgame commented Mar 7, 2019

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).

@eborden
Copy link
Collaborator

eborden commented Mar 7, 2019

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.

@eborden
Copy link
Collaborator

eborden commented Mar 9, 2019

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
Labels
Projects
None yet
Development

No branches or pull requests

3 participants