delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/11/11/11:21:15

From: khan AT xraylith DOT wisc DOT edu (Mumit Khan)
Subject: Re: Problems building Octave 2.1.10 with b20
11 Nov 1998 11:21:15 -0800 :
Message-ID: <9811102244.AA16887.cygnus.gnu-win32@modi.xraylith.wisc.edu>
References: <36473288 DOT E68EF70A AT ix DOT netcom DOT com>
To: William D Kirby <wdkirby AT ix DOT netcom DOT com>
Cc: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>,
"Eaton, John W." <jwe AT bevo DOT che DOT wisc DOT edu>

William D Kirby <wdkirby AT ix DOT netcom DOT com> writes:
> I have been trying to build GNU Octave development version 2.1.10 using
> cygwin b20. When I executed it I get the error message "Fatal: invalid
> password object".
> 
> John Eaton sent me the following test program which compiled fine, but
> outputted nothing when executed.

[ ... code elided ... ]

>   struct passwd *pw = getpwuid (getuid ());
> 
>   printf ("name:   %s\n", pw->pw_name);

Are you certain that there is a /etc/passwd file, and if so, it has no
cr/lf if the mount is binary? Works for me on a b20 box. Please check for 
null return just to make sure.

> 
> Then I tried a simpler program than above which produced an error.
> 
> int
> main (void)
> {
> 
>  printf ("hello\n");
>  printf ("%s\n",getuid ());
           ^^^^
	   does %d give you the same error?

Regards,
Mumit

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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