Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2007 18:18:04 +0400
From:      Andrew Muhametshin <andrew@dobrohot.org>
To:        freebsd-usb@freebsd.org
Subject:   buildworld RELENG_6 + New USB stack - Stop in /usr/src/usr.bin/kdump
Message-ID:  <4682719C.5080707@dobrohot.org>

next in thread | raw e-mail | index | archive | help
Hello

It is impossible to buildworld with a new USB stack.


================
1.
Update(csup RELENG_6) /usr/src in 2007-06-26

2.
$ svn --username anonsvn --password anonsvn  \
   checkout svn://svn.turbocat.net/i4b
<...>
Checked out revision 527.

$cd i4b/trunk/i4b/FreeBSD.usb

$ make install
<...>

3.
rm -rf /usr/obj

4.
cd /usr/src
make buildworld
<...>skip<...>
===> usr.bin/kdump (all)
cc -O2 -fno-strict-aliasing -pipe -march=athlon-tbird 
-I/usr/src/usr.bin/kdump/../ktrace -I/usr/src/usr.bin/kdump/../..  -c 
/usr/src/usr.bin/kdump/kdump.c
cc -O2 -fno-strict-aliasing -pipe -march=athlon-tbird 
-I/usr/src/usr.bin/kdump/../ktrace -I/usr/src/usr.bin/kdump/../..  -c 
ioctl.c
ioctl.c: In function `ioctlname':
ioctl.c:973: error: syntax error before ';' token
ioctl.c:1191: error: syntax error before ';' token
ioctl.c:1517: error: syntax error before ';' token
ioctl.c:1653: error: syntax error before ';' token
ioctl.c:2193: error: syntax error before ';' token
ioctl.c:2869: error: syntax error before ';' token
*** Error code 1

Stop in /usr/src/usr.bin/kdump.
*** Error code 1

5.
$ nl -b a /usr/obj/usr/src/usr.bin/kdump/ioctl.c | egrep "^ 
+(973|1191|2193|1653|1517|2869)"
    973          if (val ==  USB_DEVICE_POLL_URB)
   1191          if (val ==  USB_DEVICE_VEP_SETUP)
   1517          if (val ==  USB_DEVICE_GET_URB)
   1653          if (val ==  USB_DEVICE_CANCEL_URB)
   2193          if (val ==  USB_DEVICE_VEP_UNSETUP)
   2869          if (val ==  USB_DEVICE_PUT_URB)





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4682719C.5080707>