Subject: linker trouble in current CVS

From: Olaf Hering <[email-masked]>
Date: Sun, 10 Jun 2001 23:18:35 +0200

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...