[Bug 2085] New: fd_mask and howmany are not defined in Android
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Fri Apr 5 05:16:23 EST 2013
https://bugzilla.mindrot.org/show_bug.cgi?id=2085
Bug ID: 2085
Summary: fd_mask and howmany are not defined in Android
Classification: Unclassified
Product: Portable OpenSSH
Version: 6.2p1
Hardware: All
OS: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Build system
Assignee: unassigned-bugs at mindrot.org
Reporter: nathan.osman at gmail.com
Created attachment 2230
--> https://bugzilla.mindrot.org/attachment.cgi?id=2230&action=edit
adds appropriate definitions when cross-compiling for Android
This is the first of a few patches that I will be submitting - I am
attempting to get OpenSSH to cross-compile for the Android platform.
Android does not define fd_mask or howmany - and therefore
channels.c:2143 and channels.c:2145 cause compilation to fail with
errors:
channels.c: In function 'channel_prepare_select':
channels.c:2143:2: warning: implicit declaration of function
'howmany' [-Wimplicit-function-declaration]
channels.c:2145:45: error: 'fd_mask' undeclared (first use in this
function)
The attached patch adds a couple of definitions that will work around
this problem.
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list