httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sameer <sam...@c2.net>
Subject trouble building in support/
Date Tue, 14 Oct 1997 18:17:25 GMT
	The following fixes a problem I found. However, there is yet
another problem I couldn't figure out how to fix:

{1} gabber:src/support 11:17am [234] > make
gcc  -DSTATUS  htdigest.o -o htdigest  -lcrypt
htdigest.o: Undefined symbol `_ap_signal' referenced from text segment
*** Error code 1


Index: Makefile.tmpl
===================================================================
RCS file: /export/home/cvs/apachen/src/support/Makefile.tmpl,v
retrieving revision 1.6
diff -c -u -r1.6 Makefile.tmpl
/usr/bin/diff: conflicting specifications of output style
--- Makefile.tmpl	1997/10/12 01:19:01	1.6
+++ Makefile.tmpl	1997/10/14 18:16:56
@@ -15,18 +15,18 @@
 
 all: $(TARGETS)
 
-htpasswd: htpasswd.c
-	$(CC) $(CFLAGS) htpasswd.c -o htpasswd $(LIBS)
+htpasswd: htpasswd.o
+	$(CC) $(CFLAGS) htpasswd.o -o htpasswd $(LIBS)
 
-htdigest: htdigest.c
-	$(CC) $(CFLAGS) htdigest.c -o htdigest $(LIBS)
+htdigest: htdigest.o
+	$(CC) $(CFLAGS) htdigest.o -o htdigest $(LIBS)
 
-rotatelogs: rotatelogs.c
-	$(CC) $(INCLUDES) $(CFLAGS) rotatelogs.c -o rotatelogs
+rotatelogs: rotatelogs.o
+	$(CC) $(INCLUDES) $(CFLAGS) rotatelogs.o -o rotatelogs
 
-logresolve: logresolve.c
-	$(CC) $(INCLUDES) $(CFLAGS) logresolve.c -o logresolve $(LIBS)
+logresolve: logresolve.o
+	$(CC) $(INCLUDES) $(CFLAGS) logresolve.o -o logresolve $(LIBS)
 
 clean:
-	rm -f $(TARGETS)
+	rm -f $(TARGETS) *.o
 

-- 
Sameer Parekh					Voice:   510-986-8770
President					FAX:     510-986-8777
C2Net
http://www.c2.net/				sameer@c2.net

Mime
View raw message