This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
linker can't find getsubopt()
- From: "Maor Avni" <Maor dot Avni at ParthusCeva dot com>
- To: <cygwin at cygwin dot com>
- Date: Sun, 19 Jan 2003 18:34:59 +0200
- Subject: linker can't find getsubopt()
Hi,
I try to compile this simple program on cygwin:
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
int main()
{
getsubopt(0,0,0);
return 0;
}
gcc has no problem with the program, but when linking starts, the linker can't find
a reference to getsubopt.
I don't care about the program working or not, I just want to make it compile, as it will solve
several problems porting a Linux program to CYGWIN.
Any ideas?
Maor Avni
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/