alphacep / alphacep/clapack

ld first defined here

Aperta
#1 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C
Stelle
4
Fork
12
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hi!

I can't compile with the following command:

mkdir -p clapack/BUILD && cd clapack/BUILD && cmake .. && make -j 5

At the time of linking, an error is returned:

```
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/xlintsts.dir/sdrvgb.c.o:(.bss+0x20): повторное определение «srnamc_»; CMakeFiles/xlintsts.dir/xerbla.c.o:(.bss+0x20): здесь первое определение
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/xlintsts.dir/sdrvpo.c.o:(.bss+0x0): повторное определение «infoc_»; CMakeFiles/xlintsts.dir/xerbla.c.o:(.bss+0x0): здесь первое определение
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/xlintsts.dir/sdrvpo.c.o:(.bss+0x20): повторное определение «srnamc_»; CMakeFiles/xlintsts.dir/xerbla.c.o:(.bss+0x20): здесь первое определение
```
etc.

What could be the reason?

I use gcc , ld, cmake, and make of the following versions

```
$ gcc --version
gcc (Gentoo 10.2.0-r5 p6) 10.2.0

$ ld --version
GNU ld (Gentoo 2.35.1 p2) 2.35.1

$ cmake --version
cmake version 3.18.5

$ make --version
GNU Make 4.3
Built for x86_64-pc-linux-gnu

```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.