>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
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.3b2
>Environment:
SunOS monkeyboy.sendmail.org 5.6 Generic sun4m sparc SUNW,SPARCstation-5
>Description:
Compiling htpasswd.c gets:

gcc -O2 -DSOLARIS2=260 -DSTATUS -I/usr/local/lib htdigest.c -o htdigest 
-lsocket -lnsl -lpthread -ldb
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'
>How-To-Repeat:

>Fix:
You might be able to only redefine signal() if compiling the server and not
the support programs.
%0
>Audit-Trail:
>Unformatted:

Reply via email to