🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Barry Cornelius Thu, 09 Dec 1993 16:52
TIN: How to install for SunOS 5.2 (Solaris 2.2)?
#6883
Author: Barry Cornelius
Date: Thu, 09 Dec 1993 16:52
44 lines
3400 bytes
I am trying to compile tin v1.22 for SunOS 5.2 (part of Solaris 2.2).
Is this possible?

I used "make sysvr4".  The compilation stage gave the following warnings:

: "active.c", line 615: warning: argument is incompatible with prototype: arg #4
: "active.c", line 616: warning: argument is incompatible with prototype: arg #4
: "amiga.c", line 376: warning: syntax error:  empty declaration
: "art.c", line 1654: warning: statement not reached
: "hashstr.c", line 52: warning: semantics of "%" change in ANSI C; use explicit cast
: "inews.c", line 195: warning: semantics of ">" change in ANSI C; use explicit cast
: "misc.c", line 1199: warning: semantics of ">=" change in ANSI C; use explicit cast
: "misc.c", line 1320: warning: semantics of ">=" change in ANSI C; use explicit cast
: "misc.c", line 1433: warning: semantics of ">=" change in ANSI C; use explicit cast
: "nntplib.c", line 740: warning: semantics of ">" change in ANSI C; use explicit cast
: "open.c", line 788: warning: argument is incompatible with prototype: arg #4
: "rcfile.c", line 1040: warning: semantics of "<" change in ANSI C; use explicit cast
: "rcfile.c", line 1058: warning: semantics of "<" change in ANSI C; use explicit cast

However, it failed to link:

: Linking tin v1.22...
: cc  -o tin active.o amiga.o art.o curses.o debug.o envarg.o feed.o getline.o  group.o hashstr.o help.o inews.o init.o kill.o lang.o mail.o  main.o memory.o misc.o newsrc.o nntplib.o open.o os_2.o page.o  parsdate.o post.o prompt.o rcfile.o save.o screen
.o search.o  select.o sigfile.o signal.o spooldir.o strftime.o thread.o  wildmat.o win32.o xref.o   -lcurses -ltermcap 
: Undefined                       first referenced
:  symbol                             in file
: inet_addr                           nntplib.o
: socket                              nntplib.o
: gethostbyname                       nntplib.o
: inet_ntoa                           nntplib.o
: getservbyname                       nntplib.o
: connect                             nntplib.o
: ld: fatal: Symbol referencing errors. No output written to tin
: *** Error code 1
: make: Fatal error: Command failed for target `linkit'
: Current working directory /tmp_mnt/home/jeeves/package/nntp/tin-1.22
: *** Error code 1
: make: Fatal error: Command failed for target `sysvr4'

--
Barry Cornelius                            Durham (091 or +44 91) 374 4717
Information Technology Service,                IT Service Office: 374 2892
University of Durham, Durham.                                Fax: 374 3741
DH1 3LE, UK                           E-mail: Barry.Cornelius@durham.ac.uk
Re: TIN: How to install for SunOS 5.2 (Solaris 2.2)?
#6889
Author: Iain Lea
Date: Fri, 10 Dec 1993 08:11
17 lines
1400 bytes
Barry Cornelius (Barry.Cornelius@durham.ac.uk) wrote:
:
: I am trying to compile tin v1.22 for SunOS 5.2 (part of Solaris 2.2).
: Is this possible?
: However, it failed to link:
: : Undefined                       first referenced
: :  symbol                             in file
: : inet_addr                           nntplib.o
: : socket                              nntplib.o
: : gethostbyname                       nntplib.o
: : inet_ntoa                           nntplib.o

Add -l<name of the solaris networking lib>

-- 
iain.lea@erlm.siemens.de  +49-9131-7-43402
 'Raus aus dem Alltag, rein in die Kiste'
Re: TIN: How to install for SunOS 5.2 (Solaris 2.2)?
#6893
Author: Barry Cornelius
Date: Fri, 10 Dec 1993 16:35
15 lines
1533 bytes
Iain Lea (iain.lea@anl433.erlm.siemens.de) wrote:
: Barry Cornelius (Barry.Cornelius@durham.ac.uk) wrote:
: : I am trying to compile tin v1.22 for SunOS 5.2 (part of Solaris 2.2).
: : Is this possible?
: : However, it failed to link:
: Add -l<name of the solaris networking lib>

Earlier this morning I found that setting LFLAGS to "-lsocket -lnsl" and
using "make svsvr4" did the trick.  Thanks for your comments.

--
Barry Cornelius                            Durham (091 or +44 91) 374 4717
Information Technology Service,                IT Service Office: 374 2892
University of Durham, Durham.                                Fax: 374 3741
DH1 3LE, UK                           E-mail: Barry.Cornelius@durham.ac.uk
Re: TIN: How to install for SunOS 5.2 (Solaris 2.2)?
#7015
Author: Alan Thew
Date: Sat, 18 Dec 1993 14:18
16 lines
1465 bytes
On 10 Dec 1993 16:35:31 GMT , Barry Cornelius (Barry.Cornelius@durham.ac.uk) wrote:
: Iain Lea (iain.lea@anl433.erlm.siemens.de) wrote:
: : Barry Cornelius (Barry.Cornelius@durham.ac.uk) wrote:
: : : I am trying to compile tin v1.22 for SunOS 5.2 (part of Solaris 2.2).
: : : Is this possible?
: : : However, it failed to link:
: : Add -l<name of the solaris networking lib>

: Earlier this morning I found that setting LFLAGS to "-lsocket -lnsl" and
: using "make svsvr4" did the trick.  Thanks for your comments.

Alternatively, if you have the compatability stuff, the SunOS 4.1.x binary
should work correctly.
-- 
Alan Thew
alan.thew@liverpool.ac.uk   ...!uknet!liv!alan.thew   +44 51 794 3735
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads