That's it.

I just add the line '#define HAVE_SELECT 1' in the config.h file and re-compile.
And all is working fine now.

Thanks a lot for your support.

Best regards

Nicolas Varney





Hrvoje Niksic <[EMAIL PROTECTED]> on 03/06/2004 09:53:08

To:   Nicolas Varney/Interne/[EMAIL PROTECTED]
cc:   [EMAIL PROTECTED]

Subject:  Re: -T parameter on HP-UX port



[EMAIL PROTECTED] writes:

> For the second point. I didn't compile wget myself, I use the version
published
> on HP-UX Software Porting Center (http://hpux.connect.org.uk/)
> So I get the official sources and HP-UX Software Porting Center sources and
> compile both version.
>
> Results are the same. No time out occurs.

The problem is that configure doesn't correctly detect the "select"
system call:

> configure:11676: checking for select
> configure:11726: gcc -o conftest  -O2 -Wall -Wno-implicit   conftest.c  >&5
> configure:11756: error: conflicting types for `select'
> /usr/include/sys/time.h:489: error: previous declaration of `select'
> configure:11729: $? = 1
> configure: failed program was:
[...]
> configure:11746: result: no

It seems configure's way of checking for select simply fails on HPUX.
:-(

For now, you can edit `config.h' after running configure and simply
change #undef HAVE_SELECT to #define HAVE_SELECT 1.  If the
compilation works, the timeout should work again.





Reply via email to