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 `expm1' (windows) #49

Closed
Jaxan opened this issue Jul 27, 2016 · 8 comments
Closed

unknown symbol `expm1' (windows) #49

Jaxan opened this issue Jul 27, 2016 · 8 comments
Labels

Comments

@Jaxan
Copy link

Jaxan commented Jul 27, 2016

Hi!

I was installing random-fu which depends on your library and got the following error message:

[...]
ghc.exe: unable to load package `math-functions-0.2.0.1'
ghc.exe: C:\Users\joshua\Documents\PhD\Code\FSMs\.cabal-sandbox\x86_64-windows-ghc-7.10.3\math-functions-0.2.0.1-9MCqDJNYasuJ7jjxm3Fr23\HSmath-functions-0.2.0.1-9MCqDJNYasu
J7jjxm3Fr23.o: unknown symbol `expm1'

Using version 1.7 (which did not have expm1 yet) solved the issue for me.
This might be windows (10) related.

@Shimuuar
Copy link
Collaborator

I feared it will happen. I'll try to reproduce it. Hopefully it could be passed by adding link flags to cabal. Otherwise I'll have to implement expm1 in haskell.

@Shimuuar Shimuuar added the bug label Jul 27, 2016
@Shimuuar
Copy link
Collaborator

I cannot reproduce the issue on Win10 64bit. What windows are you using?

@Jaxan
Copy link
Author

Jaxan commented Aug 25, 2016

I too have Win10 with 64bits. I have a pretty vanilla install (no MinGW or Cygwin, only VS).

@Shimuuar
Copy link
Collaborator

Shimuuar commented Aug 25, 2016 via email

@Jaxan
Copy link
Author

Jaxan commented Aug 25, 2016

I installed the Haskell Platform with ghc 7.10.
I can try to update to a newer release, but that'll take some time (I will have to do it anyways at some point).

@Jaxan
Copy link
Author

Jaxan commented Aug 25, 2016

Ok I just installed Haskell Platform 8.0.1, and now it builds!

@Shimuuar
Copy link
Collaborator

Shimuuar commented Aug 25, 2016 via email

@Jaxan
Copy link
Author

Jaxan commented Aug 27, 2016

If it's not possible to reproduce (for either of us), then maybe it has to do with some Windows update and we can close the issue.

@Jaxan Jaxan closed this as completed Aug 29, 2016
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

2 participants