From: Jason H. <Ja...@se...> - 2001-10-31 18:02:13
|
I am trying to install ht://Dig on a Sun Solaris 8 system, using the = current version of g++ and I am getting the following error message when I = do a make on the software. gcc -o db_stat db_stat.o err.o getlong.o libdb.a -lthread c++ -c -DDEFAULT_CONFIG_FILE=3D\"/var/htdig/conf/htdig.conf\" -I../htlib = -I../htcommon -I../db/dist -I../include -g -O2 Configuration.cc c++ -c -DDEFAULT_CONFIG_FILE=3D\"/var/htdig/conf/htdig.conf\" -I../htlib = -I../htcommon -I../db/dist -I../include -g -O2 Connection.cc Connection.cc: In constructor `Connection::Connection(int)': Connection.cc:67: cannot convert `int*' to `socklen_t*' for argument `3' = to=20 `int getpeername(int, sockaddr*, socklen_t*)' Connection.cc: In member function `int Connection::get_port()': Connection.cc:291: cannot convert `int*' to `socklen_t*' for argument `3' = to=20 `int getsockname(int, sockaddr*, socklen_t*)' Connection.cc: In member function `Connection* Connection::accept(int)': Connection.cc:317: cannot convert `int*' to `socklen_t*' for argument `3' = to=20 `int accept(int, sockaddr*, socklen_t*)' Connection.cc:329: cannot convert `int*' to `socklen_t*' for argument `3' = to=20 `int getpeername(int, sockaddr*, socklen_t*)' Connection.cc: In member function `char* Connection::get_peername()': Connection.cc:450: cannot convert `int*' to `socklen_t*' for argument `3' = to=20 `int getpeername(int, sockaddr*, socklen_t*)' Connection.cc: In member function `char* Connection::get_peerip()': Connection.cc:474: cannot convert `int*' to `socklen_t*' for argument `3' = to=20 `int getpeername(int, sockaddr*, socklen_t*)' *** Error code 1 make: Fatal error: Command failed for target `Connection.o' Current working directory /usrhome/jason/temp/install/htdig-3.1.5/htlib *** Error code 1 make: Fatal error: Command failed for target `all' Please help. Jason |