Skip to content

webinspector.c:57:11: error: conflicting types for 'idevice_connection_get_fd' wi_status idevice_connection_get_fd #162

@xudafeng

Description

@xudafeng
➟ brew install ios-webkit-debug-proxy
==> Using the sandbox
==> Downloading https://github.com/google/ios-webkit-debug-proxy/archive/1.7.tar
Already downloaded: /Users/xdf/Library/Caches/Homebrew/ios-webkit-debug-proxy-1.7.tar.gz
==> ./autogen.sh
==> ./configure --prefix=/usr/local/Cellar/ios-webkit-debug-proxy/1.7
==> make install
Last 15 lines from /Users/xdf/Library/Logs/Homebrew/ios-webkit-debug-proxy/03.make:
clang -DHAVE_CONFIG_H -I. -I..  -I../include   -I/usr/local/Cellar/libxml2/2.9.4/include/libxml2 -I/usr/local/Cellar/libplist/1.12/include -I/usr/local/Cellar/usbmuxd/1.0.10_1/include -I/usr/local/Cellar/openssl/1.0.2h_1/include -I/usr/local/Cellar/libimobiledevice/HEAD-3fc7a85/include -I/usr/local/Cellar/libxml2/2.9.4/include/libxml2 -I/usr/local/Cellar/libplist/1.12/include -g -O2 -Wall -Werror -c -o ios_webkit_debug_proxy-base64.o `test -f 'base64.c' || echo './'`base64.c
webinspector.c:57:11: error: conflicting types for 'idevice_connection_get_fd'
wi_status idevice_connection_get_fd(idevice_connection_t connection,
          ^
/usr/local/Cellar/libimobiledevice/HEAD-3fc7a85/include/libimobiledevice/libimobiledevice.h:250:17: note: previous declaration is here
idevice_error_t idevice_connection_get_fd(idevice_connection_t connection, int *fd);
                ^
1 error generated.
make[1]: *** [webinspector.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/Cellar/libxml2/2.9.4/include/libxml2 -I/usr/local/Cellar/libplist/1.12/include -I/usr/local/Cellar/usbmuxd/1.0.10_1/include -I/usr/local/Cellar/openssl/1.0.2h_1/include -I/usr/local/Cellar/libimobiledevice/HEAD-3fc7a85/include -I/usr/local/Cellar/libxml2/2.9.4/include/libxml2 -I/usr/local/Cellar/libplist/1.12/include -g -O2 -Wall -Werror -c ios_webkit_debug_proxy.c -o ios_webkit_debug_proxy.o >/dev/null 2>&1
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/Cellar/libxml2/2.9.4/include/libxml2 -I/usr/local/Cellar/libplist/1.12/include -I/usr/local/Cellar/usbmuxd/1.0.10_1/include -I/usr/local/Cellar/openssl/1.0.2h_1/include -I/usr/local/Cellar/libimobiledevice/HEAD-3fc7a85/include -I/usr/local/Cellar/libxml2/2.9.4/include/libxml2 -I/usr/local/Cellar/libplist/1.12/include -g -O2 -Wall -Werror -c socket_manager.c -o socket_manager.o >/dev/null 2>&1
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/Cellar/libxml2/2.9.4/include/libxml2 -I/usr/local/Cellar/libplist/1.12/include -I/usr/local/Cellar/usbmuxd/1.0.10_1/include -I/usr/local/Cellar/openssl/1.0.2h_1/include -I/usr/local/Cellar/libimobiledevice/HEAD-3fc7a85/include -I/usr/local/Cellar/libxml2/2.9.4/include/libxml2 -I/usr/local/Cellar/libplist/1.12/include -g -O2 -Wall -Werror -c websocket.c -o websocket.o >/dev/null 2>&1
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/Cellar/libxml2/2.9.4/include/libxml2 -I/usr/local/Cellar/libplist/1.12/include -I/usr/local/Cellar/usbmuxd/1.0.10_1/include -I/usr/local/Cellar/openssl/1.0.2h_1/include -I/usr/local/Cellar/libimobiledevice/HEAD-3fc7a85/include -I/usr/local/Cellar/libxml2/2.9.4/include/libxml2 -I/usr/local/Cellar/libplist/1.12/include -g -O2 -Wall -Werror -c sha1.c -o sha1.o >/dev/null 2>&1
make: *** [install-recursive] Error 1

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
  https://github.com/Homebrew/homebrew-core/issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions