TNG and the IRIX linker

Greg Dickie greg at discreet.com
Thu Jan 20 15:42:14 GMT 2000


Hi,

  I really do like the idea of using .so libraries EXCEPT the IRIX linker is
not happy with the link line. This is due to the way the linker resolves
symbols. Would it be possible to move the $(SAMBA_LIBS) variable to the end of
the linkline?

eg: 
current:
bin/samrd: $(SAMBA_LIBS) $(SAMRD_OBJ) bin/.dummy
        @echo Linking $@
        @$(CC) $(FLAGS) -o $@ $(SAMBA_LIBS) $(SAMRD_OBJ) $(LDFLAGS) $(LIBS)
new:
bin/samrd: $(SAMBA_LIBS) $(SAMRD_OBJ) bin/.dummy
        @echo Linking $@
        @$(CC) $(FLAGS) -o $@ $(SAMRD_OBJ) $(LDFLAGS) $(LIBS) $(SAMBA_LIBS)


Thanks,
Greg


---------------------------------------------------------------------
Greg Dickie
Just A Guy*
*from discreet (the logic is gone)
Montreal 
(514) 954-7171
greg at discreet.com



More information about the samba-ntdom mailing list