You don't need to compile Pike with --valgrind in order to run Pike under valgrind.
/ Martin Nilsson (har bott i google)
Previous text:
2003-04-25 23:38: Subject: Valgrind
I seem to have trouble running pike under valgrind on a RedHat 7.3 system. I get the following when using --valgrind:
/home/agehall/Pike/7.5/build/linux-2.4.18-27.7.xsmp-i686/master.pike:332: Bad type in assignment. /home/agehall/Pike/7.5/build/linux-2.4.18-27.7.xsmp-i686/master.pike:332: Expected: mapping(string:multiset(string)) /home/agehall/Pike/7.5/build/linux-2.4.18-27.7.xsmp-i686/master.pike:332: Got : int(-1..-1) /home/agehall/Pike/7.5/build/linux-2.4.18-27.7.xsmp-i686/master.pike:1026: Class definition failed. /home/agehall/Pike/7.5/build/linux-2.4.18-27.7.xsmp-i686/master.pike:1130: Must return a value for a non-void function. /home/agehall/Pike/7.5/build/linux-2.4.18-27.7.xsmp-i686/master.pike:1187: Class definition failed. /home/agehall/Pike/7.5/build/linux-2.4.18-27.7.xsmp-i686/master.pike:1189: Class definition failed. /home/agehall/Pike/7.5/build/linux-2.4.18-27.7.xsmp-i686/master.pike:1285: Must return a value for a non-void function. /home/agehall/Pike/7.5/build/linux-2.4.18-27.7.xsmp-i686/master.pike:1323: Class definition failed. /home/agehall/Pike/7.5/build/linux-2.4.18-27.7.xsmp-i686/master.pike:1688: Class definition failed. /home/agehall/Pike/7.5/build/linux-2.4.18-27.7.xsmp-i686/master.pike:2560: Class definition failed. /home/agehall/Pike/7.5/build/linux-2.4.18-27.7.xsmp-i686/master.pike:3083: Class definition failed. /home/agehall/Pike/7.5/build/linux-2.4.18-27.7.xsmp-i686/master.pike:3139: Class definition failed. ERROR: Compilation failed.
Running pike outside of valgrind works just fine. It's a newly compiled but not installed Pike 7.5 (fresh from CVS) that I'm trying to run.
Any ideas on how to get it to work?
/ Marcus Agehall (Trådlös)