in reply to try #3 with XS tutorial question

No "aha!" here, but besides the concern about the "targets in skipped section" warning (that can't be good) I usually see "syntax error before ..." when I'm missing include files/defines. In my case, the line before is not being 'found' (has a keyword/def that doesn't get preprocessed into a valid sequence) and the compiler goes on to choke on the next line. I often end up doing a: cd /usr/include grep "<missing word>" * grep "<missing word>" */* grep "<missing word>" */*/* just to see where it is and what includes might be needed. I'm sure there's a better route; have you seen the XS tutorial at http://www.perlmonth.com (look in the earlier editions)? a

Replies are listed 'Best First'.
RE: RE: try #3 with XS tutorial question
by juda (Initiate) on May 31, 2000 at 20:24 UTC
    Thanks for the reply. Yes, it appears to be missing info, in this case type definitions. I'm pretty sure it's not seeing the local typemap file or at least, not parsing it correctly. This makes me suspicious that it's my installation of perl. The interesting thing is that the other 3 XS tutorial examples work just fine. I'll check out the URL you mentioned. I have not seen it, only the one I mentioned. BTW, do you know which perl version is currently considered the stablest/best. I've heard that 5.6 is too new to be stable and versions older than 5.00503 are too old.