alphacep / alphacep/clapack

ld first defined here

Open
#1 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
4
Forks
12
PR merge metrics
No merged PRs in 30d

Description

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

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.