tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] Compilation error while including LAPACKE


From: Christopher Choi
Subject: [Tinycc-devel] Compilation error while including LAPACKE
Date: Sat, 9 Apr 2022 01:03:51 +0100

Hello all,

Trying to use tinycc to compile a code base that uses LAPACKE. But as
soon as I include the header I run into problems, I get the following
error:

```
In file included from main.c:1:
In file included from /usr/include/lapacke.h:37:
In file included from /usr/include/lapack.h:55:
In file included from /usr/include/complex.h:106:
/usr/include/x86_64-linux-gnu/bits/cmathcalls.h:55: error: ';'
expected (got "cacos")
```

where main.c is:

```
#include <lapacke.h>
#include <stdio.h>

int main() {
  printf("Hello World!\n");
  return 0;
}
```

compiled using `tcc main.c -o a.out`

Any help would be appreciated, thanks!
Chris



reply via email to

[Prev in Thread] Current Thread [Next in Thread]