This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Problems building Octave 2.1.10 with b20
- To: William D Kirby <wdkirby at ix dot netcom dot com>
- Subject: Re: Problems building Octave 2.1.10 with b20
- From: Mumit Khan <khan at xraylith dot wisc dot edu>
- Date: Tue, 10 Nov 1998 16:44:44 -0600
- 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@ix.netcom.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@cygnus.com" with one line of text: "help".