🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #6760

Re: building tin on HP

#6760
From: Richard Lloyd
Date: Thu, 02 Dec 1993 13:45
33 lines
2402 bytes
In article <klevemmc.156.0013F4B3@miner.usbm.gov>, klevemmc@miner.usbm.gov (Matt Klevemann) writes:
> I'm trying to tin build on an HP 9000/827 running HP-UX  A.09.00.  It keeps 
> trying to use "poll", but the linker cannot resolve it.

On an HP 9000/720 running HP-UX 9.01, the code for poll() is in /lib/libc.a
(or /lib/libc.sl), so is included during a normal link. The man page, however,
says that poll is for "Series 300,400 and 700 only", so it appears that poll()
may not be available on a Series 800 machine <break here while he checks a
Series 800 machine> Yep, "man poll" or "nm /lib/libc.a | grep poll" return
nothing on a Series 800 machine.

Your solution might be to tweak the code around line 237 of config.h to avoid
poll() and use select() instead. How about:

 #if defined(__hp9000s700) || !defined(__hp9000s800)
 #if defined(SVR4) || defined(HAVE_POLL)
 ...
 #endif
 #endif

> Any Ideas ???

The above might work, but I haven't tried it...

Archive Librarian,        Anonymous FTP: ftp.csc.liv.ac.uk (138.253.42.172)
Computer Science Dept.,   E-mail: ftp@csc.liv.ac.uk
Liverpool University,     Mail server: mail-server@csc.liv.ac.uk
Merseyside,               [For info, put "help" or "index" in message body]
England,                  Gopher server: gopher.csc.liv.ac.uk (138.253.42.174)
Great Britain.            Official Anonymous FTP mirror sites:
                          Germany: hpux.ask.uni-karlsruhe.de (129.13.200.57)
The archive has support   US:      ftp.cae.wisc.edu (144.92.4.15)
for HP-UX 8.07 and 9.01   France:  hpux.cict.fr (192.70.79.53)  *NEWEST SITE*
Technical Details
Message-ID: <CHEu8I.6v3@compsci.liverpool.ac.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!xlink.net!rz.uni-karlsruhe.de!news.uni-ulm.de!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!uknet!liv!lucs!rkl
References: <klevemmc.156.0013F4B3@miner.usbm.gov>

Show Full Headers
Complete Article Headers
Message-ID: <CHEu8I.6v3@compsci.liverpool.ac.uk>
Subject: Re: building tin on HP
Date: Thu, 2 Dec 1993 13:45:53 GMT
From: rkl@csc.liv.ac.uk (Richard Lloyd)
References: <klevemmc.156.0013F4B3@miner.usbm.gov>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!xlink.net!rz.uni-karlsruhe.de!news.uni-ulm.de!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!uknet!liv!lucs!rkl
Newsgroups: news.software.readers
Sender: news@compsci.liverpool.ac.uk (News Eater)
Nntp-Posting-User: rkl
Lines: 33
Nntp-Posting-Host: dee.csc.liv.ac.uk
Organization: Computer Science, Liverpool University