This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Recent cygwin update is missing tchar header file


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/


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]