Skip to content

Compile install failed: make[2]: *** [CMakeFiles/duckdb_proj.dir/build.make:86: extra/duckdb/build/release/stamp/duckdb_proj-build] Error 2 #130

@gilbertwu

Description

@gilbertwu

My Env:

PLATFORM_ID="platform:el8"
PRETTY_NAME="Oracle Linux Server 8.7"
gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28.0.1)
ldd (GNU libc) 2.28

Build from source but Failed many times:

cmd: -- Specify dir
sh build.sh -t release -d /u01/data/alisql_src/

Some error:

/u01/data/scripts/gilbert/AliSQL/mysys/hash.cc: In function ‘my_hash_value_type my_hash_sort(CHARSET_INFO*, const uchar*, size_t)’:
/u01/data/scripts/gilbert/AliSQL/mysys/hash.cc:48:32: warning: cast from type ‘const uchar*’ {aka ‘const unsigned char*’} to type ‘uchar
’ {aka ‘unsigned char’} casts away qualifiers [-Wcast-qual]
my_ci_hash_sort(cs, (uchar *)key, length, &nr1, &nr2);

Detail log:

compile_err.log

Please help check my error log, thanks.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions