Uploaded image for project: 'Lucy'
  1. Lucy
  2. LUCY-317

Compile failure on FreeBSD 10.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.6.1
    • Perl bindings
    • None
    • FreeBSD 10.1, various perl versions

    Description

      I see the following compilation error:

      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
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            eserte12 Slaven Rezic
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: