Not sure if I forgot this from the original patch, but in any case this is missing from the config.in file in Kaffe, preventing compile with xprofile:
Index: configure.in =================================================================== RCS file: /cvs/kaffe/kaffe/configure.in,v retrieving revision 1.159 diff -u -r1.159 configure.in --- configure.in 11 May 2002 17:03:17 -0000 1.159 +++ configure.in 24 May 2002 11:33:10 -0000 @@ -346,6 +346,15 @@ dnl ENABLE_XPROF controls installation of xprof scripts in kaffe/scripts/Makefile.am AM_CONDITIONAL(ENABLE_XPROF, test x"$enable_xprofiling" = x"yes") +if test x"$enable_xprofiling" = x"yes"; then + if test -f "$srcdir/config/$Khost_cpu/$Khost_os/xprofile-md.h"; then + CONFIG_XPROFILE_MD_H="\$(top_srcdir)/config/$Khost_cpu/$Khost_os/xprofile-md.h" + AC_SUBST(CONFIG_XPROFILE_MD_H) + else + AC_MSG_ERROR(Profiling not supported in $Khost_cpu-$Khost_os) + fi +fi + dnl ========================================================================= dnl Allow support for debugging of C/jitted code dnl ------------------------------------------------------------------------- Naturally, autoconf needs to be ran to re-build the configure script, and the wrapped lines need to be put back together. This comes straight from JanosVM. Without it, Kaffe creates an empty config/xprofile-md.h file, which will prevent xprofile from compiling even with that patch, so it needs to be deleted as well. -Jukka Santala _______________________________________________ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe