Bug 135 - Build failure while importing sudoku testing project
Summary: Build failure while importing sudoku testing project
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 0.9
Hardware: x86 Multiple
: Medium major
Target Milestone: 0.9 M3
Assignee: Nitin Kamble
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2010-07-21 01:32 UTC by liping Ke
Modified: 2010-12-21 06:09 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified: Program Management
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description liping Ke 2010-07-21 01:32:57 UTC
after extract meta-sdk toolchain, and manually copy i586-poky-linux folders to i586-pokysdk-linux under /opt/poky, I can source environment-setup-i586-poky-linux and then build the project successfully (./configure, build, make install).

But, if import it in anjuta, build failure.

This is a c++ project.

It needs further investigation and bug fixing.
Comment 1 liping Ke 2010-07-21 01:58:54 UTC
After investigation, this bug is not caused by anjuta SDK itself.
In environment-setup-i586-poky-linux, it did not override C++ compiler  CXX=...
After pointing correct c++ compiler to i586-poky-linux-g++, compile on command line will have the same issues, many c++ standard lib are not found.
So I re-assign the bug to Core OS component.

Three things need to be fixed/investigated
1) environment-setup-i586-poky-linux need to override c++ compiler settings
2) environment-setup-i586-poky-linux need to point both i586-poky-linux and i586-pokysdk-linux for finding all including dev-libs.
3) Seems many c++ libs such as cstdlib, ctime, iostreams are not included.
Comment 2 Saul Wold 2010-07-27 18:34:50 UTC
Liping,

Does this issue still occur with Poky master at this time?
Comment 3 liping Ke 2010-07-27 18:48:25 UTC
This problem is now fixed. 
Thanks a lot!
criping
Comment 4 liping Ke 2010-09-01 00:32:01 UTC
Hi, saul

This problem has been fixed in M2 already. It could be marked as "verified" and closed.

Thanks& Regards,
criping