_______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
re: advanced programming unix environment (pracct.c:31: error: storage size of 'acdata' isn't known)
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. :-)