search for: __imp__optarg

Displaying 2 results from an estimated 2 matches for "__imp__optarg".

2003 Sep 10
3
[PATCH] No extern declarations of optarg & co if getopt.h is available
Hi, I have a problem with the extern declarations of optarg, optind, etc. We're currently moving getopt from being a statically linked function to a dynamically linked function as part of the Cygwin DLL. On Windows, this requires to generate special symbols (__imp__optarg, etc.), which is done by marking the exported variables in the corresponding header. Instead of extern char *optarg; getopt.h now contains extern char __declspec(dllimport) *optarg; I'm sorry, but that's not my invention. Now the problem. ssh.c, sshd.c and a lot of other files do...
2009 Jul 29
3
Building on cygwin: xcrypt error
...s from auto-imported DLLs.openbsd-compat//libopenbsd-compat.a(xcrypt.o): In funct ion `xcrypt': /home/e/openssh-5.2p1/openbsd-compat/xcrypt.c:78: undefined reference to `_crypt ' Info: resolving ___progname by linking to __imp____progname (auto-import) Info: resolving _optarg by linking to __imp__optarg (auto-import) Info: resolving _optind by linking to __imp__optind (auto-import) Info: resolving _optreset by linking to __imp__optreset (auto-import) collect2: ld returned 1 exit status make: *** [sshd.exe] Error 1 e at pc ~/openssh-5.2p1 $ After -- How Strong is Your Score? Click here to see...