DG-UX compile fix..

Matt mattb at mincom.com
Wed Jun 17 06:19:25 GMT 1998



 Hi .. 

 I just tried compiling Samba under DG-UX for motorola and ran into a
problem which I've subsequently figured out.

It seems the -o switch later in the cc command line is a
"write-protection" switch that should be removed from the line in Makefile
thus:

.c.o: $(INCLUDES)
        @echo Compiling $*.c
        @$(CC) $(CFLAGS) -c $(srcdir)$*.c -o $(srcdir)$*.o
 
to being ...

.c.o: $(INCLUDES)
        @echo Compiling $*.c
        @$(CC) $(CFLAGS) -c $(srcdir)$*.c $(srcdir)$*.o
 

all the other platforms I've compiled it for didnt have anything nearly as
stupid :)

Also too please suppress my email addy when making note of this change for
DG-UX users :)

thanks.


-------------------------------------------------------------------------------
         (__)                                em-see-ess-tee system m00m00 
         (@@)   m00000! c0wz r' us!              mims system support 
  /-------\/                        "If you're so special, why aren't you dead?"
 / |     ||             
*  ||----||   <-       
   ~~    ~~    |  "I know that mess spelt backwards is ssem, and I felt much 
	       |    better armed with that information." Tori Amos
 m!nc0m system c0w 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-







More information about the samba mailing list