Subject: | Fails to compile on FreeBSD |
Greetings,
Sort::External fails to compile for perl v5.8.2 built for i386-freebsd.
bash-2.05b# make
cc -c -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.2/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -I/usr/local/include -O -pipe -march=pentiumpro -DVERSION=\"0.12\" -DXS_VERSION=\"0.12\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.2/mach/CORE" External.c
External.xs: In function `XS_Sort__External__print_to_sortfile':
External.xs:58: syntax error before `char'
External.xs:61: `encoded_len' undeclared (first use in this function)
External.xs:61: (Each undeclared identifier is reported only once
External.xs:61: for each function it appears in.)
External.xs: In function `XS_Sort__External__Buffer__refill_buffer':
External.xs:91: syntax error before `char'
External.xs:104: `amount_read' undeclared (first use in this function)
External.xs:108: `item_length' undeclared (first use in this function)
External.xs:110: `check' undeclared (first use in this function)
External.xs:110: `read_buf' undeclared (first use in this function)
External.xs:142: `num_items' undeclared (first use in this function)
*** Error code 1
Stop in /usr/local/src/Search-Kinosearch-0.021/Sort-External-0.12.