Skip to content

make: *** [Makefile:83: lchain.o] Error 1 #10

Open
@konopinski

Description

@konopinski

Hi,
I've been trying to install the soft, but executing make returns tons of warnings and an error. I'm installing it on Ubuntu 22.04 (vbox). The error at the end of execution is the one provided in the subject. Other warnings are e.g.:

cc1plus: warning: command-line option ‘-Wc++-compat’ is valid for C/ObjC but not for C++
main.c:92:11: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   92 |         { "bucket-bits",    ko_required_argument, 300 },
      |           ^~~~~~~~~~~~~
...
main.c:552:47: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
  552 |         fprintf(stderr, "minimizer-lookup: %lld dp: %lld rmq: %lld rmq_t1: %lld rmq_t2: %lld rmq_t3: %lld rmq_t4: %lld alignment: %lld %lld\n", minimizer_lookup_time, dp_time, rmq_time, rmq_t1, rmq_t2, rmq_t3, rmq_t4, alignment_time, avg);
      |                                            ~~~^                                                                                                 ~~~~~~~~~~~~~~~~~~~~~
      |                                               |                                                                                                 |
      |                                               long long int                                                                                     uint64_t {aka long unsigned int}
      |                                            %ld
...
g++ -std=c++11 -c -g -Wall -O2 -Wc++-compat  -DHAVE_KALLOC  -DPARALLEL_CHAINING -DALIGN_AVX -DAPPLY_AVX2  -march=native -I./ext/TAL/src/LISA-hash -I./ext/TAL/src/dynamic-programming  kthread.c -o kthread.o
cc1plus: warning: command-line option ‘-Wc++-compat’ is valid for C/ObjC but not for C++
...
index.c:758:30: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  758 |                         fread(s->name, 1, l, fp);
      |                         ~~~~~^~~~~~~~~~~~~~~~~~~
...
lchain.c:358:56: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
  358 |                 if (max_ii < 0 || a[i].x - a[max_ii].x > (int64_t)max_dist_x) {
      |                                   ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~

Any clue on what to do?
MK

Metadata

Metadata

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