From fe7208bc777890820e0e9a834563cf7b3cc69126 Mon Sep 17 00:00:00 2001 From: danw Date: Fri, 10 Oct 1997 20:29:01 +0000 Subject: [PATCH] Make this build --- afssync/Imakefile | 10 +++++----- afssync/sync.pc | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/afssync/Imakefile b/afssync/Imakefile index a6b64cb2..738b2fc4 100644 --- a/afssync/Imakefile +++ b/afssync/Imakefile @@ -1,8 +1,7 @@ -DBCFLAGS= -DBLIBS= -L/usr/ingres/lib -lingres -lm - DEFINES= -I$(AFSDIR)/include -I$(AFSDIR)/include/afs -I../include -LIBS= -L../lib -L/usr/athena/lib -lmoira -lcom_err -lkrb -ldes ${DBLIBS} +ORAINCLUDES= INCLUDE=$(AFSDIR)/include INCLUDE=$(AFSDIR)/include/afs \ + INCLUDE=$(AFSDIR)/include/rx INCLUDE=../include +LIBS= -L../lib -L/usr/athena/lib -lmoira -lcom_err -lkrb -ldes ${SQL_LIB} OBJS= ptutils.o utils.o ubik.o SRCS= ptutils.c utils.c ubik.c @@ -12,7 +11,8 @@ AFSDIR = /mit/afsuser AFSLIBS=$(AFSDIR)/lib/afs/libprot.a $(AFSDIR)/lib/afs/libauth.a \ $(AFSDIR)/lib/libubik.a $(AFSDIR)/lib/afs/util.a \ $(AFSDIR)/lib/librxkad.a $(AFSDIR)/lib/afs/libsys.a \ - $(AFSDIR)/lib/librx.a $(AFSDIR)/lib/liblwp.a + $(AFSDIR)/lib/librx.a $(AFSDIR)/lib/liblwp.a \ + -lbsd sqlrule() diff --git a/afssync/sync.pc b/afssync/sync.pc index ba9e540d..0ed44c88 100644 --- a/afssync/sync.pc +++ b/afssync/sync.pc @@ -79,7 +79,7 @@ char **argv; dbase_fd = open(argv[1], O_RDWR|O_CREAT|O_TRUNC, 0660); if (dbase_fd < 0) { - perror("opening file %s", argv[1]); + perror("opening data file"); exit(1); } -- 2.45.1