Huge number of "undefined reference to" errors

Erik de Castro Lopo mle+hs at mega-nerd.com
Fri Sep 7 12:02:00 CEST 2012


Simon Marlow wrote:

> There was a problem with -split-objs during the last few days that could 
> cause this, I pushed the fix for it yesterday.

Unfortunately I'm still seeing this problem. I've just done a fresh
"./sync-all pull" followed by a "make clean" and "make".

The start of the failure looks like this:


      AR compiler/stage2/build/libHSghc-7.7.20120906.a
    /usr/bin/ar: creating compiler/stage2/build/libHSghc-7.7.20120906.a
    "rm" -f compiler/stage2/build/libHSghc-7.7.20120906.a.contents  
      HC [stage 1] utils/hsc2hs/dist-install/build/tmp/hsc2hs
    utils/hsc2hs/dist-install/build/Main.o: In function `r3N3_info':
    (.text+0x212): undefined reference to `c3W4_info'
    utils/hsc2hs/dist-install/build/Main.o: In function `r3N3_info':
    (.text+0x216): undefined reference to `c3W4_info'


Erik



More information about the Cvs-ghc mailing list