This is the mail archive of the cygwin@sourceware.cygnus.com 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]

Re: finds headers, then 'ignores' them


--- Wyndham Bolling Blanton <magneto@dirac.cchem.berkeley.edu> wrote:
> hello, thank you for the responce.
> 
> i don't think it is the smattering of different versions because each time
> i run into a problem i reinstall b20 (the older versions b18 b19 were on
> different machine) but below you will find the cygcheck output. if you
> have any ideas...
> 

see interspersed below.

> bo
> 
> -----------------------------------------------------------------
> 
> 
> Cygnus Win95/NT Configuration Diagnostics
> Current System Time: Mon Sep 20 13:18:54 1999
> 
> WinNT Ver 4.0 build 1381 Service Pack 5
> 
> Path:	/usr/bin
> 	/bin
> 	/cygwin-b20/H-i586-cygwin32/i586-cygwin32/bin
> 	/winnt/system32
> 	/bin
> 	.
-8<-

First, clean up the PATH variable so that only one copy of each directory
resides.

-8<-
>
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Favorites\cygnus
>   (default) = (unsupported type)
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin B20
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin B20\B20.1
> 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
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro\i586-cygwin32
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
> Solutions\GNUPro\i586-cygwin32\i586-cygwin32
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
> Solutions\GNUPro\i586-cygwin32\i586-cygwin32\cygwin-B20.1
>   (default) = `c:\cygwin-b20'
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Cygnus
> Cygwin B20
>   (default) = `C:\WINNT\IsUninst.exe -fc:\cygwin-b20\Uninst.isu'
>   DisplayName = `Cygwin B20'
> 
-8<-

Do you still have the GNUPro package installed?

-8<-
> a:\ fd           N/A    N/A                    
> c:\ hd  NTFS    2047Mb  86% CP CS UN PA FC     
> d:\ fd           N/A    N/A                    
> e:\ hd  NTFS   32679Mb  42% CP CS UN PA FC     
> f:\ cd           N/A    N/A                    
> 
> C:                                 /        native  text!=binary
> C:\cygwin-b20\H-i586-cygwin32\bin  /bin     native  text!=binary
> C:\cygwin-b20\etc                  /etc     native  text!=binary
> C:\temp                            /tmp     native  text!=binary
> C:\cygwin-b20\usr                  /usr     native  text!=binary
> 
> Found: C:\cygwin-b20\H-i586-cygwin32\bin\bash.exe
> Found: C:\cygwin-b20\H-i586-cygwin32\bin\cat.exe
> Not Found: cpp (good!)
> Found: C:\cygwin-b20\H-i586-cygwin32\bin\find.exe
> Found: C:\cygwin-b20\H-i586-cygwin32\bin\gcc.exe
> Found: C:\cygwin-b20\H-i586-cygwin32\bin\gdb.exe
-8<-

-8>-
> Found: C:\cygwin-b20\H-i586-cygwin32\bin\ld.exe
> Found: C:\cygwin-b20\H-i586-cygwin32\i586-cygwin32\bin\ld.exe
> Warning: C:\cygwin-b20\H-i586-cygwin32\bin\ld.exe hides
> C:\cygwin-b20\H-i586-cygwin32\i586-cygwin32\bin\ld.exe
-8<-

Here's the potential for your problem.  It appears that you've gcc installed in
two different places in your directory tree.  This can lead to confusing gcc as
to what is where thus it finds a header but doesn't use it.  NOTE: The path
that gcc uses to find the header is relative to the path where the specs file
resides which for cygwin is usually
/<pathto>/lib/gcc-lib/i586-cygwin32/<gcc-version-relative>/.

-8<-
> Found: C:\cygwin-b20\H-i586-cygwin32\bin\ls.exe
> Found: C:\cygwin-b20\H-i586-cygwin32\bin\make.exe
> Found: C:\cygwin-b20\H-i586-cygwin32\bin\sh.exe
> 
>   371k 1998/12/01 C:\cygwin-b20\H-i586-cygwin32\bin\cygtcl80.dll - os=4.0
> img=1.0 sys=4.0
>                   "cygtcl80.dll" v0.0 ts=1998/12/1 0:25
>     5k 1998/12/01 C:\cygwin-b20\H-i586-cygwin32\bin\cygtclpip80.dll -
> os=4.0 img=1.0 sys=4.0
>    10k 1998/12/01 C:\cygwin-b20\H-i586-cygwin32\bin\cygtclreg80.dll -
> os=4.0 img=1.0 sys=4.0
>                   "cygtclreg80.dll" v0.0 ts=1998/12/1 0:25
>   600k 1998/12/01 C:\cygwin-b20\H-i586-cygwin32\bin\cygtk80.dll - os=4.0
> img=1.0 sys=4.0
>                   "cygtk80.dll" v0.0 ts=1998/12/1 0:28
>   446k 1998/12/04 C:\cygwin-b20\H-i586-cygwin32\bin\cygwin1-old.dll -
> os=4.0 img=1.0 sys=4.0
>                   "cygwin1.dll" v0.0 ts=1998/12/3 20:39
>   451k 1999/09/19 C:\cygwin-b20\H-i586-cygwin32\bin\cygwin1.dll - os=4.0
> img=1.0 sys=4.0
>                   "cygwin1.dll" v0.0 ts=1999/1/15 21:09
> Use -h to see help about each section
> --------------------------------------------------------
> 
> On Sat, 18 Sep 1999, Earnie Boyd wrote:
> 
> > --- Wyndham Bolling Blanton <magneto@dirac.cchem.berkeley.edu> wrote:
> > > using gcc -H i can tell it has found the correct headers (string.h, etc),
> > > but then it refuses to believe that strings are strings (or for that
> > > matter any function declared in the headers, etc). it then poops out
> > > saying stuff like 'implict declaration of function printf.'  silly no?
> > > i've gotten b20.1, tried using both gcc 2.95 and the one that came with
> > > the 'full' distribution and no dice.  no silly environment variables set
> > > or anything like so.  if anybody has a clue, i would appriciate any help.
> > 
-8<-

Good Luck,

===
Earnie Boyd <mailto:earnie_boyd@yahoo.com>

Newbies, please visit
<http://www.freeyellow.com/members5/gw32/index.html>

(If you respond to the list, then please don't cc me)
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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