linker trouble in current CVS


Subject: linker trouble in current CVS
From: Olaf Hering (olh@suse.de)
Date: Sun Jun 10 2001 - 17:18:35 EDT


hi,

someone submitted that patch in the last days:

diff -urN netatalk.prev/etc/uams/Makefile.am
netatalk/etc/uams/Makefile.am
--- netatalk.prev/etc/uams/Makefile.am Tue May 8 17:45:14 2001
+++ netatalk/etc/uams/Makefile.am Sun Jun 10 05:05:31 2001
@@ -47,7 +45,7 @@
 .c.so:
        $(COMPILE) -DHAVE_CONFIG_H -fPIC -DPIC \
          -I$(top_srcdir) -fomit-frame-pointer -c $< ; \
- $(CC) $(LDSHAREDFLAGS) -o $@ $*.o $(LDFLAGS) $(LIBS)
+ $(LD) -shared $(LDSHAREDFLAGS) -o $@ $*.o $(LIBS)
 
 #
 # create symbolic links:

what compiler has trouble to link the files? You should always use gcc
instead of ld. It may work on i386, but it doesnt work on other archs.

Gruss Olaf

-- 
 $ man clone

BUGS Main feature not yet implemented...



This archive was generated by hypermail 2b28 : Sun Oct 14 2001 - 03:04:41 EDT