Re: HTML::Parser compilation error

Gisle Aas (gisle@activestate.com)
01 Mar 2001 15:57:34 -0800


Lamine Sano <sanol@coreon.net> writes:

> I need help with this compilation error of HTML::Parser.
> 
> root@sinydev01# make
> gcc -c  -I/usr/local/include     -DVERSION=\"3.18\"
> -DXS_VERSION=\"3.18\" -fPIC
> -I/usr/local/lib/perl5/5.00503/sun4-solaris/CORE
> -DMARKED_SECTION Parser.c
> In file included from Parser.xs:87:
> util.c: In function `decode_entities':
> util.c:101: `hexdigit' undeclared (first use in this function)
> util.c:101: (Each undeclared identifier is reported only once
> util.c:101: for each function it appears in.)
> make: *** [Parser.o] Error 1

I think I've seen this before.  You probably have a patchlevel.h file
which is not related to perl somewhere in you include path.  Try to
remove it.

--Gisle