Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Mar 2004 09:57:05 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        John Baldwin <jhb@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
Message-ID:  <Pine.BSF.4.53.0403110952590.24222@e0-0.zab2.int.zabbadoz.net>
In-Reply-To: <200403092114.i29LEJYD018885@repoman.freebsd.org>
References:  <200403092114.i29LEJYD018885@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.53.0403110952590.24222>