Rick Hanson wrote: > Hi! I'm trying to build some software under cygwin which has calls to > a library function called 'fileno_unlocked'. My cygwin gcc cannot > find it, i.e. I get > > undefined reference to `_fileno_unlocked' > > at linktime. This function is apparently in libc on Linux and > BSD-like systems. Where can I find it on cygwin? Thanks for any > help. --Rick Just use plain fileno(). All the *_unlocked() functions are AFAIK just unlocked/thread unsfe versions of functions named before the underscore. The software you are trying to build should detect its (non)existence in its configure script and deal with it.
-- VH
signature.asc
Description: OpenPGP digital signature