You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucy.apache.org by "Nick Wellnhofer (JIRA)" <ji...@apache.org> on 2016/12/02 19:39:58 UTC
[lucy-issues] [jira] [Resolved] (LUCY-317) Compile failure on FreeBSD 10.1
[ https://issues.apache.org/jira/browse/LUCY-317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Wellnhofer resolved LUCY-317.
----------------------------------
Resolution: Fixed
Fix Version/s: 0.6.1
Fixed with the following commit:
https://git1-us-west.apache.org/repos/asf?p=lucy.git;a=commitdiff;h=a8f7e9c6076652c31013d2d2523bcd236c4a9526
> Compile failure on FreeBSD 10.1
> -------------------------------
>
> Key: LUCY-317
> URL: https://issues.apache.org/jira/browse/LUCY-317
> Project: Lucy
> Issue Type: Bug
> Components: Perl bindings
> Environment: FreeBSD 10.1, various perl versions
> Reporter: Slaven Rezic
> Fix For: 0.6.1
>
>
> I see the following compilation error:
> {noformat}
> cc -O2 -pipe -fPIC -pedantic -Wall -Wextra -Wno-variadic-macros -DPERL_GCC_PEDANTIC -std=gnu99 -D_GNU_SOURCE -fvisibility=hidden -O2 -g -fno-strict-aliasing -I . -I cfcore -I autogen/include -I ./modules/analysis/snowstem/source/include -I ./modules/unicode/ucd -I ./modules/unicode/utf8proc -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/local/lib/perl5/5.24/mach/CORE -D CFP_LUCY cfcore/Lucy/Store/ErrorMessage.c -c -o cfcore/Lucy/Store/ErrorMessage.o
> cfcore/Lucy/Store/ErrorMessage.c:789:14: error: duplicate case value '96'
> case ELAST:
> ^
> /usr/include/errno.h:184:16: note: expanded from macro 'ELAST'
> #define ELAST 96 /* Must be equal largest errno */
> ^
> cfcore/Lucy/Store/ErrorMessage.c:602:14: note: previous case defined here
> case EOWNERDEAD:
> ^
> /usr/include/errno.h:180:20: note: expanded from macro 'EOWNERDEAD'
> #define EOWNERDEAD 96 /* Previous owner died */
> ^
> 1 error generated.
> *** Error code 1
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)