> I've attached a diff of the changes I've made so far - they > are changes > to make it work rather than the correct way to fix it, though.
Thanks. I've fixed the 'ld -x' problem. You also appear to need an extra -L path to find the readline library - we don't have proper provision for this at the moment, so hacking it in by hand is fine. > I'm not quite there yet. It's currently doing this when linking > everything together into ghc-5.02: > > [...] > lHSconcurrent -lHSlang -lHSlang_cbits -lHSstd -lHSstd_cbits > -lHSrts -lgmp -lm > -L/auto/ecslab/m99igl/scratch/local/readline/lib -lreadline > -lhistory -ltermcap -ldl > Undefined first referenced > symbol in file > Readline_addzuhistory_closure ghci/InteractiveUI.o > Readline_readline_fast2 ghci/InteractiveUI.o > Readline_readline_closure ghci/InteractiveUI.o > __stginit_Readline ghci/InteractiveUI.o > ld: fatal: Symbol referencing errors. No output written to ghc-5.02 > collect2: ld returned 1 exit status > make[1]: *** [ghc-5.02] Error 1 > make: *** [all] Error 1 > make: Leaving directory `/tmp/foo/ghc-5.02/ghc' Hmmm, looks like your libHSutil.a is missing the Readline module. Cheers, Simon _______________________________________________ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs