'errno' was not declared in this scope

991 views
Skip to first unread message

Ajay

unread,
Dec 27, 2010, 2:20:03 AM12/27/10
to android-ndk
Hi,

I am migrating from ndk-r4b to r5. I am getting this error while
compiling:

'errno' was not declared in this scope.

With r4b I did not have this error. Anyone has a clue? Should I add
anything under LOCAL_C_INCLUDES in the .mk file?

Thank you,
Ajay

Igor R

unread,
Dec 27, 2010, 5:07:17 AM12/27/10
to andro...@googlegroups.com
> I am migrating from ndk-r4b to r5. I am getting this error while
> compiling:
>
> 'errno' was not declared in this scope.

Do you include errno.h?

Ajay

unread,
Dec 28, 2010, 5:57:56 AM12/28/10
to android-ndk
Yes I have included it.

It turns out I had my own file with the same name. Renaming my file
fixed it.

Thank you!
Ajay

Ajay

unread,
Dec 28, 2010, 6:16:55 AM12/28/10
to android-ndk
Now I am getting a link error....../../../../arm-linux-androideabi/bin/
ld.exe: cannot find <mylib>

Again this was working with r4

Thank you,
Ajay
Reply all
Reply to author
Forward
0 new messages