Dear Mauro,

  I have compiled the source and the following error is prompted during running 
"make install". But seems there is no error during running configure.

# make install
        cd src && make CC='gcc' CPPFLAGS='' DEFS='-DHAVE_CONFIG_H 
-DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\" 
-DLOCALEDIR=\"/usr/local/share/locale\"'  CFLAGS='-O2 -Wall -Wno-implicit' 
LDFLAGS='' LIBS='-lssl -lcrypto -ldl -ldl '  prefix='/usr/local' 
exec_prefix='/usr/local' bindir='/usr/local/bin'  infodir='/usr/local/info' 
mandir='/usr/local/man' manext='1' install.bin
        gcc -I. -I.    -DHAVE_CONFIG_H 
-DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\" 
-DLOCALEDIR=\"/usr/local/share/locale\" -O2 -Wall -Wno-implicit -c connect.c
In file included from connect.c:41:
/usr/include/sys/socket.h:535: error: static declaration of 'sendfile' follows 
non-static declaration
/usr/include/sys/socket.h:506: error: previous declaration of 'sendfile' was 
here
/usr/include/sys/socket.h:536: error: static declaration of 'sendpath' follows 
non-static declaration
/usr/include/sys/socket.h:508: error: previous declaration of 'sendpath' was 
here
connect.c: In function 'bind_local':
connect.c:457: warning: passing argument 3 of 'getsockname' from incompatible 
pointer type
connect.c: In function 'accept_connection':
connect.c:507: warning: passing argument 3 of 'accept' from incompatible 
pointer type
connect.c: In function 'socket_ip_address':
connect.c:528: warning: passing argument 3 of 'getsockname' from incompatible 
pointer type
connect.c:530: warning: passing argument 3 of 'getpeername' from incompatible 
pointer type
*** Error exit code 1

Stop.
*** Error exit code 1

Stop. 


Regards,
Ting

-----Original Message-----
From: Mauro Tortonesi [mailto:[EMAIL PROTECTED] 
Sent: 04 January 2007 00:40
To: Chung Ting Cheng (HIT, ODT)
Cc: [EMAIL PROTECTED]
Subject: Re: wget problem

[EMAIL PROTECTED] wrote:
> Dear Mauro,
>  
>   Yes we have installed those prerequsite package but still failed. 
> We have tried the PA-RISC depot and it works although we are using 
> Itanium platform. We have tried another development machine and the 
> result is the same. So I suspect the depot information should be 
> incorrect.

hi cheng,

do you have a compiler on your machine? maybe you should just try to install 
wget from sources.

--
Aequam memento rebus in arduis servare mentem...

Mauro Tortonesi                          http://www.tortonesi.com

University of Ferrara - Dept. of Eng.    http://www.ing.unife.it
GNU Wget - HTTP/FTP file retrieval tool  http://www.gnu.org/software/wget
Deep Space 6 - IPv6 for Linux            http://www.deepspace6.net
Ferrara Linux User Group                 http://www.ferrara.linux.it



The message represents the personal views and opinion of the individual sender 
and under no circumstances represents those of Hutchison Port Holdings Limited 
("HPH") or its Group Companies. The shareholders, directors and management of 
HPH and any of its Group Companies accept no responsibility and accordingly 
shall have no liability to any party whatsoever with respect to the contents of 
this message.

This message (including any attachments) is intended only for the use of the 
addressee(s) named above. It may contain information that is PRIVILEGED and 
CONFIDENTIAL and should not be read, copied or otherwise used by any other 
person.

If you are not the intended recipient, you are hereby notified that any use, 
retention, disclosure, copying, printing, forwarding or dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please erase all copies of the message and its attachments and notify 
us immediately.
configure: configuring for GNU Wget 1.10
checking build system type... ia64-hp-hpux11.23
checking host system type... ia64-hp-hpux11.23
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... ./install-sh -c
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for AIX... no
checking for gcc option to accept ANSI C...
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by gcc... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependent libraries... file_magic 
(s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 262144
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC...
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries... 
yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... hpux11.23 dld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... 
yes
checking for g++ option to produce PIC...
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... 
yes
checking dynamic linker characteristics... hpux11.23 dld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
appending configuration tag "F77" to libtool
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... yes
checking whether byte ordering is bigendian... yes
checking for function prototypes... yes
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/utime.h usability... no
checking sys/utime.h presence... no
checking for sys/utime.h... no
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for off_t... yes
checking size of off_t... 8
checking for size_t... yes
checking for pid_t... yes
checking for uint32_t... yes
checking return type of signal handlers... void
checking for sig_atomic_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... no
checking for _LARGEFILE_SOURCE value needed for large files... 1
checking for fseeko... yes
checking for strdup... yes
checking for strstr... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strpbrk... yes
checking for memmove... yes
checking for gettimeofday... yes
checking for mktime... yes
checking for strptime... yes
checking for strerror... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for usleep... yes
checking for select... yes
checking for ftello... yes
checking for sigblock... yes
checking for sigsetjmp... yes
checking for signal... yes
checking for symlink... yes
checking for access... yes
checking for isatty... yes
checking for struct utimbuf... yes
checking for socklen_t... socklen_t
checking for working fnmatch.h... yes
checking for nanosleep... yes
checking for clock_gettime... yes
checking for gethostbyname... yes
checking for inet_ntoa... yes
checking for socket in -lsocket... no
checking for getopt_long... no
checking for dlopen in -ldl... yes
checking for shl_load in -ldl... yes
configure: looking for SSL libraries in system-default
checking for includes... found
checking for RSA_new in -lcrypto... yes
checking for SSL_new in -lssl... yes
checking whether SSL libs are resolved at runtime... yes
configure: compiling in support for SSL in system-default
checking for md5_calc in -lmd5... no
configure: using the OpenSSL MD5 implementation
checking for getaddrinfo... yes
checking for INET6 protocol support... yes
checking for struct sockaddr_in6... no
configure: Disabling IPv6 support: your system does not support `struct 
sockaddr_in6'
checking whether NLS is requested... yes
configure: language catalogs: bg ca cs da de el en_GB eo es et eu fi fr ga gl 
he hr hu it ja nl no pl pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_TW
checking for msgfmt... /opt/gnome/bin/msgfmt
checking for xgettext... /opt/gnome/bin/xgettext
checking for gmsgfmt... /opt/gnome/bin/msgfmt
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for gettext in -lintl... no
checking for gettext... no
gettext not found; disabling NLS
checking for makeinfo... no
checking for perl5... no
checking for perl... /usr/bin/perl
checking for pod2man... /opt/perl/bin/pod2man
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating util/Makefile
config.status: creating po/Makefile.in
config.status: creating windows/Makefile
config.status: creating stamp-h
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing default commands
generating po/POTFILES from ./po/POTFILES.in
creating po/Makefile

Reply via email to