[libvirt] version script and non-existent symbols

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The current version script refers to symbols that don't exist in the
code. What is the purpose of this? The Solaris linker (quite correctly,
I think) generates hanging references to such symbols.

If it's just for documentation, such symbols should be commented out in
the script.

But there is another more basic problem. If I configure out various
components, such as storage, which is necessary in order to compile,
then /those/ symbols don't exist, and the build fails as above.

I think the solution to the latter is to provide stubs that return
failure codes for every symbol that can be ./configured out. So we'd
introduce a stubs.c file that has these for everything, and compile each
of the stubs if the relevant WITH_ option isn't set.

Finally, C-style comments aren't supported with the Solaris linker.
Since both linkers support # as a comment delimiter, any objections to
changing it to do that?

regards
john

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]