On 6/14/07, Didier Wiroth <didier.wiroth@mcesr.etat.lu> wrote:
quoted text > Hello,
>
> I'm following current lastest sources a 2 hours ago (from cvsup.no.openbsd.org).
>
> when I try to build bsd.rd it fails at some point:
> cd /usr/src/distrib/i386/ramdisk_cd
> cd /usr/src/distrib/i386/ramdisk_cd && sudo make
> .... snip .....
> cc -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized -Wno-format -Wno-main -Wstack-larger-than-2047 -fno-stack-protector -fno-builtin-printf -fno-builtin-log -Os -pipe -nostdinc -I. -I/usr/src/sys/arch/i386/compile/RAMDISK_CD/../../../../arch -I/usr/src/sys/arch/i386/compile/RAMDISK_CD/../../../.. -DSCSITERSE -DAPM_NOPRINT -DI486_CPU -DI586_CPU -DI686_CPU -DSMALL_KERNEL -DNO_PROPOLICE -DTIMEZONE="0" -DDST="0" -DFFS -DEXT2FS -DNFSCLIENT -DCD9660 -DUDF -DMSDOSFS -DFIFO -DINET -DINET6 -DBOOT_CONFIG -DRAMDISK_HOOKS -DMINIROOTSIZE="0xed8" -DPCIVERBOSE -D_KERNEL -Di386 -c /usr/src/sys/arch/i386/compile/RAMDISK_CD/../../../../dev/usb/usb_mem.c
> In file included from /usr/src/sys/dev/usb/usb_mem.c:62:
> /usr/src/sys/dev/usb/usbdivar.h:228: error: field `timeout_handle' has incomplete type
> *** Error code 1
>
> Stop in /usr/src/sys/arch/i386/compile/RAMDISK_CD (line 2224 of Makefile).
> *** Error code 1
>
> Stop in /usr/src/distrib/i386/ramdisk_cd (line 67 of /usr/src/distrib/i386/ramdisk_cd/../common/Makefile.inc).
>
>
> Any ideas ?
>
> Thank you very much !!!!
> Kind regards,
> Didier
>
>
There has been a lot of changes in the USB-stack lately that is
related to removal of macros and {Net,Free}BSD stuff.
This problem you see is fixed in version 1.20 in usb_mem.c so do
another cvs up and try again.
br
dunceor