Created
October 1, 2020 15:40
-
-
Save luisan00/c116cf7051bb929fd29f602374e88743 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Compiling miniupnpc-sys v0.1.0 (/Users/luisan00/github/locha-p2p/miniupnpc-sys) | |
The following warnings were emitted during compilation: | |
warning: /Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/minissdpc.c:627:35: error: use of undeclared identifier 'IP_MULTICAST_TTL' | |
warning: if(setsockopt(sudp, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, sizeof(ttl)) < 0) | |
warning: ^ | |
warning: /Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/minissdpc.c:655:23: error: use of undeclared identifier 'INADDR_NONE' | |
warning: if(mc_if.s_addr != INADDR_NONE) | |
warning: ^ | |
warning: /Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/minissdpc.c:658:37: error: use of undeclared identifier 'IP_MULTICAST_IF' | |
warning: if(setsockopt(sudp, IPPROTO_IP, IP_MULTICAST_IF, (const char *)&mc_if, sizeof(mc_if)) < 0) | |
warning: ^ | |
warning: /Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/minissdpc.c:673:18: error: variable has incomplete type 'struct ifreq' | |
warning: struct ifreq ifr; | |
warning: ^ | |
warning: /Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/minissdpc.c:673:12: note: forward declaration of 'struct ifreq' | |
warning: struct ifreq ifr; | |
warning: ^ | |
warning: /Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/minissdpc.c:675:40: error: use of undeclared identifier 'IFNAMSIZ' | |
warning: strncpy(ifr.ifr_name, multicastif, IFNAMSIZ); | |
warning: ^ | |
warning: /Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/minissdpc.c:676:18: error: use of undeclared identifier 'IFNAMSIZ' | |
warning: ifr.ifr_name[IFNAMSIZ-1] = '\0'; | |
warning: ^ | |
warning: /Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/minissdpc.c:677:20: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' | |
warning: if(ioctl(sudp, SIOCGIFADDR, &ifr, &ifrlen) < 0) | |
warning: ^~~~~~~~~~~ | |
warning: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/sockio.h:94:25: note: expanded from macro 'SIOCGIFADDR' | |
warning: #define SIOCGIFADDR _IOWR('i', 33, struct ifreq) /* get ifnet address */ | |
warning: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
warning: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/ioccom.h:97:53: note: expanded from macro '_IOWR' | |
warning: #define _IOWR(g, n, t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) | |
warning: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | |
warning: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/ioccom.h:92:13: note: expanded from macro '_IOC' | |
warning: (inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num)) | |
warning: ^~~ | |
warning: /Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/minissdpc.c:673:12: note: forward declaration of 'struct ifreq' | |
warning: struct ifreq ifr; | |
warning: ^ | |
warning: /Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/minissdpc.c:682:37: error: use of undeclared identifier 'IP_MULTICAST_IF' | |
warning: if(setsockopt(sudp, IPPROTO_IP, IP_MULTICAST_IF, (const char *)&mc_if, sizeof(mc_if)) < 0) | |
warning: ^ | |
warning: 8 errors generated. | |
error: failed to run custom build command for `miniupnpc-sys v0.1.0 (/Users/luisan00/github/locha-p2p/miniupnpc-sys)` | |
Caused by: | |
process didn't exit successfully: `/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-d0d2ea67a562e723/build-script-build` (exit code: 1) | |
--- stdout | |
TARGET = Some("x86_64-apple-darwin") | |
OPT_LEVEL = Some("0") | |
HOST = Some("x86_64-apple-darwin") | |
CC_x86_64-apple-darwin = None | |
CC_x86_64_apple_darwin = None | |
HOST_CC = None | |
CC = None | |
CFLAGS_x86_64-apple-darwin = None | |
CFLAGS_x86_64_apple_darwin = None | |
HOST_CFLAGS = None | |
CFLAGS = None | |
CRATE_CC_NO_DEFAULTS = None | |
DEBUG = Some("true") | |
CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2,sse3,ssse3") | |
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-Wall" "-Wextra" "-DMINIUPNPC_SET_SOCKET_TIMEOUT" "-DMINIUPNPC_GET_SRC_ADDR" "-D_BSD_SOURCE" "-D_DEFAULT_SOURCE" "-D_XOPEN_SOURCE=600" "-o" "/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/miniwget.o" "-c" "/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/miniwget.c" | |
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-Wall" "-Wextra" "-DMINIUPNPC_SET_SOCKET_TIMEOUT" "-DMINIUPNPC_GET_SRC_ADDR" "-D_BSD_SOURCE" "-D_DEFAULT_SOURCE" "-D_XOPEN_SOURCE=600" "-o" "/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/minisoap.o" "-c" "/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/minisoap.c" | |
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-Wall" "-Wextra" "-DMINIUPNPC_SET_SOCKET_TIMEOUT" "-DMINIUPNPC_GET_SRC_ADDR" "-D_BSD_SOURCE" "-D_DEFAULT_SOURCE" "-D_XOPEN_SOURCE=600" "-o" "/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/igd_desc_parse.o" "-c" "/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/igd_desc_parse.c" | |
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-Wall" "-Wextra" "-DMINIUPNPC_SET_SOCKET_TIMEOUT" "-DMINIUPNPC_GET_SRC_ADDR" "-D_BSD_SOURCE" "-D_DEFAULT_SOURCE" "-D_XOPEN_SOURCE=600" "-o" "/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/minixml.o" "-c" "/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/minixml.c" | |
exit code: 0 | |
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-Wall" "-Wextra" "-DMINIUPNPC_SET_SOCKET_TIMEOUT" "-DMINIUPNPC_GET_SRC_ADDR" "-D_BSD_SOURCE" "-D_DEFAULT_SOURCE" "-D_XOPEN_SOURCE=600" "-o" "/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/miniupnpc.o" "-c" "/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/miniupnpc.c" | |
exit code: 0 | |
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-Wall" "-Wextra" "-DMINIUPNPC_SET_SOCKET_TIMEOUT" "-DMINIUPNPC_GET_SRC_ADDR" "-D_BSD_SOURCE" "-D_DEFAULT_SOURCE" "-D_XOPEN_SOURCE=600" "-o" "/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/upnpreplyparse.o" "-c" "/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/upnpreplyparse.c" | |
exit code: 0 | |
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-Wall" "-Wextra" "-DMINIUPNPC_SET_SOCKET_TIMEOUT" "-DMINIUPNPC_GET_SRC_ADDR" "-D_BSD_SOURCE" "-D_DEFAULT_SOURCE" "-D_XOPEN_SOURCE=600" "-o" "/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/upnpcommands.o" "-c" "/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/upnpcommands.c" | |
exit code: 0 | |
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-Wall" "-Wextra" "-DMINIUPNPC_SET_SOCKET_TIMEOUT" "-DMINIUPNPC_GET_SRC_ADDR" "-D_BSD_SOURCE" "-D_DEFAULT_SOURCE" "-D_XOPEN_SOURCE=600" "-o" "/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/upnperrors.o" "-c" "/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/upnperrors.c" | |
exit code: 0 | |
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-Wall" "-Wextra" "-DMINIUPNPC_SET_SOCKET_TIMEOUT" "-DMINIUPNPC_GET_SRC_ADDR" "-D_BSD_SOURCE" "-D_DEFAULT_SOURCE" "-D_XOPEN_SOURCE=600" "-o" "/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/connecthostport.o" "-c" "/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/connecthostport.c" | |
exit code: 0 | |
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-Wall" "-Wextra" "-DMINIUPNPC_SET_SOCKET_TIMEOUT" "-DMINIUPNPC_GET_SRC_ADDR" "-D_BSD_SOURCE" "-D_DEFAULT_SOURCE" "-D_XOPEN_SOURCE=600" "-o" "/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/portlistingparse.o" "-c" "/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/portlistingparse.c" | |
exit code: 0 | |
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-Wall" "-Wextra" "-DMINIUPNPC_SET_SOCKET_TIMEOUT" "-DMINIUPNPC_GET_SRC_ADDR" "-D_BSD_SOURCE" "-D_DEFAULT_SOURCE" "-D_XOPEN_SOURCE=600" "-o" "/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/receivedata.o" "-c" "/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/receivedata.c" | |
exit code: 0 | |
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-Wall" "-Wextra" "-DMINIUPNPC_SET_SOCKET_TIMEOUT" "-DMINIUPNPC_GET_SRC_ADDR" "-D_BSD_SOURCE" "-D_DEFAULT_SOURCE" "-D_XOPEN_SOURCE=600" "-o" "/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/upnpdev.o" "-c" "/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/upnpdev.c" | |
exit code: 0 | |
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-Wall" "-Wextra" "-DMINIUPNPC_SET_SOCKET_TIMEOUT" "-DMINIUPNPC_GET_SRC_ADDR" "-D_BSD_SOURCE" "-D_DEFAULT_SOURCE" "-D_XOPEN_SOURCE=600" "-o" "/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/minissdpc.o" "-c" "/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/minissdpc.c" | |
exit code: 0 | |
exit code: 0 | |
exit code: 0 | |
cargo:warning=/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/minissdpc.c:627:35: error: use of undeclared identifier 'IP_MULTICAST_TTL' | |
cargo:warning= if(setsockopt(sudp, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, sizeof(ttl)) < 0) | |
cargo:warning= ^ | |
cargo:warning=/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/minissdpc.c:655:23: error: use of undeclared identifier 'INADDR_NONE' | |
cargo:warning= if(mc_if.s_addr != INADDR_NONE) | |
cargo:warning= ^ | |
cargo:warning=/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/minissdpc.c:658:37: error: use of undeclared identifier 'IP_MULTICAST_IF' | |
cargo:warning= if(setsockopt(sudp, IPPROTO_IP, IP_MULTICAST_IF, (const char *)&mc_if, sizeof(mc_if)) < 0) | |
cargo:warning= ^ | |
cargo:warning=/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/minissdpc.c:673:18: error: variable has incomplete type 'struct ifreq' | |
cargo:warning= struct ifreq ifr; | |
cargo:warning= ^ | |
cargo:warning=/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/minissdpc.c:673:12: note: forward declaration of 'struct ifreq' | |
cargo:warning= struct ifreq ifr; | |
cargo:warning= ^ | |
cargo:warning=/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/minissdpc.c:675:40: error: use of undeclared identifier 'IFNAMSIZ' | |
cargo:warning= strncpy(ifr.ifr_name, multicastif, IFNAMSIZ); | |
cargo:warning= ^ | |
cargo:warning=/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/minissdpc.c:676:18: error: use of undeclared identifier 'IFNAMSIZ' | |
cargo:warning= ifr.ifr_name[IFNAMSIZ-1] = '\0'; | |
cargo:warning= ^ | |
cargo:warning=/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/minissdpc.c:677:20: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' | |
cargo:warning= if(ioctl(sudp, SIOCGIFADDR, &ifr, &ifrlen) < 0) | |
cargo:warning= ^~~~~~~~~~~ | |
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/sockio.h:94:25: note: expanded from macro 'SIOCGIFADDR' | |
cargo:warning=#define SIOCGIFADDR _IOWR('i', 33, struct ifreq) /* get ifnet address */ | |
cargo:warning= ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/ioccom.h:97:53: note: expanded from macro '_IOWR' | |
cargo:warning=#define _IOWR(g, n, t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) | |
cargo:warning= ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | |
cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/ioccom.h:92:13: note: expanded from macro '_IOC' | |
cargo:warning= (inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num)) | |
cargo:warning= ^~~ | |
cargo:warning=/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/minissdpc.c:673:12: note: forward declaration of 'struct ifreq' | |
cargo:warning= struct ifreq ifr; | |
cargo:warning= ^ | |
cargo:warning=/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/minissdpc.c:682:37: error: use of undeclared identifier 'IP_MULTICAST_IF' | |
cargo:warning= if(setsockopt(sudp, IPPROTO_IP, IP_MULTICAST_IF, (const char *)&mc_if, sizeof(mc_if)) < 0) | |
cargo:warning= ^ | |
cargo:warning=8 errors generated. | |
exit code: 1 | |
--- stderr | |
error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-Wall" "-Wextra" "-DMINIUPNPC_SET_SOCKET_TIMEOUT" "-DMINIUPNPC_GET_SRC_ADDR" "-D_BSD_SOURCE" "-D_DEFAULT_SOURCE" "-D_XOPEN_SOURCE=600" "-o" "/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/minissdpc.o" "-c" "/Users/luisan00/github/locha-p2p/target/debug/build/miniupnpc-sys-032252acbb7fffa4/out/miniupnp/miniupnpc/minissdpc.c" with args "cc" did not execute successfully (status code exit code: 1). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment