These are happening because although pmc2c.pl is writing out a header file, it isn't putting an #include directive into the C code to tell it to use the file - this is only happening for the superclasses of the PMC (which is generally only default at the moment). Patch below fixes.
NB. There are still a few left, for the `*_class_init' functions, suggesting there's a bug somewhere else in pmc2c.pl, but I haven't tracked that one down yet. Simon --- pmc2c.pl.old Tue Jan 15 20:29:41 2002 +++ pmc2c.pl Tue Jan 15 20:49:52 2002 @@ -226,7 +226,8 @@ my %visible_supers; @visible_supers{values %$methodloc} = (); - my $includes = ''; + my $includes = qq(#include "\L$classname.h"\n); + foreach my $class (keys %visible_supers) { next if $class eq $classname; $includes .= qq(#include "\L$class.h"\n);