On Mon, Aug 06, 2012 at 10:44:11AM -0600, Eric Blake wrote: > On 08/06/2012 10:29 AM, Eric Blake wrote: > > On 08/06/2012 10:28 AM, Eric Blake wrote: > >> On 08/06/2012 05:52 AM, Daniel P. Berrange wrote: > >>> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx> > >>> > >>> This converts the following public API datatypes to use the > >>> virObject infrastructure: > >> > > > >> > >> ACK with the doc fix. > > > > I spoke too soon, 'make check' fails: > > > > GEN check-symfile > > Expected symbol virConnectClass is not in ELF library > > Expected symbol virDomainClass is not in ELF library > > Expected symbol virDomainSnapshotClass is not in ELF library > > Expected symbol virInterfaceClass is not in ELF library > > Expected symbol virNetworkClass is not in ELF library > > Expected symbol virNodeDeviceClass is not in ELF library > > Expected symbol virNWFilterClass is not in ELF library > > Expected symbol virSecretClass is not in ELF library > > Expected symbol virStoragePoolClass is not in ELF library > > Expected symbol virStorageVolClass is not in ELF library > > Expected symbol virStreamClass is not in ELF library > > make[3]: *** [check-symfile] Error 1 > > Squash this in to fix the problem. > > diff --git i/src/check-symfile.pl w/src/check-symfile.pl > index 73cdfcd..ab187ee 100755 > --- i/src/check-symfile.pl > +++ w/src/check-symfile.pl > @@ -34,7 +34,7 @@ foreach my $elflib (@elflibs) { > open NM, "-|", "nm", $elflib or die "cannot run 'nm $elflib': $!"; > > while (<NM>) { > - next unless /^\S+\s(?:T|D)\s(\S+)\s*$/; > + next unless /^\S+\s(?:[TDB])\s(\S+)\s*$/; > > $gotsyms{$1} = 1; > } Ahh cool. I see 'nm' shows the difference between B and D "B" "b" The symbol is in the uninitialized data section (known as BSS). "D" "d" The symbol is in the initialized data section. So that addition makes sense. Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list