[OpenAFS-devel] 2.6 ppc include stupidity

chas williams (contractor) chas@cmf.nrl.navy.mil
Mon, 24 May 2004 10:13:43 -0400


is most likely caused by a missing ppc_linux26 definition in
src/cf/osconf.m4.  in particular, this is caused the missing
LEX="flex -l".  configure should probably just test for this
instead of using the hardwired stuff.

In message <20040523040056.GX11346@kalmia.hozed.org>,Troy Benjegerdes writes:
>I checked out the latest openafs cvs a few minutes ago, and tried to
>build on 2.6.5 on ppc.
>
>I had to create 'parms.ppc_linux26', which I sorta expected.
>
>but then I ran into 
>
>/afs/afs_analyze.c
>In file included from ../linux/sched.h:12,
>                 from ../linux/mm.h:4,
>                 from ../linux/pagemap.h:7,
>                 from /scratch/back/tmp/openafs/src/afs/sysincludes.h:65,
>                 from /scratch/back/tmp/openafs/src/afs/afs_analyze.c:20:
>../linux/jiffies.h:16: error: parse error before "jiffies_64"
>
>
>
>jiffies.h looks like:
>
>#ifndef _LINUX_JIFFIES_H
>#define _LINUX_JIFFIES_H
>
>#include <linux/kernel.h>
>#include <linux/types.h>
>#include <linux/spinlock.h>
>#include <linux/seqlock.h>
>#include <asm/system.h>
>#include <asm/param.h>                  /* for HZ */
>
>/*
> * The 64-bit value is not volatile - you MUST NOT read it
> * without sampling the sequence number in xtime_lock.
> * get_jiffies_64() will do this for you as appropriate.
> */
>extern u64 jiffies_64;
>
>
>So, can someone please explain to me how the include stuff is supposed
>to work? I believe the system include files are what is messing things
>up. Is it possible to build libafs with -nostdinc ???
>
>
>--------------------------------------------------------------------------
>Troy Benjegerdes                'da hozer'                hozer@hozed.org  
>
>Somone asked my why I work on this free (http://www.fsf.org/philosophy/)
>software stuff and not get a real job. Charles Shultz had the best answer:
>
>"Why do musicians compose symphonies and poets write poems? They do it
>because life wouldn't have any meaning for them if they didn't. That's why
>I draw cartoons. It's my life." -- Charles Shultz
>_______________________________________________
>OpenAFS-devel mailing list
>OpenAFS-devel@openafs.org
>https://lists.openafs.org/mailman/listinfo/openafs-devel
>