Skip to content

Instantly share code, notes, and snippets.

@bukzor
Created March 22, 2018 18:01
Show Gist options
  • Save bukzor/74bb3872a7155319e763d4e950e747a1 to your computer and use it in GitHub Desktop.
Save bukzor/74bb3872a7155319e763d4e950e747a1 to your computer and use it in GitHub Desktop.
homebrew libbsd compile fail on Android
libtool: compile: clang -DHAVE_CONFIG_H -I.. -isystem ../include/bsd/ -include ../config.h -DLIBBSD_OVERLAY -DLIBBSD_DISABLE_DEPRECATED -D__REENTRANT -g -O2 -Wall -Wextra -Wno-unused-variable -Wno-unused-parameter -c fpurge.c -o fpurge.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I.. -isystem ../include/bsd/ -include ../config.h -DLIBBSD_OVERLAY -DLIBBSD_DISABLE_DEPRECATED -D__REENTRANT -g -O2 -Wall -Wextra -Wno-unused-variable -Wno-unused-parameter -c -o funopen.lo funopen.c
libtool: compile: clang -DHAVE_CONFIG_H -I.. -isystem ../include/bsd/ -include ../config.h -DLIBBSD_OVERLAY -DLIBBSD_DISABLE_DEPRECATED -D__REENTRANT -g -O2 -Wall -Wextra -Wno-unused-variable -Wno-unused-parameter -c funopen.c -fPIC -DPIC -o .libs/funopen.o
funopen.c:141:2: error: "Function funopen() needs to be ported."
#error "Function funopen() needs to be ported."
^
1 error generated.
make[1]: *** [Makefile:632: funopen.lo] Error 1
make[1]: Leaving directory '/usr/tmp/libbsd-20180322-13406-jwf1ur/libbsd-0.8.3/src'
make: *** [Makefile:409: install-recursive] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment