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

Problem with final link (initWinsock?) on a clean windows #1

Open
supergrade opened this issue Aug 4, 2014 · 0 comments
Open

Problem with final link (initWinsock?) on a clean windows #1

supergrade opened this issue Aug 4, 2014 · 0 comments

Comments

@supergrade
Copy link

Clean windows 8.1 patched to current date, on a VM (I can rewind/retry on it)

Only deviation was changing idris cabal-install line to
~/bin/cabal install --max-backjumps=-1

Ran the file from powershell installed in the 8.1 Operating system.

[97 of 97] Compiling Pkg.Package ( src\Pkg\Package.hs, dist\build\Pkg\Package.o )
In-place registering idris-0.9.14.1...
Preprocessing executable 'idris' for idris-0.9.14.1...
[1 of 2] Compiling Paths_idris ( dist\build\autogen\Paths_idris.hs, dist\build\idris\idris-tmp\Paths_idris.o )
[2 of 2] Compiling Main ( main\Main.hs, dist\build\idris\idris-tmp\Main.o )
Linking dist\build\idris\idris.exe ...
C:\t\msys\home\LA\idris\dist\build/libHSidris-0.9.14.1.a(REPL.o):fake:(.text+0x357b): undefined reference to initWinSock' C:\t\msys\home\LA\idris\dist\build/libHSidris-0.9.14.1.a(REPL.o):fake:(.text+0x99c09): undefined reference toinitWinSock'
c:/t/msys/ghc-7.8.3/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\t\msys\home\LA\idris\dist\build/libHSidris-0.9.14.1.a(REPL.o): bad reloc address 0x0 in section `.data'
c:/t/msys/ghc-7.8.3/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/../../../../x86_64-w64-mingw32/bin/ld.exe: final link failed: Invalid operation
collect2: ld returned 1 exit status

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant