Upgrading from FreeBSD 4.8 (PZERO in usb.c)

Vikash Badal - PCS Vikash.Badal at Comparex.co.za
Thu Jan 8 03:49:07 PST 2004


Greetings,

I have a spare disk that I installed FBSD 4.8 on. I cvsuped the latest 
Dragonfly source and tried to build the kernel with no success.

It fails :
/usr/src/sys/bus/usb/usb.c:824: warning: implicit declaration of function `selwakeuppri'
/usr/src/sys/bus/usb/usb.c:824: `PZERO' undeclared (first use in this function)
/usr/src/sys/bus/usb/usb.c:824: (Each undeclared identifier is reported only once
/usr/src/sys/bus/usb/usb.c:824: for each function it appears in.)
*** Error code 1

Stop in /usr/obj/usr/src/sys/GENERIC.
*** Error code 1

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

Stop in /usr/src.


I did the following:
Install FreeBSD 4.8
Installed the cvsup-without-gui port
rm -rf /usr/src /usr/obj
cvsup the dragonfly sources
rm -rf /usr/include
mkdir /usr/include
cd /usr/src
make installincludes
rm -rf /usr/obj
mkdir /usr/obj
cd /usr/src
make buildkernel  [ failed with 2 sec ]
cd /usr/src/usr.sbin/config
make depend all install
cd /usr/src
make buildkernel [ fails at usb.c:824 ]






More information about the Bugs mailing list