[5521] in Athena Bugs

home help back first fref pref prev next nref lref last post

Changes required to compile moira on the DS3100

daemon@ATHENA.MIT.EDU (epeisach@ATHENA.MIT.EDU)
Thu Jul 12 11:55:44 1990

From: epeisach@ATHENA.MIT.EDU
Date: Thu, 12 Jul 90 11:55:05 -0400
To: bugs@ATHENA.MIT.EDU
Cc: bug-moira@ATHENA.MIT.EDU



These are the changes required to build moira on the DS3100. The
Makefile changes you may not be able to do anything about at this time... 

RCS file: ./clients/userreg/RCS/userreg.c,v
retrieving revision 1.1
diff -c -r1.1 ./clients/userreg/userreg.c
*** /tmp/,RCSt1010818	Thu Jul 12 11:44:01 1990
--- ./clients/userreg/userreg.c	Wed Jun 20 16:36:46 1990
***************
*** 619,625 ****
--- 619,627 ----
  	} else return 0;
  }
  
+ #ifndef _toupper
  #define _toupper(c) ((c) & ~0x20)
+ #endif
  
  lenient_strcmp(string1, string2)
  	register char  *string1, *string2;
===================================================================
RCS file: ./gdb/RCS/Makefile,v
retrieving revision 1.1
diff -c -r1.1 ./gdb/Makefile
*** /tmp/,RCSt1010818	Thu Jul 12 11:44:10 1990
--- ./gdb/Makefile	Wed Jun 20 16:04:23 1990
***************
*** 52,58 ****
  	egrep -v "warning: possible pointer alignment problem"
  
  llib-lgdb.ln: ${LIBSRC}
! 	lint ${LINTFLAGS} -Cgdb ${GDBCSRCS}
  
  install:
  	install -c -m 644 libgdb.a ${DESTDIR}/usr/athena/lib/libmrgdb.a
--- 52,58 ----
  	egrep -v "warning: possible pointer alignment problem"
  
  llib-lgdb.ln: ${LIBSRC}
! 	lint ${LINTFLAGS} -ogdb ${GDBCSRCS}
  
  install:
  	install -c -m 644 libgdb.a ${DESTDIR}/usr/athena/lib/libmrgdb.a
===================================================================
RCS file: ./rpc/RCS/fixhost.c,v
retrieving revision 1.1
diff -c -r1.1 ./rpc/fixhost.c
*** /tmp/,RCSt1010818	Thu Jul 12 11:44:13 1990
--- ./rpc/fixhost.c	Wed Jun 20 14:53:50 1990
***************
*** 17,23 ****
  #include <sys/socket.h>
  #include <netinet/in.h>
  #include <arpa/nameser.h>
! #if defined(sun) || defined(AIX386)
  #include <resolv.h>
  #else
  #include <arpa/resolv.h>
--- 17,23 ----
  #include <sys/socket.h>
  #include <netinet/in.h>
  #include <arpa/nameser.h>
! #if defined(sun) || defined(AIX386) || defined(ultrix)
  #include <resolv.h>
  #else
  #include <arpa/resolv.h>
===================================================================
RCS file: ./rpc/RCS/Makefile,v
retrieving revision 1.1
diff -c -r1.1 ./rpc/Makefile
*** /tmp/,RCSt1010818	Thu Jul 12 11:44:17 1990
--- ./rpc/Makefile	Mon Jun 25 11:39:39 1990
***************
*** 38,44 ****
  libmoira.a: ${LIBOBJ}
  	ar cruv $@ `lorder ${LIBOBJ} | tsort`
  	ranlib $@
! 	(cd profiled; ar cruv ../libmoira_p.a ${LIBOBJ}; ranlib ../libmoira_p.a)
  
  mrlib.dvi: mrlib.tex
  	latex mrlib.tex
--- 38,44 ----
  libmoira.a: ${LIBOBJ}
  	ar cruv $@ `lorder ${LIBOBJ} | tsort`
  	ranlib $@
! #	(cd profiled; ar cruv ../libmoira_p.a ${LIBOBJ}; ranlib ../libmoira_p.a)
  
  mrlib.dvi: mrlib.tex
  	latex mrlib.tex
***************
*** 79,85 ****
  	lint ${LINTFLAGS} ${INCDIRS} mr_main.c llib-lmoira.ln
  
  llib-lmoira.ln:	${LIBSRC}
! 	lint -Cmoira $(LINTFLAGS) $(INCDIRS) ${LIBSRC}
  
  depend: $(CFILES) mr_et.h ureg_err.h krb_et.h
  	mkdep ${CFLAGS} ${CFILES}
--- 79,85 ----
  	lint ${LINTFLAGS} ${INCDIRS} mr_main.c llib-lmoira.ln
  
  llib-lmoira.ln:	${LIBSRC}
! 	lint -omoira $(LINTFLAGS) $(INCDIRS) ${LIBSRC}
  
  depend: $(CFILES) mr_et.h ureg_err.h krb_et.h
  	mkdep ${CFLAGS} ${CFILES}
***************
*** 130,136 ****
  strs.o: /usr/include/strings.h /usr/include/ctype.h
  fixhost.o: fixhost.c ../include/mit-copyright.h /usr/include/sys/types.h
  fixhost.o: /usr/include/sys/socket.h /usr/include/netinet/in.h
! fixhost.o: /usr/include/arpa/nameser.h /usr/include/arpa/resolv.h
  fixhost.o: /usr/include/netdb.h /usr/include/stdio.h /usr/include/strings.h
  fixhost.o: /usr/include/ctype.h
  nfsparttype.o: nfsparttype.c ../include/mit-copyright.h ../include/moira.h
--- 130,136 ----
  strs.o: /usr/include/strings.h /usr/include/ctype.h
  fixhost.o: fixhost.c ../include/mit-copyright.h /usr/include/sys/types.h
  fixhost.o: /usr/include/sys/socket.h /usr/include/netinet/in.h
! fixhost.o: /usr/include/arpa/nameser.h /usr/include/resolv.h
  fixhost.o: /usr/include/netdb.h /usr/include/stdio.h /usr/include/strings.h
  fixhost.o: /usr/include/ctype.h
  nfsparttype.o: nfsparttype.c ../include/mit-copyright.h ../include/moira.h
===================================================================
RCS file: ./update/RCS/Makefile,v
retrieving revision 1.1
diff -c -r1.1 ./update/Makefile
*** /tmp/,RCSt1010818	Thu Jul 12 11:44:21 1990
--- ./update/Makefile	Wed Jun 20 16:48:32 1990
***************
*** 79,85 ****
  xfer_002.o: xfer_002.c ../include/mit-copyright.h /usr/include/stdio.h
  xfer_002.o: ../include/gdb.h /usr/include/sys/types.h /usr/include/sys/time.h
  xfer_002.o: /usr/include/sys/time.h /usr/include/ctype.h
! xfer_002.o: /usr/include/sys/param.h /usr/include/machine/machparam.h
  xfer_002.o: /usr/include/sys/signal.h /usr/include/sys/file.h
  xfer_002.o: /usr/include/strings.h ../include/moira.h ../include/mr_et.h
  exec_002.o: exec_002.c ../include/mit-copyright.h /usr/include/stdio.h
--- 79,85 ----
  xfer_002.o: xfer_002.c ../include/mit-copyright.h /usr/include/stdio.h
  xfer_002.o: ../include/gdb.h /usr/include/sys/types.h /usr/include/sys/time.h
  xfer_002.o: /usr/include/sys/time.h /usr/include/ctype.h
! xfer_002.o: /usr/include/sys/param.h 
  xfer_002.o: /usr/include/sys/signal.h /usr/include/sys/file.h
  xfer_002.o: /usr/include/strings.h ../include/moira.h ../include/mr_et.h
  exec_002.o: exec_002.c ../include/mit-copyright.h /usr/include/stdio.h
***************
*** 96,102 ****
  get_file.o: get_file.c ../include/mit-copyright.h /usr/include/stdio.h
  get_file.o: ../include/gdb.h /usr/include/sys/types.h /usr/include/sys/time.h
  get_file.o: /usr/include/sys/time.h /usr/include/ctype.h
! get_file.o: /usr/include/sys/param.h /usr/include/machine/machparam.h
  get_file.o: /usr/include/sys/signal.h /usr/include/sys/file.h
  get_file.o: ../include/moira.h ../include/mr_et.h ../include/update.h
  checksum.o: checksum.c ../include/mit-copyright.h /usr/include/stdio.h
--- 96,102 ----
  get_file.o: get_file.c ../include/mit-copyright.h /usr/include/stdio.h
  get_file.o: ../include/gdb.h /usr/include/sys/types.h /usr/include/sys/time.h
  get_file.o: /usr/include/sys/time.h /usr/include/ctype.h
! get_file.o: /usr/include/sys/param.h 
  get_file.o: /usr/include/sys/signal.h /usr/include/sys/file.h
  get_file.o: ../include/moira.h ../include/mr_et.h ../include/update.h
  checksum.o: checksum.c ../include/mit-copyright.h /usr/include/stdio.h
***************
*** 104,110 ****
  client.o: client.c ../include/mit-copyright.h /usr/include/stdio.h
  client.o: /usr/include/strings.h ../include/gdb.h /usr/include/sys/types.h
  client.o: /usr/include/sys/time.h /usr/include/sys/time.h
! client.o: /usr/include/sys/param.h /usr/include/machine/machparam.h
  client.o: /usr/include/sys/signal.h /usr/include/sys/wait.h
  client.o: /usr/include/sys/socket.h ../include/update.h /usr/include/errno.h
  client.o: ../include/dcm.h ../include/moira.h ../include/mr_et.h
--- 104,110 ----
  client.o: client.c ../include/mit-copyright.h /usr/include/stdio.h
  client.o: /usr/include/strings.h ../include/gdb.h /usr/include/sys/types.h
  client.o: /usr/include/sys/time.h /usr/include/sys/time.h
! client.o: /usr/include/sys/param.h 
  client.o: /usr/include/sys/signal.h /usr/include/sys/wait.h
  client.o: /usr/include/sys/socket.h ../include/update.h /usr/include/errno.h
  client.o: ../include/dcm.h ../include/moira.h ../include/mr_et.h
===================================================================
RCS file: ./RCS/Makefile,v
retrieving revision 1.1
diff -c -r1.1 ./Makefile
*** /tmp/,RCSt1010818	Thu Jul 12 11:44:26 1990
--- ./Makefile	Wed Jun 20 13:00:48 1990
***************
*** 16,22 ****
  INSTALLDIRS= include
  
  all:
! 	if [ -f /usr/rtingres/bin/eqc ]; then \
  		DIRS="${ALLDIRS}" ; \
  	else \
  		DIRS="${RTDIRS}" ; \
--- 16,22 ----
  INSTALLDIRS= include
  
  all:
! 	-if [ -f /usr/rtingres/bin/eqc ]; then \
  		DIRS="${ALLDIRS}" ; \
  	else \
  		DIRS="${RTDIRS}" ; \
***************
*** 25,31 ****
  		(cd $$i; make ${MFLAGS} all); done
  
  install:
! 	if [ ! -d bin ]; then \
  		mkdir bin ; \
  	fi; \
  	if [ -f /usr/rtingres/bin/eqc ]; then \
--- 25,31 ----
  		(cd $$i; make ${MFLAGS} all); done
  
  install:
! 	-if [ ! -d bin ]; then \
  		mkdir bin ; \
  	fi; \
  	if [ -f /usr/rtingres/bin/eqc ]; then \
***************
*** 44,50 ****
  	make install
  
  depend:
! 	if [ -f /usr/rtingres/bin/eqc ]; then \
  		DIRS="${ALLDIRS} ${INSTALLDIRS}" ; \
  	else \
  		DIRS="${RTDIRS} ${INSTALLDIRS}" ; \
--- 44,50 ----
  	make install
  
  depend:
! 	-if [ -f /usr/rtingres/bin/eqc ]; then \
  		DIRS="${ALLDIRS} ${INSTALLDIRS}" ; \
  	else \
  		DIRS="${RTDIRS} ${INSTALLDIRS}" ; \

home help back first fref pref prev next nref lref last post