I've been trying to build the perl module "HTML-Parser" using Msys. However, Make keeps terminating with the following error:

$ make
cp lib/HTML/HeadParser.pm blib/lib/HTML/HeadParser.pm
cp lib/HTML/LinkExtor.pm blib/lib/HTML/LinkExtor.pm
cp lib/HTML/PullParser.pm blib/lib/HTML/PullParser.pm
cp Parser.pm blib/lib/HTML/Parser.pm
cp lib/HTML/Entities.pm blib/lib/HTML/Entities.pm
cp lib/HTML/TokeParser.pm blib/lib/HTML/TokeParser.pm
cp lib/HTML/Filter.pm blib/lib/HTML/Filter.pm
/bin/perl -I/usr/lib/perl5/5.6.1/msys -I/usr/lib/perl5/5.6.1 /usr/lib/perl5/5.6.1/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.6.1/ExtUtils/typemap -typemap typemap Parser.xs > Parser.xsc && mv Parser.xsc Parser.c
/bin/perl mkhctype >hctype.h
/bin/perl mkpfunc >pfunc.h
gcc -c  -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -fnative-struct -DUSEIMPORTLIB -O3 -s -mcpu=pentium   -DVERSION=\"3.43\" -DXS_VERSION=\"3.43\"  -I/usr/lib/perl5/5.6.1/msys/CORE -DMARKED_SECTION Parser.c
cc1.exe: unrecognized option `-fnative-struct'
make: *** [Parser.o] Error 1

Obviously the error is in the flag "-fnative-struct" -- is there an alternative flag I can replace this with?

Thanks for your help.
Martin Proffitt

Online Virus Scan: Check your computer online now Scan now!