cvs commit: src/lib/libgeom geom_xml2tree.c libgeom.hsrc/sbin/gconcat gconcat.c src/usr.sbin/gstat gstat.c

Bjoern A. Zeeb bzeeb-lists at lists.zabbadoz.net
Thu Mar 11 01:57:22 PST 2004


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/


More information about the cvs-src mailing list