*BSD News Article 27021


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!cs.utexas.edu!uunet!hearst.acc.Virginia.EDU!ruacad!rucs!bcolbert
From: bcolbert@rucs2.sunlab.cs.runet.edu (Brad Colbert)
Subject: [NetBSD] ftpd-term problem with logwtmp.c
Message-ID: <CKtnA6.3GB@rucs2.sunlab.cs.runet.edu>
Organization: Radford University
X-Newsreader: TIN [version 1.2 PL0]
Date: Sun, 6 Feb 1994 21:20:29 GMT
Lines: 26

   I was wondering if anyone out there with term has tried to compile and
   configure the ftpd for term?  I'm having a problem with the wtmp
   structure being different for Linux and NetBSD.  These are my errors...

   logwtmp.c: In function `logwtmp':
   logwtmp.c:47: structure has no member named `ut_type'
   logwtmp.c:47: `USER_PROCESS' undeclared (first use this function)
   logwtmp.c:47: (Each undeclared identifier is reported only once
   logwtmp.c:47: for each function it appears in.)
   logwtmp.c:48: structure has no member named `ut_pid'
   logwtmp.c:52: structure has no member named `ut_id'
   logwtmp.c:52: structure has no member named `ut_id'
   logwtmp.c:55: structure has no member named `ut_user'
   logwtmp.c:55: structure has no member named `ut_user'
   make: *** [logwtmp.o] Error 1

   Is the utmp structure for NetBSD crippled?  Or is it just different?  I
   checked it out and it looks pretty small.  Help, I would really like
   people to be able to FTP to my machine over a term connection.

   Brad C.
-- 
-| bcolbert@rucs2.sunlab.cs.runet.edu |------------------------------------
| Where you come from is gone, where you thought you where going to never |
| was there, and where you are is no good unless you can get away from it.|
| Where is there a place for you to be?       No place.                   |