Recent cygwin update is missing tchar header file
Corinna Vinschen
corinna-cygwin@cygwin.com
Mon Jun 15 16:41:00 GMT 2015
Hi Jon,
any idea what happened to tchar.h in the latest w32api update?
On Jun 13 16:44, Thomas d'Otreppe wrote:
> Hi,
>
> I usually build aircrack-ng under cygwin and it works fine. However, due
> a recent update (in the w32api package I guess), it doesn't compile
> anymore and here is the output I get (latest version from aircrack-ng
> subversion repository: r2563):
>
> make -C src all
> make[1]: Entering directory '/home/Thomas/aircrack-ng-trunk/src'
> make -C osdep
> make[2]: Entering directory '/home/Thomas/aircrack-ng-trunk/src/osdep'
> Building for cygwin
> make[3]: Entering directory '/home/Thomas/aircrack-ng-trunk/src/osdep'
> gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=2563 -DCYGWIN -
> fstack-protector-strong -Wno-unused-but-set-variable -Wno-array-bounds
> -I.. -I/usr/include/mingw32 -c -o cygwin_tap.o cygwin_tap.c
> In file included from /usr/include/w32api/setupapi.h:27:0,
> from cygwin_tap.c:34:
> /usr/include/w32api/oledlg.h:28:19: fatal error: tchar.h: No such file
> or directory
> #include <tchar.h>
> ^
> compilation terminated.
> <builtin>: recipe for target 'cygwin_tap.o' failed
> make[3]: *** [cygwin_tap.o] Error 1
> make[3]: Leaving directory '/home/Thomas/aircrack-ng-trunk/src/osdep'
> Makefile:32: recipe for target 'all' failed
> make[2]: *** [all] Error 2
> make[2]: Leaving directory '/home/Thomas/aircrack-ng-trunk/src/osdep'
> Makefile:115: recipe for target 'osdep/libosdep.a' failed
> make[1]: *** [osdep/libosdep.a] Error 2
> make[1]: Leaving directory '/home/Thomas/aircrack-ng-trunk/src'
> Makefile:25: recipe for target 'all' failed
> make: *** [all] Error 2
>
> Basically, in one of the files included in an include in aircrack-ng
> (/usr/include/w32api/oledlg.h:28:19), there is a reference to tchar.h.
> That include doesn't exist and it breaks compilation. As I said, it used
> to compile just fine and this happened recently as you can see on
> another post: http://article.gmane.org/gmane.os.cygwin/153244/
Thanks,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150615/0eaccdd4/attachment.sig>
More information about the Cygwin
mailing list