Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
xudafeng opened this issue Sep 22, 2016 · 5 comments

Comments

@xudafeng
Copy link

➟ 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
@xudafeng
Copy link
Author

image

@artygus
Copy link
Collaborator

artygus commented Sep 22, 2016

hi @xudafeng, could you please try to build from libimobiledevice_idevice_connection branch

@shusso
Copy link

shusso commented Sep 27, 2016

@artygus seems to fix the issue on el-capitan for me. When can we expect to #159 get merged?

@artygus
Copy link
Collaborator

artygus commented Sep 27, 2016

@shusso when new version of libimobiledevice is out, I got too many complains about failing builds when rolled out the fix before

@artygus artygus closed this as completed Sep 27, 2016
@shusso
Copy link

shusso commented Sep 28, 2016

@artygus thanks, yeah I can imagine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants