From owner-cvs-all@FreeBSD.ORG Thu Mar 11 01:57:22 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE55E16A4CF; Thu, 11 Mar 2004 01:57:22 -0800 (PST) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DBE543D48; Thu, 11 Mar 2004 01:57:22 -0800 (PST) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 0AB4B1FFDDC; Thu, 11 Mar 2004 10:57:20 +0100 (CET) Received: by transport.cksoft.de (Postfix, from userid 66) id EF0D31FFDD4; Thu, 11 Mar 2004 10:57:17 +0100 (CET) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id 7DF39154F9; Thu, 11 Mar 2004 09:57:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id 72472154F4; Thu, 11 Mar 2004 09:57:05 +0000 (UTC) Date: Thu, 11 Mar 2004 09:57:05 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: John Baldwin In-Reply-To: <200403092114.i29LEJYD018885@repoman.freebsd.org> Message-ID: References: <200403092114.i29LEJYD018885@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libgeom geom_xml2tree.c libgeom.hsrc/sbin/gconcat gconcat.c src/usr.sbin/gstat gstat.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2004 09:57:23 -0000 On Tue, 9 Mar 2004, John Baldwin wrote: > FreeBSD src repository > > Modified files: > lib/libgeom geom_xml2tree.c libgeom.h > sbin/gconcat gconcat.c > usr.sbin/gstat gstat.c > Log: > Make libgeom usable by C++ programs: > - Add DECL wrappers to libgeom.h. > - Rename structure members in libgeom.h to use a lg_ prefix for member > names. This is required because a few structures had members named > 'class' which made g++ very unhappy. > - Catch gstat(8) and gconcat(8) up to these API changes. > > Reviewed by: phk > > Revision Changes Path > 1.4 +97 -90 src/lib/libgeom/geom_xml2tree.c > 1.10 +43 -37 src/lib/libgeom/libgeom.h > 1.3 +13 -13 src/sbin/gconcat/gconcat.c > 1.7 +10 -9 src/usr.sbin/gstat/gstat.c This seems to need population of header files before the build ? I have not seen a note anywhere :( --- cut --- ===> sbin/gconcat cc -O -pipe -march=pentium -I/../sbin/gconcat/../../sys -Wsystem-headers \ ... -c ../sbin/gconcat/gconcat.c ../sbin/gconcat/gconcat.c: In function `find_class': ../sbin/gconcat/gconcat.c:382: error: structure has no member named `lg_class' ../sbin/gconcat/gconcat.c:382: error: structure has no member named `lg_class' ../sbin/gconcat/gconcat.c:383: error: structure has no member named `lg_name' ... --- cut --- [for general question of populating header files please see my posting to hackers this moment, thanks] -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT 56 69 73 69 74 http://www.zabbadoz.net/