delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/06/13/12:50:28

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=FBg
qBReGyx483GwYmycwZcil0yGsXE0VS8yQxIn/xQdvYyGJfPdDsSS8A/67gFk87p9
GpsxqQbrBz7mQCrJumgtsuPt0B9iq6ONrCa4FpS/ETOIGf3g0sXD8A3jeWGsgDMd
ClUT89355i8ekFf1z3SHlpxJ2+nCI5ll4NtnfL1g=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; s=default; bh=YqWZXhp5D
CVH8V8akCv8BR1NWyU=; b=SIakgozMcl9A9TWdmR1xWlLBj5bWgSVC8ft3bxWsg
UrSaXr2dPaufalaptsO23awy+tL8lqeZ4+UFxlTW5QNU7PNRIxmbfHtmOqeUbKOS
HFY2PEHBCW85fwYNuydQcNHtNY2qdQiDKMMquYYLPjd9O75TstVxlvAXPsezJXQp
ao=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: "Thomas d'Otreppe" <tdotreppe AT aircrack-ng DOT org>
Subject: Recent cygwin update is missing tchar header file
Date: Sat, 13 Jun 2015 16:44:35 +0000 (UTC)
Lines: 40
Message-ID: <loom.20150613T183650-316@post.gmane.org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019