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