On Mon, 08 Sep 2008, Marvin Humphrey wrote: > On Sep 8, 2008, at 6:41 PM, Sisyphus wrote: > > > Looks like this is the result of a clash with the perl symbols > > do_close (Perl_do_close) and do_open (Perl_do_open) which, upon > > inspection of the perl source's doio.c, *do* take 2 and 7 arguments > > respectively. > > > > I don't have any advice on how to work around this particular > > problem. > > How do you turn off the prefix-stripping for Perl symbols, so that > they have to be invoked as Perl_do_close() rather than do_close() etc?
I would try to add #undef do_open #undef do_close after including the Perl headers. Cheers, -Jan