At 12:58 AM -0700 9/5/02, walt wrote:
>cc -O -pipe -mcpu=pentiumpro    -c /usr/src/usr.bin/gcore/elfcore.c
>/usr/src/usr.bin/gcore/elfcore.c: In function `elf_coredump':
>/usr/src/usr.bin/gcore/elfcore.c:128: syntax error before "nleft"
>/usr/src/usr.bin/gcore/elfcore.c:131: `nleft' undeclared (first use 
>in this function)
>/usr/src/usr.bin/gcore/elfcore.c:131: (Each undeclared identifier is 
>reported only once
>/usr/src/usr.bin/gcore/elfcore.c:131: for each function it appears in.)

I suspect it was broken as part of the commit:

dwmalone    2002/09/04 16:29:10 PDT
   ANSIify function definitions.
   Add some constness to avoid some warnings.
   Remove use register keyword.
   Deal with missing/unneeded extern/prototypes.
   Some minor type changes/casts to avoid warnings.

   Reviewed by:    md5

   Revision  Changes    Path
   ...        ...       ...
   1.11      +10 -9     src/usr.bin/gcore/elfcore.c
   1.28      +3 -1      src/usr.bin/gcore/gcore.c
   1.6       +3 -3      src/usr.bin/gcore/md-nop.c
   ...        ...       ...

I think it just needs to  #include <stdint.h>
if you want to try a quick fix so you can finish the buildworld.
Garance Alistair Drosehn            =   [EMAIL PROTECTED]
Senior Systems Programmer           or  [EMAIL PROTECTED]
Rensselaer Polytechnic Institute    or  [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to