On 16.07.2007 [12:41:36 -0700], Nishanth Aravamudan wrote:
> Hi all,
>
> I am happy to announced that libhugetlbfs 1.2-pre1 has been released to
> the eagerly awaiting world. It can be found at the normal places (the
> current dev snapshot at http://libhugetlbfs.ozlabs.org/, for instance,
> or the git tree).
Sigh, and of course I immediately find a problem.
The following patch, which I just sent to Adam to have him push out to
ozlabs (and hopefully recreate the tarball) is needed to get things
working.
Makefile: fix-up recent cleanup
$@ in the libhugetlbfs.so lines refers to the matching symbol, which in
this case is "obj32/libhugetlbfs.so" or "obj64/libhugetlbfs.so". This
breaks just about everything when the soname uses $@ directly. Instead
use $(notdir $@) to extract only the file part.
Signed-off-by: Nishanth Aravamudan <[EMAIL PROTECTED]>
diff --git a/Makefile b/Makefile
index 9bae027..b832772 100644
--- a/Makefile
+++ b/Makefile
@@ -188,11 +188,11 @@ obj64/libhugetlbfs.a: $(LIBOBJS64)
obj32/libhugetlbfs.so: $(LIBOBJS32)
@$(VECHO) LD32 "(shared)" $@
- $(CC32) $(LDFLAGS) -Wl,-soname,$@ -shared -o $@ $^ $(LDLIBS)
+ $(CC32) $(LDFLAGS) -Wl,-soname,$(notdir $@) -shared -o $@ $^ $(LDLIBS)
obj64/libhugetlbfs.so: $(LIBOBJS64)
@$(VECHO) LD64 "(shared)" $@
- $(CC64) $(LDFLAGS) -Wl,-soname,$@ -shared -o $@ $^ $(LDLIBS)
+ $(CC64) $(LDFLAGS) -Wl,-soname,$(notdir $@) -shared -o $@ $^ $(LDLIBS)
obj32/%.i: %.c
@$(VECHO) CPP $@
--
Nishanth Aravamudan <[EMAIL PROTECTED]>
IBM Linux Technology Center
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Libhugetlbfs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel