On top of my previous patch to add library versioning to libhugetlbfs, here is one that actually does something :/ VERSION { } is not needed within the script itself and we do have 4 global symbols, which need to be visible for the tests.
Signed-off-by: Nishanth Aravamudan <[EMAIL PROTECTED]> diff --git a/Makefile b/Makefile index a349892..998f74d 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ INSTALL_OBJSCRIPT = ld.hugetlbfs INSTALL = install -LDFLAGS = --no-undefined-version --version-script=VERSION +LDFLAGS = --no-undefined-version -Wl,--version-script=VERSION CFLAGS = -O2 -Wall -fPIC -g CPPFLAGS = -D__LIBHUGETLBFS__ diff --git a/VERSION b/VERSION index f952e13..d64d516 100644 --- a/VERSION +++ b/VERSION @@ -1,8 +1,9 @@ -VERSION { - VERS_1.0 { - local: - *; + global: + gethugepagesize; + hugetlbfs_test_path; + hugetlbfs_find_path; + hugetlbfs_unlinked_fd; + local: + *; }; - -} -- Nishanth Aravamudan <[EMAIL PROTECTED]> IBM Linux Technology Center ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Libhugetlbfs-devel mailing list Libhugetlbfs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel