Skip to content

Compilation Error on Ubuntu 18.04 (  #165

@sroycode

Description

@sroycode

Hi:

On Ubuntu 18.04 , configured with "./configure --with-included-rocksdb --with-included-boost --prefix=${HOME}/.local",
libicu-dev version 60.2-3ubuntu3.1

I am getting the following error in "make"

In file included from /usr/include/unicode/utf.h:217:0,
                 from /usr/include/unicode/utypes.h:44,
                 from /usr/include/unicode/uchar.h:28,
                 from icu.cc:16:
icu.cc: In function ‘size_t ircd::icu::utf8::decode(char32_t* const&, const size_t&, const ircd::string_view&)’:
icu.cc:317:3: error: cannot convert ‘size_t* {aka long unsigned int*}’ to ‘int32_t* {aka int*}’ for argument ‘2’ to ‘UChar32 utf8_nextCharSafeBody_60(const uint8_t*, int32_t*, int32_t, UChar32, UBool)’
   U8_NEXT(_in, off, size(in), out[ret]);
   ^
make[1]: *** [icu.lo] Error 1
make: *** [all-recursive] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't right.buildRelated to compiling, linking, packaging and distribution.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions