www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregory Shapiro <gshap...@wpi.edu>
Subject general/1252: Can't compile support/htdigest
Date Sun, 19 Oct 1997 01:48:27 GMT

>Number:         1252
>Category:       general
>Synopsis:       Can't compile support/htdigest
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sat Oct 18 18:50:01 PDT 1997
>Originator:     gshapiro@wpi.edu
>Release:        1.3b2
SunOS monkeyboy.sendmail.org 5.6 Generic sun4m sparc SUNW,SPARCstation-5
Compiling htpasswd.c gets:

gcc -O2 -DSOLARIS2=260 -DSTATUS -I/usr/local/lib htdigest.c -o htdigest -lsocket -lnsl -lpthread
In file included from ../main/md5c.c:88,
                 from htdigest.c:20:
../main/conf.h:62: os.h: No such file or directory

The Makefile in the directory can be modified to include -I../os/unix but then 
there is a new problem:

gcc -O2 -DSOLARIS2=260 -DSTATUS -I/usr/local/lib  -I../os/unix -I../main   htdigest.c -o htdigest
 -lsocket -lnsl -lpthread -ldb
/var/tmp/cc0nF3sg1.o: In function `main':
/var/tmp/cc0nF3sg1.o(.text+0x11c8): undefined reference to `ap_signal'

You might be able to only redefine signal() if compiling the server and not
the support programs.

View raw message