Skip to content
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

Built Api-Testing-Target got SOL_SOCKET issue #1

Open
n2k3b1 opened this issue Apr 11, 2017 · 3 comments
Open

Built Api-Testing-Target got SOL_SOCKET issue #1

n2k3b1 opened this issue Apr 11, 2017 · 3 comments

Comments

@n2k3b1
Copy link

n2k3b1 commented Apr 11, 2017

After pull source code and build it. I got errors such as following. Could you please advise me for this?

/home/nake/working/perfectswift/API-Testing-Target/Sources/APITestingTarget/utility/cmd.swift:33:30: error: use of unresolved identifier 'SO_NOSIGPIPE'
setsockopt(fd, SOL_SOCKET, SO_NOSIGPIPE, &one, UInt32(MemoryLayout.size));
^~~~~~~~~~~~
/home/nake/working/perfectswift/API-Testing-Target/Sources/APITestingTarget/utility/cmd.swift:84:15: error: cannot assign value of type 'Int32' to type '__suseconds_t' (aka 'Int')
tv.tv_usec = Int32((milliseconds%1000)*1000)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

:0: error: build had 1 command failures
error: exit(1): /usr/bin/swift-build-tool -f /home/nake/working/perfectswift/API-Testing-Target/.build/debug.yaml

@HotWordland
Copy link

same error

@vmalov
Copy link

vmalov commented May 14, 2017

same

1 similar comment
@marcinolek
Copy link

same

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

4 participants