Ticket #38 (new defect)

Opened 4 years ago

Last modified 4 years ago

Ambiguous occurrence `closeFdWith' on GHC 7.0.2 (Haskell Platform 2011.02)

Reported by: alexott Owned by:
Priority: major Milestone:
Component: network Version:
Keywords: Cc: snoyberg

Description

I'm trying to build network package on GHC 7.0.2 (from Haskell Platform 2011.02/Mac OS X 10.6) and it doesn't build with following error:

Network/Socket.hsc:1701:11:

Ambiguous occurrence `closeFdWith' It could refer to either `Network.Socket.closeFdWith',

defined at Network/Socket.hsc:1046:1

or `GHC.Conc.closeFdWith',

imported from GHC.Conc at Network/Socket.hsc:204:26-36

Change History

Changed 4 years ago by snoyberg

  • cc snoyberg added

I'm having the same issue on an Ubuntu EC2 instance.

Changed 4 years ago by hesselink

This can be fixed by upgrading your cabal version. See this email thread.

Note: See TracTickets for help on using tickets.