[OE-core] boost 1.54 compile fail

Yi Qingliang niqingliang2003 at gmail.com
Thu Jul 11 07:53:27 UTC 2013


On Thursday, July 11, 2013 09:30:30 AM Martin Jansa wrote:
> On Thu, Jul 11, 2013 at 09:54:28AM +0800, Yi Qingliang wrote:
> > maybe it is the gcc's fault (recently it is updated to 4.8.x in poky)
> > 
> > I can found uintptr_t in cstdint, but it is wrapped by a c99 related
> > macro.
> 
> See
> http://lists.openembedded.org/pipermail/openembedded-devel/2013-July/091331.
> html https://lists.yoctoproject.org/pipermail/yocto/2013-July/017159.html
> threads

thanks! I have checked that, but the answer is not obvious,
what is the reason? gcc ? eglibc ? or boost ?

> 
> > On Wednesday, July 10, 2013 04:21:02 PM Yi Qingliang wrote:
> > > Hello!
> > > 
> > > after update poky to latest git version, I got failure when compiling
> > > boost:
> > > 
> > > the main error is: (indeed, and too many warning!)
> > > 
> > > | ./boost/atomic/atomic.hpp:202:16: error: 'uintptr_t' was not declared
> > > | in
> > > 
> > > this scope
> > > 
> > > |  typedef atomic<uintptr_t> atomic_uintptr_t;
> > > |  
> > > |                 ^
> > > | 
> > > | ./boost/atomic/atomic.hpp:202:25: error: template argument 1 is
> > > | invalid
> > > | 
> > > |  typedef atomic<uintptr_t> atomic_uintptr_t;
> > > |  
> > > |                          ^
> > > | 
> > > | ./boost/atomic/atomic.hpp:202:43: error: invalid type in declaration
> > > | before
> > > 
> > > ';' token
> > > 
> > > |  typedef atomic<uintptr_t> atomic_uintptr_t;
> > > |  
> > > |                                            ^
> > > | 
> > > | In file included from ./boost/system/system_error.hpp:14:0,
> > > | 
> > > |                  from ./boost/thread/exceptions.hpp:22,
> > > |                  from ./boost/thread/pthread/thread_data.hpp:10,
> > > |                  from ./boost/thread/thread_only.hpp:17,
> > > |                  from libs/thread/src/pthread/thread.cpp:11:
-- 
Nanjing Jilong
Yi Qingliang
niqingliang2003 at gmail.com



More information about the Openembedded-core mailing list