>>> stage 4: building libraries
...
cc -O -pipe  -DLIBC_MAJOR=5 -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../. 
./include -D__DBINTERFACE_PRIVATE -DINET6 -I/common/S4/obj/usr/src/lib/libc 
-DPOSIX_MISTAKE -I/usr/src/lib/libc/../libc/locale -DBROKEN_DES -DPORTMAP 
-DDES_BUILTIN -DYP -DHESIOD  -c /usr/src/lib/libc/gen/dlfcn.c -o dlfcn.o
/usr/src/lib/libc/gen/disklabel.c: In function `getdiskbyname':
/usr/src/lib/libc/gen/disklabel.c:147: `fstypenames' undeclared (first use in this 
function)
/usr/src/lib/libc/gen/disklabel.c:147: (Each undeclared identifier is reported only 
once
/usr/src/lib/libc/gen/disklabel.c:147: for each function it appears in.)
/usr/src/lib/libc/gen/disklabel.c: In function `getdiskbyname':
/usr/src/lib/libc/gen/disklabel.c:147: `fstypenames' undeclared (first use in this 
function)
/usr/src/lib/libc/gen/disklabel.c:147: (Each undeclared identifier is reported only 
once
*** Error code 1
/usr/src/lib/libc/gen/disklabel.c:147: for each function it appears in.)
*** Error code 1
/usr/src/lib/libc/gen/disklabel.c: In function `getdiskbyname':
/usr/src/lib/libc/gen/disklabel.c:147: `fstypenames' undeclared (first use in this 
function)
/usr/src/lib/libc/gen/disklabel.c:147: (Each undeclared identifier is reported only 
once
/usr/src/lib/libc/gen/disklabel.c:147: for each function it appears in.)
*** Error code 1
3 errors
*** Error code 2
1 error
....

The following patch (from /usr/src) gets past the problem, but I
don't know that it's correct:

Index: lib/libc/gen/disklabel.c
===================================================================
RCS file: /cvs/freebsd/src/lib/libc/gen/disklabel.c,v
retrieving revision 1.15
diff -u -r1.15 disklabel.c
--- lib/libc/gen/disklabel.c    12 May 2002 20:49:33 -0000      1.15
+++ lib/libc/gen/disklabel.c    16 Aug 2002 14:39:03 -0000
@@ -38,6 +38,7 @@
 __FBSDID("$FreeBSD: src/lib/libc/gen/disklabel.c,v 1.15 2002/05/12 20:49:33 phk Exp 
$");
 
 #include <sys/param.h>
+#define FSTYPENAMES
 #define DKTYPENAMES
 #include <sys/disklabel.h>
 

Cheers,
david
-- 
David H. Wolfskill                              [EMAIL PROTECTED]
To paraphrase David Hilbert, there can be no conflicts between the
discipline of systems administration and Microsoft, since they have
nothing in common.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to