Hi,

I'm trying to compile AOLserver 3.3oacs1 and 3.4.2+aD patches on HP-UX.
Here's my uname:
HP-UX HPUX-04 B.11.00 U 9000/800 unknown unknown HP-UX

The error is in the tcl8.3.2 compile:

gcc -pipe -c -I../../include -I../include -D_REENTRANT=1 -DNDEBUG=1 -g
-fPIC -Wall -Wno-unused -mpa-risc-1-0 -D__hp10=1 -DHAVE_PTHREAD_D4=1
-DUSE_DLSHL=1 -DNEED_HERRNO=1 -DUSE_TCL8X -Dfork=ns_fork
-Dreaddir=ns_readdir -Dgmtime=ns_gmtime -Dsignal=ns_signal
-Dlocaltime=ns_localtime -Wall -Wconversion -Wno-implicit-int -fPIC
-I./../generic -I. -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTCL_THREADS=1
-DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1
-DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1
-DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
-DHAVE_TZNAME=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1
-DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -DHAVE_SIGNED_CHAR=1
-DHAVE_SYS_IOCTL_H=1 -DSTATIC_BUILD=1         -DTCL_SHLIB_EXT=\".sl\"
-DUSE_TCLALLOC=0 ./../generic/nsthreads.c
In file included from ../generic/nsthreads.c:50:
../../include/nsthread.h:390: conflicting types for `ns_signal'
/usr/include/sys/signal.h:152: previous declaration of `ns_signal'

The relevant lines in the 3 referenced files:
/usr/include/sys/signal.h:152:
      extern void (*signal(int, void (*) (__harg)))(__harg);
../../include/nsthread.h:390:
NS_EXTERN int ns_signal(int sig, void (*proc)(int));
../generic/nsthreads.c:50:
#include "nsthread.h"


Has anyone experienced these problems before?


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to