On May 16, Eric O'Dell wrote: > > I'm getting an error with Inline that suggests that Inline doesn't handle > unsigned longs: > > Can't locate auto/LEngine/alloc_bwb.al in @INC
Eric: There is a typemap for unsigned long in Perl 5.6.1, so there's something else about your function that is causing the problem. If you have any compound types "const" or "struct" anything as function arguments or return values, xsubpp will not _bind_ to your C function. I found the following Perl incantation very useful to find out which functions were being bound: perl -MInline=info myprogram This will print out information about which functions were snarfed by the interpreter. The solution (I found) in these cases is to typedef these compound types: typedef const void const_void; These will work successfully. If this isn't the problem, you might want to post your code to the group. -Clint
