HEAD won't build from 21:00 Jul 27

Jon Hamilton hamilton at pobox.com
Thu Jul 27 23:11:29 PDT 2006


Building HEAD from about 23:00 Central Time July 27 and ran into:

/usr/src/bin/dd/dd.c: In function `getfdtype':
/usr/src/bin/dd/dd.c:214: error: `D_TAPE' undeclared (first use in this function)
/usr/src/bin/dd/dd.c:214: error: (Each undeclared identifier is reported only once
/usr/src/bin/dd/dd.c:214: error: for each function it appears in.)
/usr/src/bin/dd/dd.c:216: error: `D_DISK' undeclared (first use in this function)
/usr/src/bin/dd/dd.c:216: error: `D_MEM' undeclared (first use in this function)
*** Error code 1

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

The obvious patch fixes it:
RCS file: /home/dcvs/src/bin/dd/dd.c,v
retrieving revision 1.5
diff -u -r1.5 dd.c
--- dd.c        7 Nov 2004 20:54:51 -0000       1.5
+++ dd.c        28 Jul 2006 05:56:26 -0000
@@ -46,6 +46,7 @@
 #include <sys/disklabel.h>
 #include <sys/filio.h>
 #include <sys/time.h>
 +#include <sys/device.h>
    
 #include <ctype.h>
 #include <err.h>


-- 

   Jon Hamilton 
   hamilton at xxxxxxxxx





More information about the Kernel mailing list