in reply to Perl XS on 5.005_03

warnings.pm was first released in 5.6.1.

I would start by commenting out the use warnings and see if the rest of module builds. There may be some back-porting of perl internal functions that you'll have to do, depending on how much of the perl C API you've used.

Michael