In message <[EMAIL PROTECTED]> you wrote:
> 
> I did say that.  Simply making the global variable not static caused it to 
> fail.

Ummm... I guess there must be more than one variable in U-Boot, as
there are several source files and several board configurations.

Also, there are several tool chains being used.

You provide NONE of that *essential* information.

> Works:
> 
> static struct __attribute__ ((__packed__)) eeprom {
> 
> Doesn't work:
> 
> struct __attribute__ ((__packed__)) eeprom {
> 
> Everything else is the same.

What is "same"? Which source file is this? Which line?  Which  board?
Which compiler from which distro? Which binutils?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
It is undignified for a woman to play servant to a man who is not
hers.
        -- Spock, "Amok Time", stardate 3372.7

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
U-Boot-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to