On Tue, 1 Feb 2005, Frank Bagehorn wrote:

> Ok, I got a bit further with my trials to compile on a PowerPC Blade with 
> SLES9.
> Until now I had a problem with an undeclared variable in compile_et.c .
> My workaround for it looks like this
> 
> --- src/comerr/compile_et.c     2005-02-01 18:53:41.082020292 +0100
> +++ src/comerr/compile_et.c     2005-02-01 18:53:18.668560000 +0100
> @@ -50,6 +50,8 @@
>  extern FILE *yyout;
>  #ifdef AFS_AIX51_ENV
>  int yylineno = 0;
> +#elif AFS_PPC_LINUX26_ENV
> +int yylineno = 0;
>  #else
>  extern int yylineno;
>  #endif
This is a flex problem.
flex needs to run with option -l for full lex compatibility, or 
%%option yylineno needs to be added to the lex source file.

> Then I ran into a problem with undeclared variables in rx_pthread.c It 
> took me a while to realize, that the AFS_PTHREAD_ENV variable was not set 
> and I set it in the parameter file.
Looks like you did not add your architecture to src/cf/osconf.m4, this is 
where all these things are set, even flex -l.

Regards,
Oliver Paukstadt

----------------------------------------------------------------------
Oliver Paukstadt                                [EMAIL PROTECTED]

          Linux without limits: http://linux.zSeries.org/
----------------------------------------------------------------------


_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to