Makefile: GHCi still broken
authorBernhard Urban <lewurm@gmail.com>
Sat, 14 Apr 2012 12:51:41 +0000 (14:51 +0200)
committerBernhard Urban <lewurm@gmail.com>
Sat, 14 Apr 2012 12:51:41 +0000 (14:51 +0200)
commit54387db6e7953815d79444eb6ffd0f7694327657
treec1588f6a69a468ba8f5837c49482d1abc26e3af1
parentf0fc3108b87a593f4e7955ad4d461e3cc653e3e3
Makefile: GHCi still broken

although
http://stackoverflow.com/questions/10123040/ghci-doesnt-work-with-ffi-export-declarations-shared-libaries
fixed an issue, there is now a different one:
> $ make ghci
> [...]
> Ok, modules loaded: Main, Mate.X86CodeGen, Mate.MethodPool, Mate.BasicBlocks, Mate.Utilities.
> Prelude Main> main
>
>
> GHCi runtime linker: fatal error: I found a duplicate definition for symbol
>    MateziUtilities_lookupMethod_srt
> whilst processing object file
>    ./Mate/Utilities.o
> This could be caused by:
>    * Loading two different object files which export the same symbol
>    * Specifying the same object file twice on the GHCi command line
>    * An incorrect `package.conf' entry, causing some object to be
>      loaded twice.
> GHCi cannot safely continue in this situation.  Exiting now.  Sorry.
>
> make: *** [ghci] Error 1

so, `make ghci' and `make tags' still doesn't work due to FFI stuff.
we have to use `make test' until we fix it :-(
Makefile
ffi/trap.c [new file with mode: 0644]
trap.c [deleted file]