Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2008 20:51:05 +0200
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Cc:        Brother Seamus <brother_seamus@btinternet.com>
Subject:   Re: advanced programming unix environment
Message-ID:  <200804142051.06189.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <774348.47840.qm@web86514.mail.ird.yahoo.com>
References:  <774348.47840.qm@web86514.mail.ird.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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: error: storage size of 'acdata' isn't known
> pracct.c:31: warning: unused variable 'acdata'

The legacy struct acct has been renamed to acctv1 and a new one is named 
acctv2.
If you add:
typedef struct acctv1 acct_t;
After the #include <sys/acct.h>

then change the type of acdata to 'acct_t', you'll probably have solved it. 
But depends a bit on the rest of the library.


-- 
Mel

Problem with today's modular software: they start with the modules
    and never get to the software part.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804142051.06189.fbsd.questions>