Re: Bug#669307: pcp: FTBFS[kfreebsd]: error: dereferencing pointer to incomplete type
Thanks for reporting the (new) build problem (again), Christoph!
> freebsd.c: In function 'kmemread_init':
> freebsd.c:425:10: warning: variable 'sts' set but not used [-Wunused-but-set-variable]
> freebsd.c: In function 'freebsd_fetchCallBack':
> freebsd.c:522:35: error: dereferencing pointer to incomplete type
> freebsd.c:522:50: error: dereferencing pointer to incomplete type
> freebsd.c:512:13: warning: variable 'i' set but not used [-Wunused-but-set-variable]
> make: *** [freebsd.o] Error 1
> make: *** [default_pcp] Error 2
This package recently acquired some FreeBSD-specific code. I have
access to a FreeBSD 8.2
machine, where the code compiles, but on Debian FreeBSD still no joy.
I attempted to access
one of the Debian kfreebsd boxes, with no luck although I can access
other Debian machines.
Can anyone give me some pointers on how to get onto a kfreebsd box to
check the build issue?
Its either a build packaging dependency issue, or more likely somehow
the loadavg struct in
sys/resource.h is not visible... (perhaps guarded by a macro? not
clear, keen to poke around to
check though, so I can stop wasting Christophs time)