rts debugging version doesn't compile
Axel Krauth
krauth at infosun.fmi.uni-passau.de
Thu Nov 9 13:00:42 EST 2000
Hi!
While trying to compile a rts-debugging version of 4.08.1 I get the
following error :
.
.
.
===fptools== Recursively making `all' in DrIFT DtdToHaskell Xtract ...
PWD = /home/krauth/fptools/hslibs/tools
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== gmake all - --no-print-directory -r;
in /home/krauth/fptools/hslibs/tools/DrIFT
------------------------------------------------------------------------
../../../ghc/driver/ghc-inplace -o DrIFT -cpp -fglasgow-exts -package text -O DataP.o DrIFT.o Literate.o Pretty.o StandardRules.o ChaseImports.o CommandP.o DigitToInt.o ParseLib2.o PreludData.o RuleUtils.o UserRuleBinary.o UserRuleXml.o UserRules.o
/home/krauth/fptools/ghc/driver/../rts/libHSrts.a(Printer.o): In function `DEBUG_LoadSymbols':
/home/krauth/fptools/ghc/rts/Printer.c:850: undefined reference to `bfd_init'
/home/krauth/fptools/ghc/rts/Printer.c:851: undefined reference to `bfd_openr'
/home/krauth/fptools/ghc/rts/Printer.c:855: undefined reference to `bfd_check_format_matches'
collect2: ld returned 1 exit status
make[3]: *** [DrIFT] Error 1
make[2]: *** [all] Error 1
make[1]: *** [all] Error 1
make: *** [all] Error 1
For compiling the rts debugging version I replaced in mk/config.mk the
optimising flags of the rts with the debugging flags. I have libbfd.a and
libiberty.a (where the missing symbols are) in /usr/lib/ .
I'm using a linux system (suse 7.0) with gcc2.95.2 and ghc4.08.1 .
bye,
Axel
More information about the Glasgow-haskell-bugs
mailing list