From owner-freebsd-current Mon Sep 28 10:52:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA20644 for freebsd-current-outgoing; Mon, 28 Sep 1998 10:52:54 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from peedub.muc.de (newpc.muc.ditec.de [194.120.126.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA20604 for ; Mon, 28 Sep 1998 10:52:37 -0700 (PDT) (envelope-from garyj@peedub.muc.de) Received: from peedub.muc.de (localhost [127.0.0.1]) by peedub.muc.de (8.9.1/8.6.9) with ESMTP id TAA13337; Mon, 28 Sep 1998 19:27:48 +0200 (CEST) Message-Id: <199809281727.TAA13337@peedub.muc.de> X-Mailer: exmh version 2.0.2 2/24/98 To: shimon@simon-shapiro.org cc: current@FreeBSD.ORG Subject: Re: X11R6 and CAM (??) Reply-To: Gary Jennejohn In-reply-to: Your message of "Sun, 27 Sep 1998 19:07:02 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 28 Sep 1998 19:27:48 +0200 From: Gary Jennejohn Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Simon Shapiro writes: >I know the ports are not dow yet, but this one does not seem ELF related, >rather... CAM (??) releated; The following errors started cropping up just >about when CAM was checked in. I searched for these symbols and cannot >find them. Any clue? > >gcc -O2 -I. -I./lib/Xt -I. -I./X11 -I/usr/X11R6/include -I/include >-DCSRG_BASED -DHAVE_SYS_PARAM_H -DFUNCPROTO=15 -DNARROWPROTO -c >freebsd_system.c >freebsd_system.c:147: `DK_NDRIVE' undeclared here (not in a function) >freebsd_system.c:147: `DK_NAMELEN' undeclared here (not in a function) >freebsd_system.c:196: `DK_NDRIVE' undeclared here (not in a function) >freebsd_system.c: In function `total_disk_transfers': >freebsd_system.c:278: `DK_NDRIVE' undeclared (first use this function) >freebsd_system.c:278: (Each undeclared identifier is reported only once >freebsd_system.c:278: for each function it appears in.) >freebsd_system.c: In function `collect_stats': >freebsd_system.c:310: `DK_NDRIVE' undeclared (first use this function) >freebsd_system.c:385: `MOUNT_NFS' undeclared (first use this function) >freebsd_system.c: In function `get_namelist': >freebsd_system.c:483: `DK_NDRIVE' undeclared (first use this function) >*** Error code 1 > since CAM this functionality is provided using sysctl. There's a library (libdevstat) which provides a pretty good interface and hides all the dirty details of using the sysctl's. This looks like xsysinfo. I munged it to work with libdevstat (basically stole the code from iostat :) and sent the changes to the maintainer. Unfortunately, he's currently doing his compulsory military service and doesn't have time to look at my changes :( --- Gary Jennejohn Home - garyj@muc.de Work - garyj@fkr.dec.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message