OSSP CVS Repository

ossp - Ticket #59
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Attach]  [Edit]  [History

Ticket 59: Problem Linking 64-Bit Version

Hello,

I've found an little bug in the Makefile. The Linker-Flags don't effect the libtool, because they are not used. here is a little patch:

--- Makefile.in 2002-12-19 10:19:38.000000000 +0100
+++ ../../PESlibmm/Makefile.in.linkerpatch      2005-02-15 13:20:26.615497000 +0100
@@ -74,14 +74,14 @@
 all: $(LIBS) $(MANS) $(TSTS)

 libmm.la: $(OBJS)
-       $(LIBTOOL) --quiet --mode=link $(CC) -o $@ $(OBJS) \
+       $(LIBTOOL) --quiet --mode=link $(CC) $(LDFLAGS) -o $@ $(OBJS) \
            -rpath $(libdir) -version-info `$(SHTOOL) version -l c -d libtool mm_vers.c`

 mm_alloc.c mm_core.c mm_global.c: mm.h mm_vers.c
 mm.h: config.h

 mm_test: mm_test.lo libmm.la
-       $(LIBTOOL) --quiet --mode=link $(CC) -o $@ mm_test.lo libmm.la
+       $(LIBTOOL) --quiet --mode=link $(CC) $(LDFLAGS) -o $@ mm_test.lo libmm.la

 mm.3: mm.pod
        V1=`$(SHTOOL) version -l c -d short mm_vers.c`; \

Greetings Ralf

[Add remarks]

Remarks:

Properties:

Type: code           Version: 1.3.1 
Status: new          Created: 2005-Feb-15 13:38
Severity:          Last Change: 2005-Feb-15 13:38
Priority:          Subsystem: mm 
Assigned To: rse           Derived From:  
Creator: anonymous 

CVSTrac 2.0.1