|
[ ghc-Bugs-1206426 ] SHGetFolderPath link error: msg#00079lang.haskell.glasgow.bugs
Bugs item #1206426, was opened at 2005-05-21 23:43 Message generated for change (Comment added) made by sigbjorn 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: Closed 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? ---------------------------------------------------------------------- >Comment By: Sigbjorn Finne (sigbjorn) Date: 2005-08-11 10:11 Message: Logged In: YES user_id=232905 Closing this bug as I haven't heard back. The change suggested by the bug reporter has made its way into the CVS sources for Cabal (rev. 1.18 of package.conf.in). If this turns out not to fix the issue, let's re-open this bug. ---------------------------------------------------------------------- Comment By: Sigbjorn Finne (sigbjorn) Date: 2005-07-06 10:44 Message: Logged In: YES user_id=232905 Making that same change here gives me a setup.exe that isn't dependent on shell32.dll, but shfolder.dll only. Could you provide the exact steps you're following and/or e- mail me the final binary so that I can poke around a bit more? --sigbjorn ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1206426&group_id=8032
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-1186911 ] Prologue junk?, SourceForge.net |
|---|---|
| Next by Date: | RE: stdin set to nonblocking mode, Simon Marlow |
| Previous by Thread: | [ ghc-Bugs-1186911 ] Prologue junk?, SourceForge.net |
| Next by Thread: | runghc, .hs suffix, Frederik Eaton |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |