On Wed, Jul 31, 2002 at 12:36:02PM -0400, Joey Hess wrote:
> libnet-rawip-perl fails to build under perl 5.8, and the problem needs
> someone who really understands XS to debug. 
> 
> cc -c   -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -I/usr/local/include
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3   -DVERSION=\"0.09\"
> -DXS_VERSION=\"0.09\" -fPIC "-I/usr/lib/perl/5.8.0/CORE"  -D_LINUX_
> -D_ETH_ -D_IFLIST_ -D_GLIBC_ util.c
> util.c: In function `host_to_ip':
> util.c:121: `my_perl' undeclared (first use in this function)
> util.c:121: (Each undeclared identifier is reported only once
> util.c:121: for each function it appears in.)
> make: *** [util.o] Error 1

I'll take on libnet-rawip-perl. At first glance, the problem appears to
be simply that a C file pulls in Perl includes even though it doesn't
need to, and so ends up with all the PerlIO+reentrant compatibility
#defines.

-- 
Colin Watson                                  [[EMAIL PROTECTED]]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to