newlib and the use of fcntl by java
Tue Sep 17 06:39:00 GMT 2002
Hmm, it appears that java is making use of the fcntl function in newlib
(or at least, it is trying to). This is a problem, since most embedded
targets don't provide this function. The function fcntl always exists in
newlib's libc.a, but on most targets it will call a non-existent function
_fcntl which causes a link error.
I think there are two problems that need to be fixed here:
1) newlib shouldn't provide fcntl on configurations where _fcntl doesn't
2) Java needs to cope with the absence of this function.
More information about the Newlib