htdig (3)


Guy Houlsby (guy.houlsby@eng.ox.ac.uk)
Tue, 8 Sep 1998 14:41:15 +0100


Andrew -
After some digging I realised I was working on a slightly out-of-date version of
htdig. After picking up the latest version I still encounter problems at about
the same point in make:

cc -c -I. -I. -I./../libsystas -g -DSTDC_HEADERS=1 -I. rxnfa.c
cc -c -I. -I. -I./../libsystas -g -DSTDC_HEADERS=1 -I. rxnode.c
"rxnode.c", line 48: warning: assignment type mismatch:
        pointer to uchar "=" pointer to char
"rxnode.c", line 91: warning: assignment type mismatch:
        pointer to uchar "=" pointer to char
"rxnode.c", line 123: warning: assignment type mismatch:
        pointer to uchar "=" pointer to char
"rxnode.c", line 167: warning: assignment type mismatch:
        pointer to char "=" pointer to uchar
cc -c -I. -I. -I./../libsystas -g -DSTDC_HEADERS=1 -I. rxposix.c
"rxposix.c", line 239: warning: argument #7 is incompatible with prototype:
        prototype: pointer to const uchar : "./rxbasic.h", line 43
        argument : pointer to const char
"rxposix.c", line 326: warning: argument #2 is incompatible with prototype:
        prototype: pointer to const uchar : "./rxanal.h", line 60
        argument : pointer to const char
cc -c -I. -I. -I./../libsystas -g -DSTDC_HEADERS=1 -I. rxsimp.c
cc -c -I. -I. -I./../libsystas -g -DSTDC_HEADERS=1 -I. rxspencer.c
cc -c -I. -I. -I./../libsystas -g -DSTDC_HEADERS=1 -I. rxstr.c
cc -c -I. -I. -I./../libsystas -g -DSTDC_HEADERS=1 -I. rxsuper.c
cc -c -I. -I. -I./../libsystas -g -DSTDC_HEADERS=1 -I. rxunfa.c
rm -f librx.a
ar rc librx.a hashrexp.o rx.o rxanal.o rxbasic.o rxbitset.o rxcset.o rxdbug.o rxgnucomp.o rxhash.o rxnfa.o rxnode.o rxposix.o rxsimp.o rxspencer.o rxstr.o rxsuper.o rxunfa.o
ranlib librx.a
/opt/SUNWspro/bin/CC -c -g -ggdb -O2 -DDEFAULT_CONFIG_FILE=\"/usr/local/etc/htdig/conf/htdig.conf\" -I../htlib -I../htcommon -I../include -I../db-2.4.14/build.unix -I../rx-1.5/rx Configuration.cc
CC: Warning: Option -ggdb passed to ld, if ld is invoked, ignored otherwise
/opt/SUNWspro/bin/CC -c -g -ggdb -O2 -DDEFAULT_CONFIG_FILE=\"/usr/local/etc/htdig/conf/htdig.conf\" -I../htlib -I../htcommon -I../include -I../db-2.4.14/build.unix -I../rx-1.5/rx Connection.cc
CC: Warning: Option -ggdb passed to ld, if ld is invoked, ignored otherwise
"Connection.cc", line 82: Error: Formal argument 3 of type int* in call to getpeername(int, sockaddr*, int*) is being passed unsigned*.
"Connection.cc", line 295: Error: Formal argument 3 of type int* in call to getsockname(int, sockaddr*, int*) is being passed unsigned*.
"Connection.cc", line 321: Error: Formal argument 3 of type int* in call to accept(int, sockaddr*, int*) is being passed unsigned*.
"Connection.cc", line 333: Error: Formal argument 3 of type int* in call to getpeername(int, sockaddr*, int*) is being passed unsigned*.
"Connection.cc", line 374: Warning: buffer hides io::buffer.
"Connection.cc", line 392: Warning: buffer hides io::buffer.
"Connection.cc", line 414: Warning: buffer hides io::buffer.
"Connection.cc", line 434: Error: Formal argument 3 of type int* in call to getpeername(int, sockaddr*, int*) is being passed unsigned*.
"Connection.cc", line 455: Warning: peer hides Connection::peer.
"Connection.cc", line 458: Error: Formal argument 3 of type int* in call to getpeername(int, sockaddr*, int*) is being passed unsigned*.
"Connection.cc", line 475: Error: The function gethostname must have a prototype.
7 Error(s) and 4 Warning(s) detected.
*** Error code 7
make: Fatal error: Command failed for target `Connection.o'
Current working directory /usr/local/etc/htdig/htdig-3.1.0b1/htlib
*** Error code 1
make: Fatal error: Command failed for target `all'



This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:27:42 PST