Subject: Re: problems getting pxeboot to compile in i386-current
To: <>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: current-users
Date: 06/14/2005 11:51:12
On Tue, 14 Jun 2005, Matthias Scheler wrote:

> In article <Pine.NEB.4.62.0506131518140.2112@chris.i8u.org>,
> 	Hisashi T Fujinaka <htodd@twofifty.com> writes:
>> #    create  pxeboot/pxe.d
>> CC=/usr/src/obj.i386/tooldir.NetBSD-3.99.6-i386/bin/i386--netbsdelf-gcc /usr/src/obj.i386/tooldir.NetBSD-3.99.6-i386/bin/nbmkdep -f pxe.d --      -DSLOW -DSUPPORT_SERIAL=CONSDEV_PC -DDIRECT_SERIAL -DSUPPORT_BOOTP -DSUPPORT_DHCP -DSUPPORT_TFTP -DSUPPORT_NFS -DPASS_MEMMAP -DPASS_BIOSGEOM -nostdinc -I/usr/src/sys/arch/i386/stand/pxeboot/obj.i386 -I/usr/src/sys/arch/i386/stand/pxeboot/../../../../ -I/usr/src/sys/arch/i386/stand/pxeboot/../../../..//arch/i386/stand/lib -I/usr/src/sys/arch/i386/stand/pxeboot/../../../..//lib/libsa -D_STANDALONE  -nostdinc -isystem /usr/src/obj.i386/destdir.i386/usr/include   /usr/src/sys/arch/i386/stand/pxeboot/pxe.c
>> /usr/src/sys/arch/i386/stand/pxeboot/pxe.c:317:68: macro "bcmp" requires 3 arguments, but only 2 given
>> /usr/src/sys/arch/i386/stand/pxeboot/pxe.c:334:64: macro "bcmp" requires 3 arguments, but only 2 given
>> nbmkdep: compile failed.
>
> Fixed with this commit:
>
> Module Name:    src
> Committed By:   tron
> Date:           Tue Jun 14 18:25:16 UTC 2005
>
> Modified Files:
>        src/sys/arch/i386/stand/pxeboot: pxe.c pxe.h
>
> Log Message:
> Get rid off the ugly S_SIZE() macro which breaks the build now that
> bcmp() is a macro, too.
>
>
> To generate a diff of this commit:
> cvs rdiff -r1.6 -r1.7 src/sys/arch/i386/stand/pxeboot/pxe.c
> cvs rdiff -r1.2 -r1.3 src/sys/arch/i386/stand/pxeboot/pxe.h

Thanks. I was just tracking this down and it was getting messy.

-- 
Hisashi T Fujinaka - htodd@twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte