From: Siddiqui, Kashif

> I'm trying to install wget on my itanium 11.23 system [...]

   I assume that that's HP-UX 11.23, as in:

[EMAIL PROTECTED]> uname -a
HP-UX td176 B.11.23 U ia64 1928826293 unlimited-user license

> /usr/lib/hpux32/dld.so: Unsatisfied code symbol '__umodsi3' in load
> module '/usr/local/bin/wget'.

   And where did you get _that_ copy of wget?

> If I use the source code and run the configure script, then do a 'make
> install' I get the following error:
> [...]
>         gcc -I. -I. -O  -DHAVE_CONFIG_H
> -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\"
> -DLOCALEDIR=\"/usr/local/share/locale\" -O -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
> [...]

   Complaints about header files are often caused by a bad GCC
installation (or an OS upgrade which confuses GCC).

   I just tried building my VMS-oriented 1.10.2c kit using GCC on one of
the HP TestDrive systems, and I had some trouble ('ld: Unsatisfied
symbol "libintl_gettext" in file getopt.o'), but that's much later than
compiling "connect.c", which got only the (usual) warnings about the
pointers.  That's with:

http://antinode.org/dec/sw/wget.html
http://antinode.org/ftp/wget/wget-1_10_2c_vms/wget-1_10_2c_vms.zip 

[EMAIL PROTECTED]> gcc --version
gcc (GCC) 3.4.3
[...]

And I have no idea whether the GCC installation there is good or bad. 
(But it seems to be better than yours.)

   I also tried it using HP's C compiler ("CC=cc ./configure"):

[EMAIL PROTECTED]> cc -V
cc: HP C/aC++ B3910B A.06.12 [Aug 17 2006]

Here, the "make" ran to an apparently successful completion, but real
testing is not convenient on the TestDrive systems, so I can't say
whether it would actually work better than what you have.

[EMAIL PROTECTED]> ./src/wget -V
GNU Wget 1.10.2c built on hpux11.23.
[...]

   So, I'd suggest using HP's C compiler, or else re-installing GCC. 
After that, I'd suggest using the ITRC HP-UX forum:

http://forums1.itrc.hp.com/service/forums/familyhome.do?familyId=117

> Any idea's and assistance [...]

   That's "ideas", by the way.

------------------------------------------------------------------------

   Steven M. Schweda               [EMAIL PROTECTED]
   382 South Warwick Street        (+1) 651-699-9818
   Saint Paul  MN  55105-2547

Reply via email to