delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/04/02/12:52:53

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Date: Fri, 2 Apr 1999 11:51:49 -0500 (EST)
From: Nirmal Vuppuluri <vuppun AT hardy DOT ntd DOT comsat DOT com>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: flock() function
Message-ID: <Pine.SOL.3.95.990402114259.18629C-100000@hardy>
MIME-Version: 1.0

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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019