[ ghc-Bugs-1206426 ] SHGetFolderPath link error
SourceForge.net
noreply at sourceforge.net
Sun May 22 02:43:54 EDT 2005
Bugs item #1206426, was opened at 2005-05-21 23:43
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1206426&group_id=8032
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build System
Group: 6.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: SHGetFolderPath link error
Initial Comment:
Vivian McPhail
On Win9x with GHC 6.4.1
Attempting to compile Cabal
setup.exe is linked to missing export
SHELL32.DLL:SHGetFolderPathA
There is a dll named ShFolder.dll which can be
downloaded from microsoft to provide this function. I
note that libshfolder.a is also to be found in
$GHC/gcc-lib directory.
I have (manually) added "ShFolder" to extraLibraries of
Cabal in package.conf, which fixed the problem when
running GHCi.
However, when running the Cabal package setup.exe the
above error (in a dialog box) occurs.
I ran ghc with -v to see the libraries linked against,
and they included -lshfolder.
I cannot figure out what is going wrong here. Does
shell32 say it exports the function and thus prevent
ShFolder from providing it?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1206426&group_id=8032
More information about the Glasgow-haskell-bugs
mailing list