Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
konopinski opened this issue Sep 5, 2023 · 0 comments
Open

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

konopinski opened this issue Sep 5, 2023 · 0 comments
Assignees

Comments

@konopinski
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants