Subject: make build error for source upt ot OCT 20, 97
To: None <current-users@NetBSD.ORG>
From: c5666305 <c5666305@comp.polyu.edu.hk>
List: current-users
Date: 10/21/1997 13:13:30
Hello,

I got the follogin error when tried to make build at /usr/src 

=======Error =======
===> pppd
cc -O -I. -DHAVE_PATHS_H -I/usr/src/usr.sbin/pppd/pppd/../../../lib/libpcap -DPPP_FILTER -DCBCP_SUPPORT  -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith  -c sys-bsd.c
sys-bsd.c:29: syntax error before string constant
cc1: warnings being treated as errors
sys-bsd.c:29: warning: function declaration isn't a prototype
sys-bsd.c:29: warning: data definition has no type or storage class
*** Error code 1

Stop.
*** Error code 1

Stop.

------- pstat -------
cc -O -I/usr/src/usr.sbin/pstat/../../sbin/swapctl  -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith  -c pstat.c
pstat.c: In function `nfs_print':
pstat.c:527: request for member `va_fileid' in something not a structure or union
pstat.c:528: request for member `va_mode' in something not a structure or union
pstat.c:529: request for member `va_mode' in something not a structure or union
pstat.c:529: request for member `va_mode' in something not a structure or union
pstat.c:530: request for member `va_rdev' in something not a structure or union
pstat.c:532: request for member `va_rdev' in something not a structure or union
pstat.c:532: request for member `va_rdev' in something not a structure or union
cc1: warnings being treated as errors
pstat.c:504: warning: `type' might be used uninitialized in this function
*** Error code 1

Stop.

=======Error =======

I would like to know how to solve.  Thanks.


Clarence