Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Feb 2012 00:51:57 -0400
From:      Danilo Almeida <sengflex@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   re: advanced programming unix environment (pracct.c:31: error: storage size of 'acdata' isn't known)
Message-ID:  <4F4322ED.1040604@gmail.com>

next in thread | raw e-mail | index | archive | help
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 'struct acctv1'. Thus, 
'pracct.c' is outdated. The question is which of the two structures 
replaces the 'struct acct' above. Forgive for my English. I am using 
google translator. My native language is Portuguese. :-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F4322ED.1040604>