This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

flock() function


Hi,
	I am using Cygwin B20. I am trying to use the flock() function. I
included the file <sys/file.h>. But when I link, I still get a "undefined
reference to 'flock'". I am linking with the standard libc.a found under
cygnus\cygwin-B20\H-i586-cygwin32\i586-cygwin32\lib directory.

	Also, I have some C files developed under SunOS, which do a
"fprintf(stderr, "%s: ", cmdname);".  The error outputted by the Cygwin
gcc is "undefined reference to '_iob'".

Can anybody help?

Thanks,
Nirmal.




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com