On Fri, 3 Apr 1998, doug wrote:
> I am trying to compile Samba on an Intergraph 6750 server running Clix.
> These are my results....................
>
> S_GIS/usr/gis/doug/samba/samba-1.9.18p3/source>make
> Using CFLAGS = -O -DSMBLOGFILE="/usr/local/samba/var/log.smb"
> -DNMBLOGFILE="/us
> Using LIBS = -lbsd -lc_s
> Compiling mem_man/mem_man.c
[snip]> Compiling rpc_pipes/srvparse.c
> Linking smbd
> ld *command line* fatal: Can't open file mem_man/mem_man.o for input
> *** Error code 13
Hmm, looks like what I got on UnixWare before I patched make.
Is mem_man.o in mem_man or in the current directory? If it's not in
mem_man you could have one of those compilers that doesn't understand
-o mem_man/mem_man.o
If that's the case, try this patch to Makefile
---------< cut here >-----------
*** Makefile.old Tue Feb 17 15:18:43 1998
--- Makefile Sun Feb 22 13:02:40 1998
***************
*** 735,740 ****
--- 741,836 ----
.c.o: $(INCLUDES)
@echo Compiling $*.c
@$(CC) $(CFLAGS) -c $(srcdir)$*.c -o $(srcdir)$*.o
+
+ mem_man/mem_man.o: $(INCLUDES) mem_man/mem_man.c mem_man/mem_man.h
+ @echo Compiling $*.c
+ @$(CC) $(CFLAGS) -c $(srcdir)$*.c
+ mv mem_man.o mem_man/mem_man.o
+
+ ubiqx/ubi_dLinkList.o: $(INCLUDES) ubiqx/ubi_dLinkList.h ubiqx/ubi_dLinkList.c
+ @echo Compiling $*.c
+ @$(CC) $(CFLAGS) -c $(srcdir)$*.c
+ mv ubi_dLinkList.o ubiqx/ubi_dLinkList.o
+
+ rpc_pipes/lsa_hnd.o: $(INCLUDES) rpc_pipes/lsa_hnd.c
+ @echo Compiling $*.c
+ @$(CC) $(CFLAGS) -c $(srcdir)$*.c
+ mv lsa_hnd.o rpc_pipes/lsa_hnd.o
+
+ rpc_pipes/lsaparse.o: $(INCLUDES) rpc_pipes/lsaparse.c
+ @echo Compiling $*.c
+ @$(CC) $(CFLAGS) -c $(srcdir)$*.c
+ mv lsaparse.o rpc_pipes/lsaparse.o
+
+ rpc_pipes/ntclientlsa.o: $(INCLUDES) rpc_pipes/ntclientlsa.c
+ @echo Compiling $*.c
+ @$(CC) $(CFLAGS) -c $(srcdir)$*.c
+ mv ntclientlsa.o rpc_pipes/ntclientlsa.o
+
+ rpc_pipes/ntclientnet.o: $(INCLUDES) rpc_pipes/ntclientnet.c
+ @echo Compiling $*.c
+ @$(CC) $(CFLAGS) -c $(srcdir)$*.c
+ mv ntclientnet.o rpc_pipes/ntclientnet.o
+
+ rpc_pipes/ntclientpipe.o: $(INCLUDES) rpc_pipes/ntclientpipe.c
+ @echo Compiling $*.c
+ @$(CC) $(CFLAGS) -c $(srcdir)$*.c
+ mv ntclientpipe.o rpc_pipes/ntclientpipe.o
+
+ rpc_pipes/pipe_hnd.o: $(INCLUDES) rpc_pipes/pipe_hnd.c
+ @echo Compiling $*.c
+ @$(CC) $(CFLAGS) -c $(srcdir)$*.c
+ mv pipe_hnd.o rpc_pipes/pipe_hnd.o
+
+ rpc_pipes/pipenetlog.o: $(INCLUDES) rpc_pipes/pipenetlog.c
+ @echo Compiling $*.c
+ @$(CC) $(CFLAGS) -c $(srcdir)$*.c
+ mv pipenetlog.o rpc_pipes/pipenetlog.o
+
+ rpc_pipes/pipentlsa.o: $(INCLUDES) rpc_pipes/pipentlsa.c
+ @echo Compiling $*.c
+ @$(CC) $(CFLAGS) -c $(srcdir)$*.c
+ mv pipentlsa.o rpc_pipes/pipentlsa.o
+
+ rpc_pipes/pipesamr.o: $(INCLUDES) rpc_pipes/pipesamr.c
+ @echo Compiling $*.c
+ @$(CC) $(CFLAGS) -c $(srcdir)$*.c
+ mv pipesamr.o rpc_pipes/pipesamr.o
+
+ rpc_pipes/pipesrvsvc.o: $(INCLUDES) rpc_pipes/pipesrvsvc.c
+ @echo Compiling $*.c
+ @$(CC) $(CFLAGS) -c $(srcdir)$*.c
+ mv pipesrvsvc.o rpc_pipes/pipesrvsvc.o
+
+ rpc_pipes/pipeutil.o: $(INCLUDES) rpc_pipes/pipeutil.c
+ @echo Compiling $*.c
+ @$(CC) $(CFLAGS) -c $(srcdir)$*.c
+ mv pipeutil.o rpc_pipes/pipeutil.o
+
+ rpc_pipes/pipewkssvc.o: $(INCLUDES) rpc_pipes/pipewkssvc.c
+ @echo Compiling $*.c
+ @$(CC) $(CFLAGS) -c $(srcdir)$*.c
+ mv pipewkssvc.o rpc_pipes/pipewkssvc.o
+
+ rpc_pipes/samrparse.o: $(INCLUDES) rpc_pipes/samrparse.c
+ @echo Compiling $*.c
+ @$(CC) $(CFLAGS) -c $(srcdir)$*.c
+ mv samrparse.o rpc_pipes/samrparse.o
+
+ rpc_pipes/smbparse.o: $(INCLUDES) rpc_pipes/smbparse.c
+ @echo Compiling $*.c
+ @$(CC) $(CFLAGS) -c $(srcdir)$*.c
+ mv smbparse.o rpc_pipes/smbparse.o
+
+ rpc_pipes/srvparse.o: $(INCLUDES) rpc_pipes/srvparse.c
+ @echo Compiling $*.c
+ @$(CC) $(CFLAGS) -c $(srcdir)$*.c
+ mv srvparse.o rpc_pipes/srvparse.o
+
+ rpc_pipes/wksparse.o: $(INCLUDES) rpc_pipes/wksparse.c
+ @echo Compiling $*.c
+ @$(CC) $(CFLAGS) -c $(srcdir)$*.c
+ mv wksparse.o rpc_pipes/wksparse.o
smbd: $(SMBDOBJ) $(ARCFOUR_OBJ)
@echo Linking smbd
---------< end cut >----------->
> Stop.
>
>
> It appears to me that it compiles but crashes when it starts to link.
> Any help would be greatly appreciated.
> Thanks,
> Doug Smith
>
--
Tim Rice Multitalents (707) 887-1469 (voice)
tim@trr.metro.net