AnsweredAssumed Answered

C++ compiler problems on b4860 target

Question asked by Chandra Mills on Aug 11, 2016
Latest reply on Aug 15, 2016 by Chandra Mills

I am using the SDK 1.8 and build an image.  I include dev-pkgs and tools-dev in the Yocto build image.  I try to compile and a *.cc file and I get the following error:

 

make[2]: Warning: File `lib/CMakeFiles/gnuradio-l3mod.dir/flags.make' has modification time 3.9e+0

2 s in the future                                                                                

Scanning dependencies of target gnuradio-l3mod                                                   

make[2]: warning:  Clock skew detected.  Your build may be incomplete.                           

make[2]: Warning: File `lib/CMakeFiles/gnuradio-l3mod.dir/flags.make' has modification time 3.9e+0

2 s in the future                                                                                

[ 16%] Building CXX object lib/CMakeFiles/gnuradio-l3mod.dir/l3_impl.cc.o                        

In file included from /usr/include/boost/config.hpp:40:0,                                        

                 from /usr/include/boost/smart_ptr/shared_ptr.hpp:17,                            

                 from /usr/include/boost/shared_ptr.hpp:17,                                      

                 from /usr/include/gnuradio/types.h:27,                                          

                 from /usr/include/gnuradio/runtime_types.h:27,                                  

                 from /usr/include/gnuradio/io_signature.h:27,                                   

                 from /home/root/gr-l3mod/lib/l3_impl.cc:25:                                     

/usr/include/boost/config/select_stdlib_config.hpp:18:21: fatal error: cstddef: No such file or di

rectory                                                                                          

#  include <cstddef>                                                                            

                     ^                                                                           

compilation terminated.                                                                          

make[2]: *** [lib/CMakeFiles/gnuradio-l3mod.dir/l3_impl.cc.o] Error 1                            

make[1]: *** [lib/CMakeFiles/gnuradio-l3mod.dir/all] Error 2                                     

make: *** [all] Error 2                                                                          

root@b4860:~/gr-l3mod/build#

 

 

I looks like the standard include path for the compiler is not being set right.  How can I fix this?

C-

Outcomes