Opened 4 years ago
Closed 3 years ago
#62436 closed defect (fixed)
gti @1.6.1-universal: implicit declaration of function 'usleep'
Reported by: | zman0900 (Dan Ziemba) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | haspatch | Cc: | |
Port: | gti |
Description
Attempting to install "gti" fails on Big Sur 11.2.3 with build errors:
gti.c:231:5: error: implicit declaration of function 'usleep' [-Werror,-Wimplicit-function-declaration] usleep(FRAME_TIME); ^ gti.c:252:5: error: implicit declaration of function 'usleep' [-Werror,-Wimplicit-function-declaration] usleep(FRAME_TIME * 10); ^ gti.c:273:5: error: implicit declaration of function 'usleep' [-Werror,-Wimplicit-function-declaration] usleep(FRAME_TIME * 8); ^
Attachments (1)
Change History (4)
Changed 4 years ago by zman0900 (Dan Ziemba)
Attachment: | gti-build.log added |
---|
comment:1 Changed 4 years ago by jmroot (Joshua Root)
comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | haspatch added |
---|---|
Owner: | changed from g5pw to ryandesign |
Status: | assigned → accepted |
Thanks Josh, that fixes it. I'll report it to the developer and get a patch committed soon.
comment:3 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note: See
TracTickets for help on using
tickets.
It's setting
_POSIX_C_SOURCE
to1
which is equivalent to199009L
, but forusleep
to be available, it has to be at least199506L
.