alphacep / alphacep/clapack

ld first defined here

Đang mở
#1 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C
Star
4
Fork
12
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.