[OpenAFS] Compilation problem - openafs-1.3.8x - ppc64_linux26

Lorenzo Corradini lorenzo.corradini@it.datalogic.com
Fri, 08 Apr 2005 12:00:36 +0200


Ok. I've modified the code into "rx_prototypes.h" as you suggest and,
yes, the compilation was carried out correctly. Now, unfortunately I do
not understand the real meaning of what I did!
Please, could you spend just few more words to try to better understand
what was wrong and why, after your correction, the source code gets
compiled without that error?

Thanks,
Lorenzo.


On Thu, 2005-04-07 at 11:17 -0400, Chaskiel M Grundman wrote:
> --On Thursday, April 07, 2005 04:21:25 PM +0200 Lorenzo Corradini 
> <lorenzo.corradini@it.datalogic.com> wrote:
> 
> > rx_prototypes.h:358: error: parse error before '*' token
> 
> You know, your /usr/include/linux really shouldn't be from actual kernel 
> sources.
> 
> Changing rx_prototypes.h, line 357 to
> 
> #if defined(KERNEL) && defined(AFS_LINUX20_ENV) && (defined(CONFIG_SMP) || 
> defined(CONFIG_PREEMPT))
> 
> ought to fix it.