[Clfs-support] Strange cross-tools eglibc failure

Michael D Labriola mlabriol at gdeb.com
Mon Mar 24 07:51:40 PDT 2014


I'm can't seem to get past the cross-tools eglibc installtion...  I'm 
following the instructions from the 2.1.0 book, and I'm assuming I've 
misread something or typod something.  Here's what I get:

/cross-tools/include/gmp.h:324:33: error: expected declaration specifiers 
or '...' before '(' token

It looks like my cross-gcc doesn't like the __GMP_CAST macro definition in 
gmp.h?  Surely this has to be a bogus error?

My last build was using the dev book just prior to 2.1.0's release, 
mid-September timeframe.  I didn't have any problems then.  Looks like 
gmp, gcc, and eglibc have been updated slightly since then.

I'm getting this error on an AVLinux host (based off debian 6, I believe) 
and on a really ancient Red Hat box, both are 32bit operating systems 
running on 64bit capable hardware, so I specified the GMP API following 
the NOTE in the GMP section.  I don't think it's related to the host 
sytstem's compiler (at least not directly), because the failure is coming 
from the cross-gcc that I've already compiled.  I feel like I must be 
missing something silly, but I just don't see it.

The problem also happens on the 32bit portion of cross eglibc when 
building for x86_64 multilib and the also happens when building for x86_64 
pure64 or for x86.

Anyone else seen this problem?  Thanks!

-Mike


PS - I tried sending this to the dev list from home over the weekend, but 
doesn't seem to have gone through.  Sorry about the dupe if you get both.

---
Michael D Labriola
Electric Boat
mlabriol at gdeb.com
401-848-8871 (desk)
401-848-8513 (lab)
401-316-9844 (cell)


 



More information about the Clfs-support mailing list