You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucy.apache.org by "Slaven Rezic (JIRA)" <ji...@apache.org> on 2016/11/28 21:11:58 UTC

[lucy-issues] [jira] [Created] (LUCY-317) Compile failure on FreeBSD 10.1

Slaven Rezic created LUCY-317:
---------------------------------

             Summary: 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


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)