[OpenAFS-devel] Compile failures with ppc architecture

Derrick J Brashear shadow@dementia.org
Mon, 20 Dec 2004 15:48:22 -0500 (EST)


On Mon, 20 Dec 2004, Frank Bagehorn wrote:

> I'm adding yet another architecture to the pile of problems that I have
> with OpenAFS compiles.
> (Not that I want to, but I have to.)
>

> compile_et.o(.text+0xc5e): In function `yyerror':
> : undefined reference to `yylineno'
> compile_et.o(.text+0xc62): In function `yyerror':
> : undefined reference to `yylineno'

> yylineno is an external variable. Where is it supposed to be defined ?

i assume bison is being run as "bison -y"?

> empty declaration
> ../rx/rx_pthread.c: In function `rx_ListenerProc':
> ../rx/rx_pthread.c:258: error: `rx_thread_id_key' undeclared (first use in
> this function)
> extern void osirx_AssertMine(afs_kmutex_t * lockaddr, char *msg);
> looks perfectly fine to me.

except some file probably uses a macro to redefine it.

> Why is rx_thread_id_key undeclared ? Where should it come from ?

rx.c, i think.