I did some Googling around for "syntax error before `__attribute__'" and/or perl and GCC, and I judging by the threads I found, I think the issue is the version of GCC your are using.
If you can, I would try upgrading it to 4.0/4.1. If you can't do that, I'm out of ideas. Not to say that fixing the (possible) gcc issue would then leave you with other problems
due to the age of the distro and the packages installed on it.
|