Subject: Re: problems getting pxeboot to compile in i386-current
To: None <>
From: Matthias Scheler <>
List: current-users
Date: 06/14/2005 18:27:07
In article <>,
	Hisashi T Fujinaka <> 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

	Kind regards

Matthias Scheler