Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys



In message <20090113030258.GA29000%NetBSD.org@localhost>
        on Tue, 13 Jan 2009 03:02:58 +0000,
        Tom Spindler <dogcow%NetBSD.org@localhost> wrote:
> In the mac68k builds, I see the following build failure:
> 
> In file included from /home/dogcow/work/nbsrc/sbin/mount_nfs/udp_xfer.c:44:
> /home/dogcow/work/nbsrc/sys/lib/libsa/net.h:99: error: expected declaration 
> specifiers or '...' before 'saseconds_t'
> /home/dogcow/work/nbsrc/sys/lib/libsa/net.h:102: error: expected declaration 
> specifiers or '...' before 'saseconds_t'
> /home/dogcow/work/nbsrc/sys/lib/libsa/net.h:103: error: expected declaration 
> specifiers or '...' before 'saseconds_t'
> /home/dogcow/work/nbsrc/sys/lib/libsa/net.h:114: error: expected '=', ',', 
> ';', 'asm' or '__attribute__' before 'getsecs'
> /home/dogcow/work/nbsrc/sbin/mount_nfs/udp_xfer.c:92: error: conflicting 
> types for 'readudp'
> /home/dogcow/work/nbsrc/sys/lib/libsa/net.h:102: error: previous declaration 
> of 'readudp' was here
> *** [udp_xfer.o] Error code 1
This isn't mac68k specific problem.

> I suspect the correct thing would be to make readudp use saseconds_t - but
> it looks like there's some missing includes in libsa/net.h, too.
saseconds_t is defined in sys/lib/libsa/iodesc.h.  But there is
iodesc.h in sbin/mount_nfs, too.

I don't know right answer.  :-(

-- 
Takahiro Kambe <taca%back-street.net@localhost>


Home | Main Index | Thread Index | Old Index