On Jul 31, 2007, at 8:45 PM, Brian K Fulfrost wrote:

gcc -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement - I/usr/local/i nclude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DVERSION=\"3.56 \" -DXS_VER SION=\"3.56\" -fPIC "-I/usr/local/lib/perl5/5.8.8/sun4-solaris/ CORE" -DMARKED_S
ECTION Parser.c
cc1: unrecognized option `-Wdeclaration-after-statement'
make: *** [Parser.o] Error 1

It looks like the config script is using an option that your GCC doesn't support. I wonder if HTML::Parser is mis-detecting the abilities of your GCC, perhaps with some sort of table where it says "Oh, you're using 3.xx of GCC, you can handle these warning flags."

To get around it: Edit the Makefile manually and remove the part where -Wdeclaration-after-statement is in CCFLAGS.

xoxo,
Andy

--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance




Reply via email to