Mike Andrews wrote:
> C:/WINNT40/Profiles/SLSAND~1.RDG/LOCALS~1/Temp/cc0Eaaaa.o(.text+0x201):mkg3states.c:
> undefined reference to `getopt'
[...]
> For some reason it doesn't seem to be finding <getopt.h> although this
> should be in the include chain: "port.h" -> <unistd.h> -> <getopt.h>
>
You don't have "getopt" in you libraries.
It was not a problem with the include.
May be adding -lgetop will help...
Post a reply to this message
|