Hello, I was trying to build the library, but I got an error. The problem was that the `gettid` function declaration from `/usr/include/bits/unistd_ext.h` is not static on my machine(s) (and that seems to be the default according to `man` and the sources of glibc and musl) but `gettid` is defined as static in `ucw/threads.c`. Just removing the static keyword fixes the compilation error. Prokop
Hi!
I was trying to build the library, but I got an error.
The problem was that the `gettid` function declaration from `/usr/include/bits/unistd_ext.h` is not static on my machine(s) (and that seems to be the default according to `man` and the sources of glibc and musl) but `gettid` is defined as static in `ucw/threads.c`.
Just removing the static keyword fixes the compilation error.
I just pushed a fix to master. Have a nice fortnight -- Martin `MJ' Mareš <mj@ucw.cz> http://mj.ucw.cz/ United Computer Wizards, Prague, Czech Republic, Europe, Earth, Universe How an engineer writes a program: Start by debugging an empty file...
participants (2)
-
Martin Mareš
-
Prokop Randáček