Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: Jason Moxham Message-Id: <200006231642.RAA18848@malus.maths.soton.ac.uk> Subject: RAS missing from header files To: cygwin AT sourceware DOT cygnus DOT com Date: Fri, 23 Jun 2000 17:42:45 +0100 (BST) X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Using latest cygwin under W98/2 the c program #include int main(void) { HRASCONN plop; return 0;} does not compile using gcc plop.c -o plop.exe -lrasapi32 NOTE it does compile under B20.1 +gcc2.95.2 doing a grep -e RASCONN `find -name \*.h` under B20.1 gives BASH.EXE-2.04$ grep -e RASCONN `find -name \*.h` ./CYGNUS/cygwin-b20/H-i586-cygwin32/i586-cygwin32/INCLUDE/Windows32/Base.h:typed ef HANDLE HRASCONN; ./CYGNUS/cygwin-b20/H-i586-cygwin32/i586-cygwin32/INCLUDE/Windows32/Base.h:typed ef enum _RASCONNSTATE { ./CYGNUS/cygwin-b20/H-i586-cygwin32/i586-cygwin32/INCLUDE/Windows32/Base.h:} RAS CONNSTATE ; ./CYGNUS/cygwin-b20/H-i586-cygwin32/i586-cygwin32/INCLUDE/Windows32/Structures.h :typedef struct _RASCONN { ./CYGNUS/cygwin-b20/H-i586-cygwin32/i586-cygwin32/INCLUDE/Windows32/Structures.h : HRASCONN hrasconn; ./CYGNUS/cygwin-b20/H-i586-cygwin32/i586-cygwin32/INCLUDE/Windows32/Structures.h :} RASCONN ; ./CYGNUS/cygwin-b20/H-i586-cygwin32/i586-cygwin32/INCLUDE/Windows32/Structures.h :typedef struct _RASCONNSTATUS { ./CYGNUS/cygwin-b20/H-i586-cygwin32/i586-cygwin32/INCLUDE/Windows32/Structures.h : RASCONNSTATE rasconnstate; ./CYGNUS/cygwin-b20/H-i586-cygwin32/i586-cygwin32/INCLUDE/Windows32/Structures.h :} RASCONNSTATUS; BASH.EXE-2.04$ but under latest cygwin gives no files at all Jason Moxham j DOT l DOT moxham AT maths DOT soton DOT ac DOT uk Please CC to me Thanks cygcheck output is Cygnus Win95/NT Configuration Diagnostics Current System Time: Fri Jun 23 18:54:29 2000 Win9X Ver 4.10 build 67766446 A Path: /usr/bin /USR/LOCAL/BIN /cygdrive/c/WINDOWS /cygdrive/c/WINDOWS/COMMAND SysDir: C:\WINDOWS\SYSTEM WinDir: C:\WINDOWS MAKE_MODE = `unix' PWD = `/cygdrive/c/WINDOWS' !C: = `C:\WINDOWS' BLASTER = `A220 I5 D1' CMDLINE = `bash' COMSPEC = `C:\WINDOWS\COMMAND.COM' HOSTNAME = `V3J5L5' HOSTTYPE = `i586' MACHTYPE = `i586-pc-cygwin' OSTYPE = `cygwin' PROMPT = `$p$g' SHELL = `/bin/sh' SHLVL = `1' TEMP = `C:\WINDOWS\TEMP' TERM = `cygwin' TMP = `C:\WINDOWS\TEMP' WINBOOTDIR = `C:\WINDOWS' WINDIR = `C:\WINDOWS' _ = `/usr/bin/cygcheck' TZ = `GMTST0GMTDT-1,M3.5.0/1,M10.5.0/2' HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu\&Programs\Cygnus Solutions (default) = (unsupported type) HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x00000020 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `C:\cygwin' flags = 0x00000002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `C:\cygwin\bin' flags = 0x00000002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `C:\cygwin\lib' flags = 0x00000002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0 HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00 (default) = `C:' unix = `/' fbinary = 0x00000000 fsilent = 0x00000000 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\Installed Components HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\Installed Components\C:/cygwin (default) = `0000' bash = `0002.0004.0001' binutils = `19990818.0002' bison = `0000' ash = `20000517' bzip = `0000' clear = `0001.0000' crypt = `0001.0000' cygwin = `0001.0001.0002' dejagnu = `0000' diff = `0000' expect = `0000' fileutils = `0000' findutils = `0000' flex = `0000' gawk = `0000' gcc = `0002.0095.0002.0002' gdb = `20000610' gperf = `0000' grep = `0000' groff = `0001.011a.0001' gzip = `0000' inetutils = `0001.0003.0002.0004' less = `0000' libpng = `0001.0000.0006.0001' login = `0001.0003' m = `0000' make = `0003.0079.0001' man = `0001.005g.0002' patch = `0000' sed = `0003.0002.0001' shellutils = `0000' tar = `0000' tcltk = `20000610' termcap = `20000618.0001' texinfo = `0000' textutils = `0000' time = `0000' zlib = `0001.0001.0003.0001' HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\03 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\04 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\05 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\06 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\07 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\08 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\09 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0A HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0B HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0C HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0D HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0E HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0F HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\10 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\11 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\12 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\13 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\14 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\15 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\16 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\17 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\18 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\19 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1A HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1B HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1C HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1D a: fd N/A N/A c: hd FAT 948Mb 82% CP UN d: hd FAT32 5879Mb 44% CP UN e: cd N/A N/A C:\cygwin\bin /usr/bin user binmode C:\cygwin\lib /usr/lib user binmode C:\cygwin / user binmode Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.exe Found: C:\cygwin\bin\cpp.exe Found: C:\cygwin\bin\find.exe Found: c:\WINDOWS\COMMAND\find.exe Warning: C:\cygwin\bin\find.exe hides c:\WINDOWS\COMMAND\find.exe Found: C:\cygwin\bin\gcc.exe Found: C:\cygwin\bin\gdb.exe Found: C:\cygwin\bin\ld.exe Found: C:\cygwin\bin\ls.exe Found: C:\cygwin\bin\make.exe Found: C:\cygwin\bin\sh.exe Found: \bin\sh.exe Warning: C:\cygwin\bin\sh.exe hides \bin\sh.exe 575k 2000/06/07 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=2000/6/7 3:20 83k 2000/06/11 C:\cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0 "cygitcl30.dll" v0.0 ts=2000/6/11 4:34 35k 2000/06/11 C:\cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0 "cygitk30.dll" v0.0 ts=2000/6/11 4:34 402k 2000/06/11 C:\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0 "cygtcl80.dll" v0.0 ts=2000/6/11 4:30 5k 2000/06/11 C:\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0 10k 2000/06/11 C:\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0 "cygtclreg80.dll" v0.0 ts=2000/6/11 4:30 639k 2000/06/11 C:\cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0 "cygtk80.dll" v0.0 ts=2000/6/11 4:34 Use -h to see help about each section -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com