linker can't find getsubopt()

Maor Avni Maor.Avni@ParthusCeva.com
Sun Jan 19 19:29:00 GMT 2003


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/


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /