public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* missing export
@ 2000-09-29  0:34 Hans Saputra
  2000-09-29  5:42 ` Corinna Vinschen
  0 siblings, 1 reply; 2+ messages in thread
From: Hans Saputra @ 2000-09-29  0:34 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 565 bytes --]

I've just installed cygwin but this problem comes out when i want to compile
my code.
I did reinstall the cygwin.
Can anyone help me with this problem?

$ gcc test.c -o test.exe
gcc: installation problem, cannot exec
`/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/c
pp.exe': Permission denied

msgbox popup =>
Error Starting Program
The CPP.EXE file is linked to missing export CYGWIN1DLL-_ctype_.


$ mkpasswd -l > /etc/passwd
BASH.EXE: /usr/bin/mkpasswd: Permission denied

msgbox popup =>
The MKPASSWD.EXE file is linked to missing export
NETAPI32.DLL:NetApiBufferFree

[-- Attachment #2: SysInfo --]
[-- Type: text/x-Algol68, Size: 2625 bytes --]


Cygnus Win95/NT Configuration Diagnostics
Current System Time: Fri Sep 29 15:29:17 2000

Win9X Ver 4.90 build 73010104  

Path:	/usr/local/bin
	/usr/bin
	/usr/bin
	/cygdrive/c/WINDOWS
	/cygdrive/c/WINDOWS/COMMAND
	/cygdrive/c/PROGRA~1/SYMANTEC/PCANYW~1/
	/cygdrive/c/PROGRA~1/ULTRAE~1
	/cygdrive/c/PROGRA~1/NETWOR~1/PGP

SysDir: C:\WINDOWS\SYSTEM
WinDir: C:\WINDOWS

HOME = `/home/hans'
MAKE_MODE = `unix'
PWD = `/cygdrive/c/pub'
USER = `hans'

Use `-r' to scan registry

a:  fd           N/A    N/A                    
c:  hd  FAT32   9990Mb  85% CP    UN           
d:  hd  FAT32   3026Mb  81% CP    UN           
e:  cd           N/A    N/A                    

C:\cygwin\bin  /usr/bin  system  binmode
C:\cygwin\lib  /usr/lib  system  binmode
C:\cygwin  /        system  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
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

  446k 1999/07/01 C:\WINDOWS\cygwin1.dll
    Cygwin DLL version info:
        dll major: 20
        dll minor: 1
        dll epoch: 19
        dll bad signal mask: 19005
        api major: 0
        api minor: 3
        shared data: 1
        dll identifier: cygwin
        mount registry: 1
        cygnus registry name: Cygnus Solutions
        cygwin registry name: CYGWIN.DLL setup
        program options name: Program Options
        cygwin mount registry name: b15.0
        build date: Thu Dec 3 20:39:18 PST 1998
        CVS taggnu-win32-b20-branch: 
        shared id: cygwinS1

   83k 2000/06/11 C:\cygwin\bin\cygitcl30.dll
   35k 2000/06/11 C:\cygwin\bin\cygitk30.dll
  402k 2000/06/11 C:\cygwin\bin\cygtcl80.dll
    5k 2000/06/11 C:\cygwin\bin\cygtclpip80.dll
   10k 2000/06/11 C:\cygwin\bin\cygtclreg80.dll
  639k 2000/06/11 C:\cygwin\bin\cygtk80.dll
  586k 2000/08/04 C:\cygwin\bin\cygwin1.dll
    Cygwin DLL version info:
        dll major: 1001
        dll minor: 4
        dll epoch: 19
        dll bad signal mask: 19005
        dll old termios: 5
        api major: 0
        api minor: 26
        shared data: 3
        dll identifier: cygwin1
        mount registry: 2
        cygnus registry name: Cygnus Solutions
        cygwin registry name: Cygwin
        program options name: Program Options
        cygwin mount registry name: mounts v2
        build date: Thu Aug 3 20:53:46 EDT 2000
        CVS tag: cygwin-1-1-4
        shared id: cygwin1S3

Use -h to see help about each section


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: missing export
  2000-09-29  0:34 missing export Hans Saputra
@ 2000-09-29  5:42 ` Corinna Vinschen
  0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2000-09-29  5:42 UTC (permalink / raw)
  To: cygwin

Hans Saputra wrote:
> msgbox popup =>
> The MKPASSWD.EXE file is linked to missing export
> NETAPI32.DLL:NetApiBufferFree

You can't use mkpasswd on 9X/ME systems since most NetApi functions
are available on NT/W2K only. mkpasswd uses the NT user database (which
isn't part of 9X obviously) to create a passwd file.

Simply write your /etc/passwd by hand. Example:

Call `id' on the command line:

uid=500(hans) gid=544(unknown) groups=544(unknown)

and create /etc/passwd:

hans::500:544:Hans Saputra:/home/hans:/bin/bash

and /etc/group:

unknown::544:

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                        mailto:cygwin@sources.redhat.com
Red Hat, Inc.
mailto:vinschen@cygnus.com

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-09-29  5:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-29  0:34 missing export Hans Saputra
2000-09-29  5:42 ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).