> I figure this isn't a problem with GHC, necessarily. More likely a
> problem with my environment, but I thought I'd ask here 
> anyway, if only
> to get a clue. The problem is when the "gmake all" gets to 
> building hsc,
> I get the following errors:
> 
> ld: elf error: file
> /home/04/x212/usr/local/lib/ghc-4.04/libHS.a(PrelNumExtra__468.o):
> elf_strptr: Request error: no string table
> ld: elf error: file /home/04/x212/usr/local/lib/ghc-4.04/libHS.a:
> elf_begin: Format error: archive fmag
> ld: elf error: file /home/04/x212/usr/local/lib/ghc-4.04/libHS.a:
> elf_begin: Format error: archive fmag

You're the second person to report this one, so it's unlikely to be a
problem with your setup.  One thing you both have in common is Solaris 2.5,
the binary dist was built on 2.6 so that's one potential source of problems.

Could you try running nm on /usr/local/lib/ghc-4.04/libHS.a, and having a
look at the section for PrelNumExtra__468.o?

Cheers,
        Simon

Reply via email to