[links-list] HP-UX problem: links not working

Anton J. Gamel gamel at anna.anatomie.uni-freiburg.de
Fri Sep 28 14:53:38 PDT 2001

Hi all!

I Just subscibed to the list and found these mails in the archive

> From:  Ansamaa Jarkko <Jarkko.Ansamaa at c...>                                
> Date:  Fri Sep 28, 2001  11:26 am                                       
> Subject:  [links-list] HP-UX problem: links not working             
> ... I have a problem originally reported in message:
> From:  "M. Lavasani" <lavasani at c...>                                         
> Date:  Mon Mar 26, 2001  11:58 am                       

> > ... 0.96pre8 [compiled] on HP-UX ... 10.20 and 11 ...
Here I compiled links 0.96 on HP-UX 9.1 m68k HAVE_NO_SELECT_H
using gcc 2.7.3 ... 
links.h: In function `can_write':
links.h:475: warning: passing arg 3 of `select' from incompatible pointer type
links.h: In function `can_read':
links.h:484: warning: passing arg 2 of `select' from incompatible pointer type

Compilation with cc produces _empty_(!!) .o - files, resulting in
an undefined external _main 

gcc-built binaries cause the same errors as described:
> > ... program starts but hangs immediately ... it created socket
> > under ~/.links/ directory.
> > ... debug prints ... second select_loop blocks.
Chars entered to the empty screen are taken to the command
line after the process is killed.

> > ... other links with the same userid ... are working normally.  I can
> > see from the debug messages from the first links (the hung one) that
> > select_loop is looping when there are new links instances launched.

> > If I start links with "./links -no-connect" it will always hang up, no
> > matter how many instances there are running or hung. When I kill the first
> > hung one, all links instances die.
Did not find this ...

> > ... On other Unix platforms, OSF1, SunOs and AIX, there are no
> > problems.
Compiled under linux - also n.p.

> > Any ideas what is causing this?
The problem with the select and can_write can_read leads me to the
idea that there may be an inconsistency with the definition of the select
function and the fd_set type.  At the moment I am not willing to go
deeper. Allthough I think links is more comfortable, I had to switch
to w3m because I NEED cookies in some circumstances. ;-(

Yours sincerely


+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= .". + 
:        Anton J. Gamel         : <gamel at anna.anatomie.uni-freiburg.de>  V  :
:  an Apollo & a VAX for a Vet  : <gamel at ruf.uni-freiburg.de>          (,,) :

Unsubscribe: send email to links-list-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message

More information about the links-list mailing list