Hello, I am about to write an XS interface to a C library. To make #defines for error codes available in perl, I used this command:
h2xs -O -b 5.8.0 -x -n Module module.h $(LIBS) With this, I keep getting the following error message: Can't locate auto/Module/autosplit.ix in @INC (@INC contains: [ ... snip ... ]) at /usr/lib/perl5/5.8.7/AutoLoader.pm line 160. at Module/lib/Module.pm line 9 This error message disappears if I add the -A option to h2xs, but then I don't have the #defines from C available in perl. Any ideas how to generate this autosplit.ix file? Or how to tell h2xs to include the #defines without using autosplit?