Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jul 1996 13:38:54 +0000 ()
From:      James Raynard <fqueries@jraynard.demon.co.uk>
To:        andrsn@andrsn.stanford.edu
Cc:        questions@freebsd.org
Subject:   Re: Cleanup after make world..
Message-ID:  <199607281338.NAA02323@jraynard.demon.co.uk>
In-Reply-To: <Pine.BSI.3.94.960727234523.16812A-100000@andrsn.stanford.edu> from "Annelise Anderson" at Jul 27, 96 11:56:27 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> I tried this, having updated the sources with sup just a few days
> ago, and it quit rather soon with:
> 
> cc -O -DLIBC_RCS -DSYSLIBC_RCS -D__DBINTERFACE_PRIVATE -DPOSIX_MISTAKE 
>   -I/usr/src/lib/libc/locale -DYP -c /usr/src/lib/libc/gen/getpass.c 
>   -o getpass.o
> cc -O -DLIBC_RCS -DSYSLIBC_RCS -D__DBINTERFACE_PRIVATE -DPOSIX_MISTAKE 
>   -I/usr/src/lib/libc/locale -DYP -c /usr/src/lib/libc/gen/getpwent.c 
>   -o getpwent.o
> /usr/src/lib/libc/gen/getpwent.c: In function `verf':
> /usr/src/lib/libc/gen/getpwent.c:496: `_PW_KEYYPBYNUM' undeclared 
>   (first use this function)
[...]

> I added some carriage returns to make the above more readable--I am not
> using crypt or kerberos and didn't get the DES sources, but also didn't
> use the -DNOCRYPT option on the command line, since it worked without
> this before.  Any idea what went wrong here?  (I assume 496 is an error
> code that means "undeclared identifier," but I don't know where to 
> look it up.)

Simpler than that, actually - it means the error occurred in line number
496 of /usr/src/lib/libc/get/getpwent.c.  In this case, a variable is
referenced which hasn't been declared.

I think the problem here is that one of the system header files has
changed and the new version needs to be installed before the 
compilation will succeed.  Try doing 'make includes' first - if
that doesn't straighten things out, you're probably looking at a
'make world'.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607281338.NAA02323>