termux / termux-api-package

Termux package containing scripts to call functionality in Termux:API.
MIT License
1.02k stars 318 forks source link

error make #67

Closed ghost closed 5 years ago

ghost commented 5 years ago

Got this error when i compile:

cc -std=c11 -Wall -Wextra -pedantic -Werror termux-api.c -o termux-api termux-api.c: In function ‘generate_uuid’: termux-api.c:71:13: error: implicit declaration of function ‘arc4random’; did you mean ‘srandom’? [-Werror=implicit-function-declaration] arc4random(), arc4random(), // Generates a 64-bit Hex number ^~~~~~~~~~ srandom cc1: all warnings being treated as errors make: *** [<builtin>: termux-api] Error 1

ghost commented 5 years ago

Because it can be compiled only with patched Android NDK.