yarrick / iodine

Official git repo for iodine dns tunnel
https://code.kryo.se/iodine
ISC License
6.26k stars 508 forks source link

Cannot make on Android 12 #92

Closed hack-tramp closed 1 year ago

hack-tramp commented 1 year ago

I'm using Samsung S10, Android 12, Termux (latest from f-droid)

This is what I get when I make:

make[1]: Entering directory '/data/data/com.termux/files/home/iodine/src' OS is LINUX, arch is aarch64 CC common.c common.c:61:12: error: static declaration of 'daemon' follows non-static declaration static int daemon(int nochdir, int noclose) ^ /data/data/com.termux/files/usr/include/unistd.h:343:5: note: previous declaration is here int daemon(int __no_chdir, int __no_close);

Is the problem that it thinks OS is LINUX, rather than ANDROID?