Did you #include the latest ppport.h?
Also, what OS are you using?
In reply to Re: XS module build not working for Perl 5.8 by Joost in thread XS module build not working for Perl 5.8 by rzer10