I think I found the reason for the reported error. In the file
'pracct.c' variable 'acdata' is declared as 'struct acct'. This
structure must be in header 'acct.h', in sub-directory
'/usr/include/sys'. But it is not. In that header there are two similar
structures instead: 'struct acctv2' and
I am trying to build the neccesary files for the stevens/rago APUE.2e book on
FreeBSD 7.0
as instructed i get the source from here: http://www.apuebook.com/src.tar.gz
unzip untar to:
/home/seamus/apue.2e
cd /home/seamus/apue.2e
amend Make.defines.freebsd as instructed so:
On Monday 14 April 2008 18:48:58 Brother Seamus wrote:
I am trying to build the neccesary files for the stevens/rago APUE.2e book
on FreeBSD 7.0
snip
I get the following error:
+
pracct.c ../lib/libapue.a
pracct.c: In function 'main':
pracct.c:31:
thanks
Date: Mon, 14 Apr 2008 16:48:58 + (GMT)
From: Brother Seamus [EMAIL PROTECTED]
Subject: advanced programming unix environment
To: freebsd-questions@freebsd.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=utf-8
I am trying to build the neccesary files for the stevens
@freebsd.org
Cc: Brother Seamus [EMAIL PROTECTED]
Sent: Monday, 14 April, 2008 7:51:05 PM
Subject: Re: advanced programming unix environment
On Monday 14 April 2008 18:48:58 Brother Seamus wrote:
I am trying to build the neccesary files for the stevens/rago APUE.2e book
on FreeBSD 7.0
snip
I get
On Monday 14 April 2008 22:02:22 Brother Seamus wrote:
Hi Mel,
Thanks for your reply - very insightful - i have beendelving into the c
library files - which is after all why i am readingthis book, though still
at the beginning 8).
On the pracct.c source file I have found it sufficient just