Subject: | Net-Patricia-1.010 make error |
Net-Patricia-1.010
Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
Platform:
osname=freebsd, osvers=5.4-release, archname=i386-freebsd-64int
cd libpatricia && make LIB="" LIBPERL_A="libperl.a" LINKTYPE="dynamic" PREFIX="/usr/local" OPTIMIZE="-O -pipe" PASTHRU_DEFINE="" PASTHRU_INC=""
cc -c -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.6/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include -O -pipe -DVERSION=\"\" -DXS_VERSION=\"\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.6/mach/CORE" patricia.c
In file included from patricia.c:29:
patricia.h:35: error: syntax error before "u_short"
patricia.h:42: error: syntax error before "u_short"
patricia.h:56: error: syntax error before "u_int"
patricia.h:66: error: syntax error before "u_int"
patricia.c:38: error: syntax error before '*' token
patricia.c: In function `prefix_tochar':
patricia.c:44: error: `u_char' undeclared (first use in this function)
patricia.c:44: error: (Each undeclared identifier is reported only once
patricia.c:44: error: for each function it appears in.)
patricia.c:44: error: syntax error before ')' token
patricia.c: At top level:
patricia.c:48: error: syntax error before "u_int"
patricia.c: In function `comp_with_mask':
patricia.c:51: error: `addr' undeclared (first use in this function)
patricia.c:51: error: `dest' undeclared (first use in this function)
patricia.c:51: error: `mask' undeclared (first use in this function)
patricia.c:55: error: `u_char' undeclared (first use in this function)
patricia.c:55: error: syntax error before ')' token
patricia.c:55: error: syntax error before ')' token
patricia.c: In function `__inet_pton':
patricia.c:70: error: syntax error before "result"
patricia.c:73: error: `result' undeclared (first use in this function)
patricia.c: In function `my_inet_pton':
patricia.c:104: error: syntax error before "xp"
patricia.c:106: error: `i' undeclared (first use in this function)
patricia.c:107: error: `c' undeclared (first use in this function)
patricia.c:110: error: `val' undeclared (first use in this function)
patricia.c:117: error: `xp' undeclared (first use in this function)
patricia.c: At top level:
patricia.c:131: error: syntax error before "else"
*** Error code 1
Stop in /home/ernest/tmp/Net-Patricia-1.010/libpatricia.
*** Error code 1