*BSD News Article 41662


Return to BSD News archive

Newsgroups: comp.os.386bsd.apps
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!serval.net.wsu.edu!netnews.nwnet.net!oracle.pnl.gov!osi-east2.es.net!lll-winken.llnl.gov!sol.ctr.columbia.edu!howland.reston.ans.net!spool.mu.edu!caen!malgudi.oar.net!kira.cc.uakron.edu!news.csuohio.edu!stratlif
From: stratlif@cis.csuohio.edu (steven ratliff)
Subject: Re: Problems compiling rxvt 2.09
Message-ID: <1995Jan25.003859.12971@news.csuohio.edu>
Sender: news@news.csuohio.edu (USENET News System)
Organization: Cleveland State University
X-Newsreader: TIN [version 1.2 PL2]
References: <3fsri9$fi@taz.ramp.com>
Date: Wed, 25 Jan 1995 00:38:59 GMT
Lines: 30

Tim Rightnour (garbled@ramp.com) wrote:
: Im running Netbsd 1.0 and X 3.1
[del]
: command.c: In function `run_command':
: command.c:376: too few arguments to function `setpgrp'
: command.c:378: too few arguments to function `setpgrp'
: command.c:388: `TCGETS' undeclared (first use this function)
: command.c:388: (Each undeclared identifier is reported only once
: command.c:388: for each function it appears in.)
: command.c:456: `TCSETS' undeclared (first use this function)
: *** Error code 1
:  

: My question is:  A) how do you fix this
: 		 b) WHAT is this.. I see it alot

Well it looks like BSD support is broken again.  You could try reverting to an
earlier version.  Version 1.8x should compile without problems and maybe later
versions might still work.

The setpgrp problem is a SYSV-ism.
HPUX 9.0 	pid_t setpgrp(void)
BSD		pid_t setpgrp(int pid, int pgrp)

The meaning is a little different as well.  Read the man pages.
As for TCGETS and TCSETS, I beleive (from mucking about 8 mos ago) that these
are either TIOC{G,S}ETS or TIOC{G,S}ETA under BSD.  If I was at my home machine
I'd check for sure.

Steve