Subject: Re: initializer element not computable at load time
To: Tim Rightnour <root@garbled.net>
From: Matt Thomas <matt@3am-software.com>
List: port-alpha
Date: 06/14/1998 09:04:43
At 08:50 AM 6/14/98 , Tim Rightnour wrote:

>cddbd.c:192: initializer element for `acctab[0].at_def' is not computable at
>load time
>
>the code in question basicly attempts to do:
>
>int foo=(int)"string";

This is almost certainly due to foo being 32 bits and the address of
"string" being 64 bits.  So you telling the compiler to store the lower
part of address and there isn't a mechanism in ELF to do that.

If you change the ints to longs it will compile.
-- 
Matt Thomas               Internet:   matt@3am-software.com
3am Software Foundry      WWW URL:    http://www.3am-software.com/bio/matt/
Nashua, NH                Disclaimer: I disavow all knowledge of this message