re: advanced programming unix environment (pracct.c:31: error: storage size of 'acdata' isn't known)

2012-02-21 Thread Danilo Almeida
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

advanced programming unix environment

2008-04-14 Thread Brother Seamus
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:

Re: advanced programming unix environment

2008-04-14 Thread Mel
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:

Re: advanced programming unix environment

2008-04-14 Thread Brother Seamus
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

Re: advanced programming unix environment

2008-04-14 Thread Brother Seamus
@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

Re: advanced programming unix environment

2008-04-14 Thread Mel
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