|
Re: Undefined symbols on new install of ghc 6.2.2: msg#00099lang.haskell.glasgow.bugs
Can't think of a reasonable explanation for the behaviour you're seeing, I'm afraid. If you look at the undefined symbols from the link, _ZCMain_main_closure isn't being found -- it should be in Build.o, which is included on the command line. The weird thing is that the linker does report undefined symbols from that closure's entry point, _ZCMain_main_entry (in Build.o), but fails to see the (.data) symbol for the closure itself. On the off-chance you haven't tried this already, could you try to delete the object files and re-do the --make? Add -fvia-C while you're at it. If you want to examine what the linker actually slurps in, try -optl-Wl,--verbose GHC binary installs on Windows are islands as far as tools needed to compile&link Haskell code goes. You may run into trouble if you compile a .c file with a local installation of gcc and then try to link the object file with ghc, but I don't think that's the case here. --sigbjorn ----- Original Message ----- From: "Alastair Reid" <Alastair.Reid@xxxxxxx> To: "Sigbjorn Finne" <sof@xxxxxxxxxx> Cc: <glasgow-haskell-bugs@xxxxxxxxxxx> Sent: Monday, August 22, 2005 06:16 Subject: RE: Undefined symbols on new install of ghc 6.2.2 Thanks Sigbjorn,
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Undefined symbols on new install of ghc 6.2.2, Alastair Reid |
|---|---|
| Next by Date: | [ ghc-Bugs-1266898 ] parse error way too late, SourceForge.net |
| Previous by Thread: | RE: Undefined symbols on new install of ghc 6.2.2, Alastair Reid |
| Next by Thread: | [ ghc-Bugs-1266898 ] parse error way too late, SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |