[Libvir] [PATCH] Avoid link errors with "configure --disable-shared".

Daniel P. Berrange berrange at redhat.com
Wed Feb 27 15:59:27 UTC 2008


On Wed, Feb 27, 2008 at 04:52:21PM +0100, Jim Meyering wrote:
> I got link errors when building with --disable-shared, and finally
> fixed it.  Here's most of the solution.  The patch after this one
> adjusts the gcov (test-coverage)-related things so that works with
> the new setup, too.
> diff --git a/src/libvirt_sym.version b/src/libvirt_sym.version
> index 38b631e..581f380 100644
> --- a/src/libvirt_sym.version
> +++ b/src/libvirt_sym.version
> @@ -32,6 +32,7 @@
>  	virDomainLookupByName;
>  	virDomainLookupByUUID;
>  	virDomainLookupByUUIDString;
> +	virDomainParseXMLDesc;

This is not part of the public API.


> @@ -184,6 +185,8 @@
>          __virBufferVSprintf;
>          __virBufferAdd;
>          __virBufferAddChar;
> +        __virErrorMsg;
> +        __virRaiseError;

What uses these two symbols ? AFAIK they shoudl only ever be
called by internal drivers and not exported

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 




More information about the libvir-list mailing list