This is the mail archive of the cygwin@sources.redhat.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: GCC: cpp cannot exec program (permission denied) (w98 and2000professional)


You've also got three copies of cygwin1.dll (plus an extra one called
'cygwindevo.dll'. That's bad. Get rid of all but the one in /bin, and
put d:\progra~1\cygwin\bin in your windows path.

--Cbuck


Johnathan Daze wrote:
> 
> win error popup
> cpp.exe - Entry Point Not Found
> The procedure entry point _ctype_ could not be located in the dynamic link
> library cygwin1.dll.
> 
> After executing "gcc file.c" or "cpp file.c" I get the following.
> cpp: installation problem, cannot exec
> `/usr/lib/gcc-lib/i386-pc-cygwin/2.95.2/cpp.exe': Permission denied
> 
> (this is not displayed on the 2000 machine)
> This is done on two seperate machines with same error, both on the D
> drive,
> under \progra~1\cygwin with a multiple user install.
> 
> (this is my first time trying cygwin)
> 
> Cygnus Win95/NT Configuration Diagnostics
> Current System Time: Mon Jul 24 05:35:37 2000
> 
> WinNT Ver 5.0 build 2195
> 
> Path: /cygdrive/d/WINNT/system32
>  /cygdrive/d/WINNT
>  /cygdrive/d/WINNT/System32/Wbem
>  /cygdrive/c/DJGPP/BIN
>  .
> 
> SysDir: D:\WINNT\System32
> WinDir: D:\WINNT
> 
> !C: = `C:\'
> !D: = `D:\PROGRA~1\cygwin\bin'
> !EXITCODE = `00000000'
> !S: = `S:\'
> ALLUSERSPROFILE = `D:\Documents and Settings\All Users'
> APPDATA = `D:\Documents and Settings\Administrator\Application Data'
> COMMONPROGRAMFILES = `D:\Program Files\Common Files'
> COMPUTERNAME = `DAEMONREALM'
> COMSPEC = `D:\WINNT\system32\cmd.exe'
> DJGPP = `C:\DJGPP\DJGPP.ENV'
> HOMEDRIVE = `D:'
> HOMEPATH = `\'
> LOGONSERVER = `\\DAEMONREALM'
> NUMBER_OF_PROCESSORS = `1'
> OS = `Windows_NT'
> OS2LIBPATH = `D:\WINNT\system32\os2\dll;'
> PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
> PROCESSOR_ARCHITECTURE = `x86'
> PROCESSOR_IDENTIFIER = `x86 Family 5 Model 8 Stepping 12, AuthenticAMD'
> PROCESSOR_LEVEL = `5'
> PROCESSOR_REVISION = `080c'
> PROGRAMFILES = `D:\Program Files'
> PROMPT = `$P$G'
> SYSTEMDRIVE = `D:'
> SYSTEMROOT = `D:\WINNT'
> TEMP = `D:\DOCUME~1\ADMINI~1\LOCALS~1\Temp'
> TMP = `D:\DOCUME~1\ADMINI~1\LOCALS~1\Temp'
> USERDOMAIN = `DAEMONREALM'
> USERNAME = `Administrator'
> USERPROFILE = `D:\Documents and Settings\Administrator'
> WINDIR = `D:\WINNT'
> TERM = `cygwin'
> TZ = `PST8PDT7,M4.1.0/2,M10.5.0/2'
> 
> 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\/dev/fd0
>   (default) = `\\.\a:'
>   flags = 0x00000000
> HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/dev/fd1
>   (default) = `\\.\b:'
>   flags = 0x00000000
> HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/dev/st0
>   (default) = `\\.\tape0:'
>   flags = 0x00000000
> HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/dev/st1
>   (default) = `\\.\tape1:'
>   flags = 0x00000000
> 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) = `\\.\tape1:'
>   unix = `/dev/st1'
>   fbinary = 0x00000000
>   fsilent = 0x00000001
> HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\01
>   (default) = `\\.\tape0:'
>   unix = `/dev/st0'
>   fbinary = 0x00000000
>   fsilent = 0x00000001
> HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\02
>   (default) = `\\.\b:'
>   unix = `/dev/fd1'
>   fbinary = 0x00000000
>   fsilent = 0x00000001
> HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\03
>   (default) = `\\.\a:'
>   unix = `/dev/fd0'
>   fbinary = 0x00000000
>   fsilent = 0x00000001
> HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\04
>   (default) = `D:'
>   unix = `/'
>   fbinary = 0x00000000
>   fsilent = 0x00000000
> HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrd
> er\Start Menu\Programs\Cygnus Solutions
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
>   (default) = `D:\progra~1\cygwin'
>   flags = 0x00000008
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
>   (default) = `D:/progra~1/cygwin/bin'
>   flags = 0x00000008
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
>   (default) = `D:/progra~1/cygwin/lib'
>   flags = 0x00000008
> 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  FAT32   3499Mb  94% CP    UN
> d:  hd  FAT32   4125Mb  86% CP    UN           DISK2_VOL1
> f:  cd  CDFS     105Mb 100%    CS UN           NEW
> g:  cd           N/A    N/A
> s:  net FAT32   2990Mb  96% CP    UN
> y:  net FAT32   4117Mb  68% CP    UN           SYSTEM
> z:  net FAT32   3014Mb  84% CP    UN
> 
> D:\progra~1\cygwin\bin  /usr/bin  system  textmode
> D:\progra~1\cygwin\lib  /usr/lib  system  textmode
> D:\progra~1\cygwin  /        system  textmode
> \\.\tape0:  /dev/st0  user    textmode
> \\.\tape1:  /dev/st1  user    textmode
> \\.\a:  /dev/fd0  user    textmode
> \\.\b:  /dev/fd1  user    textmode
> 
> Found: .\bash.exe
> Found: .\cat.exe
> Found: .\cpp.exe
> Found: .\find.exe
> Found: .\gcc.exe
> Found: .\gdb.exe
> Found: .\ld.exe
> Found: .\ls.exe
> Found: .\make.exe
> Found: .\sh.exe
> 
>   575k 2000/06/07 .\cygwin1.dll - os=4.0 img=1.0 sys=4.0
>                   "cygwin1.dll" v0.0 ts=2000/6/6 19:20
>    83k 2000/06/11 .\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
>                   "cygitcl30.dll" v0.0 ts=2000/6/10 20:34
>    35k 2000/06/11 .\cygitk30.dll - os=4.0 img=1.0 sys=4.0
>                   "cygitk30.dll" v0.0 ts=2000/6/10 20:34
>   402k 2000/06/11 .\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
>                   "cygtcl80.dll" v0.0 ts=2000/6/10 20:30
>     5k 2000/06/11 .\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
>    10k 2000/06/11 .\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
>                   "cygtclreg80.dll" v0.0 ts=2000/6/10 20:30
>   639k 2000/06/11 .\cygtk80.dll - os=4.0 img=1.0 sys=4.0
>                   "cygtk80.dll" v0.0 ts=2000/6/10 20:34
>   575k 2000/06/07 .\cygwin1.dll - os=4.0 img=1.0 sys=4.0
>                   "cygwin1.dll" v0.0 ts=2000/6/6 19:20
>    83k 2000/06/11 .\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
>                   "cygitcl30.dll" v0.0 ts=2000/6/10 20:34
>    35k 2000/06/11 .\cygitk30.dll - os=4.0 img=1.0 sys=4.0
>                   "cygitk30.dll" v0.0 ts=2000/6/10 20:34
>   402k 2000/06/11 .\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
>                   "cygtcl80.dll" v0.0 ts=2000/6/10 20:30
>     5k 2000/06/11 .\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
>    10k 2000/06/11 .\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
>                   "cygtclreg80.dll" v0.0 ts=2000/6/10 20:30
>   639k 2000/06/11 .\cygtk80.dll - os=4.0 img=1.0 sys=4.0
>                   "cygtk80.dll" v0.0 ts=2000/6/10 20:34
>   601k 1999/11/09 D:\WINNT\System32\cygwindevo.dll - os=4.0 img=1.0
> sys=4.0
>                   "cygwindevo.dll" v0.0 ts=1998/6/12 14:25
>   446k 2000/03/31 D:\WINNT\System32\cygwin1.dll - os=4.0 img=1.0 sys=4.0
>                   "cygwin1.dll" v0.0 ts=1998/12/3 20:39
>   446k 2000/03/31 D:\WINNT\SYSTEM\cygwin.dll - os=4.0 img=1.0 sys=4.0
>                   "cygwin1.dll" v0.0 ts=1998/12/3 20:39
> Use -h to see help about each section
> 
> daswasme@sdf.lonestar.org
> SDF Public Access UNIX System - http://sdf.lonestar.org
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.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]