|
[ ghc-Bugs-1206426 ] SHGetFolderPath link error: msg#00052lang.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: 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? ---------------------------------------------------------------------- >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-1019758 ] SPECIALIZE pragma and polymorphic instances, SourceForge.net |
|---|---|
| Next by Date: | Re: another wash compile problem, Frederik Eaton |
| Previous by Thread: | [ ghc-Bugs-1019758 ] SPECIALIZE pragma and polymorphic instances, SourceForge.net |
| Next by Thread: | Re: another wash compile problem, Frederik Eaton |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |